1092 Commits (65908e7ca34031e81f438b5ec595a8fb726dd22f)
 

Author SHA1 Message Date
Nicolas Berthier 65908e7ca3 New configure script options to enable/disable byte/native targets 9 years ago
Nicolas Berthier fb6755efb2 Bugfix in ctrl2ept: do not reset symbol table after loading type declarations 9 years ago
Nicolas Berthier 14a7b67a70 New option to force abstraction of infinite-domain state variables in ctrln export
Also add an option to silence related warnings
9 years ago
Nicolas Berthier 2d874f8070 New option to silence warnings about untranslatable constructs 9 years ago
Nicolas Berthier 74b94c9718 Fix handling of nodes without actual controllers by ctrl2ept
These changes allow to handle the case where contracts are only used
for verification purposes, in which case the functions generated by
ReaX have no outputs and are not functions stricto sensu.  Indeed, in
this case the new controller module still needs to be declared and
compiled as we may have re-qualified types during the generation of
the Controllable-Nbac code: we moved all types declared in the
original module into the controller module to break cyclic module
dependencies that would otherwise be introduced if the controller is
expressed using data of such types.
9 years ago
Gwenaël Delaval bb324eee17 Update of Makefile-distrib for heptreax manual inclusion 9 years ago
Gwenaël Delaval 0a65ffc8e2 Update of example Extern_C 9 years ago
Gwenaël Delaval 3b81368074 CHANGES for version 1.01.00 9 years ago
Gwenaël Delaval 8dbb283310 User manual for Heptagon+ReaX 9 years ago
Gwenaël Delaval 015875b279 Math module
The Math module contains mathematic functions.
9 years ago
Gwenaël Delaval f720c1844f Added example heptreax
Example heptreax, use of ReaX controller synthesis tool for verification
and controller synthesis.
9 years ago
Gwenaël Delaval d5ee87b7ed Added example Markov
Example Markov : simulation of a Markov chain.

Use of a Random module, external call to C rand() function.
9 years ago
Gwenaël Delaval 61f043856a Version 1.01.00 9 years ago
Gwenaël Delaval 9b75408f23 Bug correction in reset
"e1 fby e2" was not handled in the reset pass.
9 years ago
Gwenaël Delaval fd4dffef62 Adding tests 9 years ago
Gwenaël Delaval e0bbc838d5 Allow use of declared parameters within parameters
Allow this node :

node f<<m:int; t1: int^m>>(a:int^m) = (o:int^m)
let
o = map<<m>> (+)(a, t1);
tel
9 years ago
Gwenaël Delaval c5c5654068 Added bzreax script ; added uninstall target in Makefiles 9 years ago
Gwenaël Delaval 0d1aef8c78 Bug correction: support of enumerated types as input for simulation
- use of a buffer to translate enumerated types from string to enum value
- hepts : correct interface with main
9 years ago
Nicolas Berthier 95aa03ed21 Interface for new incremental API of menhir parsers' relies on MenhirLib 9 years ago
Gwenaël Delaval 3dfbeffeb6 Added syntax for reachability and attractivity in contracts
Contracts can now comprise a list of objectives (in any order).

One objective can be (e being a Boolean heptagon expression) :
- invariance, with the syntax "enforce e"
- reachability, "reachable e"
- attractivity, "attractive e"
10 years ago
Nicolas Berthier 177f5f9f3e Avoid exporting contract-less or parametric nodes into DCS tool formats. 10 years ago
Nicolas Berthier 307f3d8418 Controllable-Nbac import&export now support relocation of alias types.
- Controllable-Nbac export (CtrlNbacGen): correct handling of float
  expressions, as well as alias types;

- Controllable-Nbac controller importer (CtrlNbacAsEpt): Declaration
  of enumerated types and aliases that are relocated to controller
  modules is now performed based on the interface.  Dependencies
  between type aliases are also taken into account now;

