25 Commits (58086190eb03163873ce007fdce0441f6af0acb7)

Author SHA1 Message Date
Gwenaël Delaval 58086190eb Headers and license file for GPL
Headers for every source file (excluding examples), mentioning
authors, copyright and license (GPL)

COPYING file with GPLv3 content.
12 years ago
Gwenal Delaval bb0bc8bfe5 Added local assume/guarantee
Added local assume/guarantee in contracts.

No syntax associated to these local asume/guarantee: internal use only.
12 years ago
Adrien Guatto 946a1f8228 Inline extvalues: do not inline array literals. 13 years ago
Cédric Pasteur db5f55b221 Fixed when of stateful exp with memalloc
As the expression inside the when will be called 
on a faster rhythm, we have to make sure not to
share it with a variable on the slow clock.
We do this by creating a new equation for the 
stateful exp.
13 years ago
Léonard Gérard 646cfab82b Enforce style : no tab, no trailing whitespace. 13 years ago
Cédric Pasteur 04b8853a1d Added a new reinit operator
It has type:
reinit: t at r * t -> t at r

It can be used to put a constant value in a 
location.
13 years ago
Cédric Pasteur 81947eca40 Made linearity field not optional
This helped solve a few bugs with linear types,
for instance when using automata.
The intermediate code is not well-typed (wrt to
linear types only), after the encoding of automata.
13 years ago
Gwenaël Delaval c57b71b6aa Merge branch 'bzr' into decade
- Added Boolean module (enum types to boolean vectors)
- Added Hept_clocking analysis, called before Boolean
- Added z3z target from minils (sigali format)
- Bug corrections in Normalize, Normalize_mem

Conflicts:
	compiler/heptagon/analysis/typing.ml
	compiler/heptagon/heptagon.ml
	compiler/heptagon/parsing/hept_parser.mly
	compiler/heptagon/parsing/hept_parsetree.ml
	compiler/heptagon/parsing/hept_scoping.ml
	compiler/main/hept2mls.ml
	compiler/main/heptc.ml
	compiler/main/mls2seq.ml
	compiler/minils/minils.ml
	compiler/minils/transformations/normalize_mem.ml
	test/check
13 years ago
Gwenal Delaval 2c4be9d42c Correct scoping and typing with contracts 13 years ago
Cédric Pasteur 7d95b95ed7 Merge branch 'memalloc' into decade
Conflicts:
	compiler/global/signature.ml
	compiler/heptagon/analysis/typing.ml
	compiler/heptagon/hept_printer.ml
	compiler/heptagon/hept_utils.ml
	compiler/heptagon/heptagon.ml
	compiler/heptagon/parsing/hept_parser.mly
	compiler/heptagon/parsing/hept_parsetree.ml
	compiler/heptagon/parsing/hept_scoping.ml
	compiler/heptagon/transformations/switch.ml
	compiler/main/hept2mls.ml
	compiler/minils/minils.ml
	compiler/minils/mls_printer.ml
	compiler/obc/c/cgen.ml
	compiler/obc/control.ml
	compiler/utilities/misc.mli
13 years ago
Léonard Gérard 2a2b363bf7 Real asynchronous resets. 13 years ago
Leonard Gerard 88497a2da3 parsing clocks. 13 years ago
Cédric Pasteur 2b2cba8e2d Added split operator 13 years ago
Cédric Pasteur aae38a7844 Use idents for Emerge in Heptagon 13 years ago
Léonard Gérard 9fa8e7e6ff mk_equation in hept computes the stateful field. 13 years ago
Cédric Pasteur 073ccc2603 Better handling of static arrays 13 years ago
Cédric Pasteur 3c8fc39745 Fix C backend with new obc ast 13 years ago
Cédric Pasteur 028dfe0468 Fix for nested if and merge with tuples 13 years ago
Cédric Pasteur 03f0d5d89a Fixed stupid bug #1 13 years ago
Cédric Pasteur c6aa63b444 Heptc compiles again
AFor now expects expressions instead of static exps
13 years ago
Cédric Pasteur c6991977a0 Missing case in normalize
Distribute also static tuples
13 years ago
Cédric Pasteur d2c4f09aa2 Indentation fixes + remove unnecessary code 13 years ago
Cédric Pasteur 6adb45c3ad Normalize in Heptagon compiles 13 years ago
Cédric Pasteur 611c94bbbd Itfusion moved to heptagon 13 years ago
Cédric Pasteur cbf92beba2 First try at a normalization in Heptagon
I can't see if it compiles yet
13 years ago