- Aug 18, 2017
-
-
erwan authored
nb: the 2 tests that now pass pass for other reasons (because of a change in rdbg 1.108)
-
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 12, 2017
-
-
erwan authored
-
- Jul 05, 2017
-
-
erwan authored
Also, -eeb is now the default when using -ec.
-
- 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 20, 2017
-
-
erwan authored
-
- Apr 24, 2017
-
-
erwan authored
Also, use rdbg instead of lurettetop to run the test.
-
- Feb 20, 2017
-
-
Erwan Jahier authored
-
- Dec 22, 2016
-
-
Erwan Jahier authored
-
- Oct 25, 2016
-
-
Erwan Jahier authored
-
- Oct 07, 2016
-
-
Erwan Jahier authored
Reference Manual enhancements.
-
- Sep 20, 2016
-
-
Erwan Jahier authored
so that w7/lesar can help otawa/ilp to prune path in the binary. nb : not working on the convertible example: - sometimes the module name still appear in the ident (enums) - clocks are not well supported by Lesar actually. More thinking is necessary.
-
- Sep 09, 2016
-
-
Erwan Jahier authored
-
Erwan Jahier authored
generates unvalid C code.
-
- Sep 05, 2016
-
-
Erwan Jahier authored
The bug was appearing a node was called on a non base clock that was existing in the called nodes (name clash). Typically, it occurs on recursive node called on some non-trivial clocks. Also, use maps instead of list to hold the substitution between params and args.
-
- Aug 30, 2016
-
-
Erwan Jahier authored
-
- Aug 26, 2016
-
-
Erwan Jahier authored
-
Erwan Jahier authored
and replace enumerated clock in the var_info even if it does not appear in a val_exp. nb : luciole-rif is now in the rdbg repo.
-
- Jun 14, 2016
-
-
Erwan Jahier authored
var_info appears in - node decl - left var - static args not yet working. I commit as Ive fix a missing dep on WenOnId in the _oasis.
-
- Jun 01, 2016
-
-
Erwan Jahier authored
More precisely, transforms equations of the form y = x when Toto(c); into x when Toto_c ; Toto_c=Toto(c);
-
- May 31, 2016
-
-
Erwan Jahier authored
-
- May 30, 2016
-
-
Erwan Jahier authored
Rationale: the << normal mode >> (i.e., not translating enums) was not even accessible!
-
- Mar 18, 2016
-
-
Erwan Jahier authored
The bug was (in soc2c.ml::137) that, for array of instances of size n, it was generating n+1 initialisations, causing a seg fault.
-
Erwan Jahier authored
Factorize duplicated code in gen_loop_file and gen_loop_file4ogensim along the way.
-
- Jan 14, 2016
-
-
Erwan Jahier authored
Ditto for Misc and Compile
-
- 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.
-
Mamadou Ndiaye authored
-
- Jun 22, 2015
-
-
Mamadou Ndiaye authored
-kcg: forces the -esa(expand_arrays) option so that arrays walk with diese.We will see later how to treat properly the arrays.
-
- Jun 01, 2015
-
-
Erwan Jahier authored
-
- May 22, 2015
-
-
Erwan Jahier authored
lus2lic -h shows the basic options lus2lic -more shows more experimental options lus2lic -dev shows experimental/internal options
-
- Apr 10, 2015
-
-
Erwan Jahier authored
that I should have catched then. Sigh. only affect array concat
-
Erwan Jahier authored
by grouping instances of the same type into arrays. The rationale is to be able to generate for loops with iterators. The previous code was working, but probably by chance.
-
- Apr 08, 2015
-
-
Erwan Jahier authored
Actually, that was the default behavior. Now the default behavior is to generate loops for iterators. nb : with -2ch, loops are still always inlined
-
- Mar 30, 2015
-
-
Erwan Jahier authored
Indeed, an iterator is a kind of node.
-
- Mar 24, 2015
-
-
Erwan Jahier authored
combined with -cc, actually computes the wcet. nb : only works if wcet tools are installed (owcet.arm, arm-elf-gcc)
-
Erwan Jahier authored
combined with -cc, actually computes the wcet. nb : only works if wcet tools are installed (owcet.arm, arm-elf-gcc)
-
- Mar 20, 2015
-
-
Erwan Jahier authored
That generated dummy main calls one step function and exits. Imposes -2c.
-
- Mar 18, 2015
-
-
Erwan Jahier authored
Indeed, in order to sort Soc.gao, I currently process in 3 stages ; 1. compute a total ordering of Actions.t according to the deps 2. transform Actions.t into Soc.gao (List.map) 3. factorize Soc.gao by looking at consecutive gao that have the same guard With this change, between steps 1 and 2, I reorder the list of actions so that group of independent actions are sorted according to their clock. The idea is of course to provide to step 3 more opportunities of factorization. The result is not very convincing yet. I've also tried to sort the actions wrt their clock before performing the toposort. Seems not too bad. I've kept the old behavior by default though.
-
- Feb 27, 2015
-
-
Erwan Jahier authored
-