- ctrl2ept tool: correct loading of pervasives module.
10 years ago
Nicolas Berthier c86d7af0b1 Introducing a hack to normalize comparison of tuples in Heptagon. 10 years ago
Nicolas Berthier 045e624f94 Bug fix with controllable-less contracts in ControllableNbac exporter. 10 years ago
Gwenaël Delaval 2a0927bd98 Bug correction in maybe_ctrln_pass 10 years ago
Nicolas Berthier cbcf8b9ac0 Using unqualified names for string representation of constructors in C backend.
+ minor modifications in various places.
10 years ago
Nicolas Berthier d4fe017864 Bug correction in names of C functions for converting constructors to string. 10 years ago
Nicolas Berthier 2d00f0a91c Fix sink state variable generation in Controllable-Nbac export. 10 years ago
Nicolas Berthier 0afdb16c57 Requalify enumeration types only when exporintg to Controllable-Nbac. 10 years ago
Nicolas Berthier 39aa0e13c1 Ugly fix for handling enumerated types when exporting to Controllable-Nbac.
To avoid cyclic module dependencies (that show up when trying to
compile, e.g, the generated C code), enumerated types declared in the
main program are now "moved" into the module containing the generated
controllers.
10 years ago
Nicolas Berthier be21bf31d8 Insertion of call to controller(s) when exporting to Controllable-Nbac node.
To enable recovery of parameter and output ordering by `ctrl2ept', the
Controllable-Nbac generation procedure now declares a new module
dedicated to the encapsulation of the controller functions yet to be
synthesized.

Handling of type declarations are probably buggy.
10 years ago
Nicolas Berthier d84ae09cab Bug fix (preprocessor variable). 10 years ago
Nicolas Berthier 8551a91a05 Fix configure script for optional compilation of `ctrl2ept'. 10 years ago
Nicolas Berthier bc17d71e3f New tool `ctrl2ept' for translating ReaX's output functions into Heptagon
Compilation of the tool is dependent on the presence of the
`reatk.ctrlNbac' library.
10 years ago
Nicolas Berthier 541dd83fca Optional compilation of Controllable-Nbac-related modules and tools. 10 years ago
Nicolas Berthier 3b27de8146 Configure script now checks for `reatk.ctrlnbac' package. 10 years ago
Nicolas Berthier 5506690de5 Merge branch 'decade' into ctrl-n 10 years ago
Nicolas Berthier 9a29c6fa4b Upgrading to new ReaTK API (>= 0.9.4). 10 years ago
Valentin Perrelle 1f2e084e6e Fixed a bug where loops were not generated for copying arrays. 10 years ago
Nicolas Berthier 99ab12aa13 Fixed warnings. 10 years ago
Nicolas Berthier c3c7a331b6 Using ReaTK's Controllable-Nbac backend library. 10 years ago
Nicolas Berthier 850e8522dd Merge branch 'decade' into ctrl-n 10 years ago
Gwenaël Delaval 478e621ac5 Handling of contracts in Mls2obc
Handling of contracts when the "z3z" target is off. Equations of contracts are
put into the node in the Mls2obc pass (done by the "z3z" code generation).
10 years ago
Gwenaël Delaval 8650ac5695 Version 1.00.06 10 years ago
Gwenaël Delaval bcba3569ed Added tests - types, constants, contracts
- ais.ept: tests inclusion of array types into structure types
- ce.ept: constant propagation
- contract.ept: contract constructs
- contract_automaton.ept: contract constructs and automata
10 years ago
Gwenaël Delaval e885f82e00 Bug correction/feature adding: abstraction within contracts
Allowing additional inputs from abstractions within contracts. Thus,
calling non-inlined subnodes is allowed, as well as operations on
non-Boolean inputs or states (in contracts).
10 years ago
Gwenaël Delaval 9c4b3f3267 Version 1.00.05 10 years ago
Gwenaël Delaval 2d96b60c49 Bug corrections in contracts
Contracts handling : added variables for assume/guarantee
parts of subnodes as defined names in b_defnames
10 years ago
Gwenaël Delaval 1a373b84eb Added some tests
Tests from image_filters
Examples of array iterators used
11 years ago
Gwenaël Delaval c61e01f19b Correct handling of comparison operators in Sigali
- bug fix: comparison between two non-constant integer expressions in Sigali
 - bug fix: correct handling of "=" and "<>" operators in Sigali
11 years ago