- Oct 08, 2018
-
-
Erwan Jahier authored
-
- Jul 03, 2018
-
-
Erwan Jahier authored
nb: i should really add 'make test' in the git commit hooks!
-
- Jul 02, 2018
-
-
Erwan Jahier authored
update the Arduino demo
-
- Mar 28, 2018
-
-
erwan authored
-
- Mar 25, 2018
-
-
erwan authored
By not catching errors, rdbg and (thus) lurette were silently do nothing in presence of errors in Lustre files.
-
- Mar 21, 2018
-
-
erwan authored
add and install an alias to lus2lic name lv6. lus2lic --gen-autotest now overrides existing _oracle*.lus and _env*.lut files
-
- Feb 22, 2018
-
-
erwan authored
-
- Sep 27, 2017
-
-
erwan authored
BTW, fix iterator handling which was not working from SocExecDbg
-
- Aug 18, 2017
-
-
erwan authored
And it is now done only by Lic2soc (L2lCheckLoops is not used anymore) Also, during this change, I was bitten again by the « "__" versus "::" in ident names » problem again. The core of this problem is due to the fact that I use LicDump both for (1) dealing with internal ident names (2) generating lustre files Because of (2), ident names may depend on the ec or the v4 option. hence, internal names were sometimes translated with "__" instead of "::". To (try to) fix that, I've added a boolean flag to all "to_string" functions that states whether the function is used for internal purposes, or for generating lustre files. It was quite a boring change, that triggered other problems, that I've fixed in this (too long) commit : - -esa should force -en, otherwise bad things happen (-esa is used for -ec anyway) - in -esa mode, #/nor inputs tuples of bool, not arrays - fix the list of predi op that returns a type different that its arg (SocPredef)
-
- Jul 04, 2017
-
-
erwan authored
To do that, I have created a new dedicated module L2lExpandEnum, that actually also deals with -eei (which was probably wrong, even if I have not counter-exemple). Use 1-hot encoding instead of log-encoding I've fixed a bug in L2lExpandArrays that occurs on equation such as some_bool = (some_array1 = some_array2); Also, I've rewritten Lv6Compile for more readability Remove duplicated code when using SocMap.find and co
-
- Jun 27, 2017
-
-
erwan authored
I've fixed that using memcmp, which should be fine since compared elements are of the same types.
-
- Oct 25, 2016
-
-
Erwan Jahier authored
-
- Sep 09, 2016
-
-
Erwan Jahier authored
-
- Mar 10, 2016
-
-
Erwan Jahier authored
-
- Feb 03, 2016
-
-
Erwan Jahier authored
by - remove duplication (add a profile_info function ine Lv6Verbose - be more efficient (computing Sys.time only when necessary - control the time-profiling printing via the -dbg flag "profile", and not the verbosity level
-
- Jan 14, 2016
-
-
Erwan Jahier authored
Ditto for Misc and Compile
-
- Sep 23, 2015
-
-
Erwan Jahier authored
Also, do not set the seed when comparing compilers.
-
- Aug 20, 2015
-
-
Erwan Jahier authored
-
- Aug 17, 2015
-
-
Erwan Jahier authored
Indeed, otherwise, in some cases, rdbg or lurette migth not realise that lus2lic exited in error.
-
- Jul 10, 2015
-
-
Erwan Jahier authored
More precisely, issuing an "exit 2" is not enough for the should_work proc in test/site.exp to state that the test fails. That fix revealed a certain number of bad programs. Some were not really wrong ; there were just not respecting the naming convention used to automated the test (i.e., main node name = file name). It also releaved a real bug due to the fact that type instanciatiation is not propagated during model instanciatiation, where creates a loop between (Lic2soc.process_node and Lic2soc.soc_of_node). Indeed it searches in the soc the table for an abstract profile.
-
- Jun 23, 2015
-
-
Erwan Jahier authored
(which breaks lurettetop) nb : Mamadou's change broke some tests (18->53). Empty body is generated for nodes that have one eq. I'll fix that later.
-
- May 22, 2015
-
-
Erwan Jahier authored
+ the utils/lustrequiv script that tries to state that 2 nodes a equivalent or not using lesar and lurette.
-
- Feb 27, 2015
-
-
Erwan Jahier authored
-
- Jan 19, 2015
-
-
Erwan Jahier authored
Indeed it is possible when each branch of the ite updates no memory. This is done in the new L2lOptimIte module. For the time being, it does detect when the node has no memory. It only looks at the declaration: nodes have memory, and not functions. I should infer that information and raise warnings or errors if what I infer is not compatible with waht is declared (will come later). Also split ActionsDep into ActionsDep and Action. Also fix a bug in L2lsplit where deeply nested (>2) merge were not splitted.
-
- Sep 04, 2014
-
-
Erwan Jahier authored
-
- Aug 19, 2014
-
-
Erwan Jahier authored
Indeed, for big integers, looking at |x-x'|<eps leads to false positive, because of the precision (*); it is better to to look at |1-x/x'|<eps (*) the precision (-p 6) influence the comparison, because the SUT currently sends its result via a socket and truncate the result (which is probably a bad idea). nb : the exec time explose (x3), but for an external (unknown) reason (undoing the change leads to the same exec time ~800s).
-
- Jun 10, 2014
-
-
Erwan Jahier authored
To do that, I've used the (un)expand_profile function defined in SocExec (and put the in a new module with a more neutral name: SocVar). expected passes 1116 -> 1121 unexpected failures 282 -> 277
-
- Jun 02, 2014
-
-
Erwan Jahier authored
- Generate code for most predef operators. - Generate a loop.c file (in a similar manner as ec2c -loop does)
-
- May 30, 2014
-
-
Erwan Jahier authored
It generates C code that compile on at least one example.
-
- May 12, 2014
-
-
Erwan Jahier authored
Work in progress...
-
- Mar 25, 2014
-
-
Erwan Jahier authored
cf git sha 55d3d77c470f416befd16a1b7d47f751eb2171fc of rdbg
-
- Jan 22, 2014
-
-
Erwan Jahier authored
More specifically, replace @ by rev_append and flatten+map by fold_left. On a file that has 11000 equations (normal.ec), I win a factor 4: 60s -> 15s
-
- Dec 11, 2013
-
-
Erwan Jahier authored
The main difference is that I use a map instead of list to store visited nodes. The compilation time of normal.ec is divided by 2!! (35s->15s) We do not really see the difference in the time of the non-reg tests since the execution of normal.ec still exceeds the 10s timeouts.
-
- Dec 10, 2013
-
-
Erwan Jahier authored
Also add support to rdbg to perform nonreg test. I do not plug yet it as it's twice slower. but most of it seems due patch_ecexe. Indeed, lus2lic -interface compile the whole program just to print the node interface. nb: it has detected a couple of existing bugs.
-
- Dec 04, 2013
-
-
Erwan Jahier authored
-
- Nov 29, 2013
-
-
Erwan Jahier authored
Fix a bug in socExec.ml (strangely untriggered before) along the way.
-
- May 28, 2013
-
-
Erwan Jahier authored
The test now runs in 150s (versus 417s) [...] for some reasons, i cannot reproduce the 150s !!!
-
- May 15, 2013
-
-
Erwan Jahier authored
Indeed, I've intentionally removed the when statements in clocked local var like this : var v:int; because the following was producing a syntax error in ecexe: var v:int when c; But Actually, the right thing to do was to generate the following: var (v:int) when c; ... nb : #FAILS=90->89
-
- May 10, 2013
-
-
Erwan Jahier authored
I though polymorphism was removed by l2lRmPoly.ml, but well, it was easy. nb : #FAILS=131->128
-
- May 06, 2013
-
-
Erwan Jahier authored
where equations such as " ok = (x=x_ref); " are translated into incorrect v' lustre when x is a structure or an array. nb : #FAILS=152->135
-