Skip to content
Snippets Groups Projects
  1. Aug 18, 2017
    • erwan's avatar
      -lv4: expand nodes because array expansion require nodes to be expanded. · 1057e2e1
      erwan authored
      nb: the 2 tests that now pass pass for other reasons (because of a change in
      rdbg 1.108)
      1057e2e1
    • erwan's avatar
      Do dep-loop checking before removing alias, otherwise some variables disappear ! · b13c9efb
      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)
      b13c9efb
  2. Jul 12, 2017
  3. Jul 05, 2017
  4. Jul 04, 2017
    • erwan's avatar
      More work on the -eeb option. · a6fab49a
      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
      a6fab49a
  5. Jun 20, 2017
  6. Apr 24, 2017
  7. Feb 20, 2017
  8. Dec 22, 2016
  9. Oct 25, 2016
  10. Oct 07, 2016
  11. Sep 20, 2016
    • Erwan Jahier's avatar
      -2cw7: generate C annotations (as comments) for Lesar/w7 · aa6d74b5
      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.
      aa6d74b5
  12. Sep 09, 2016
  13. Sep 05, 2016
  14. Aug 30, 2016
  15. Aug 26, 2016
  16. Jun 14, 2016
  17. Jun 01, 2016
  18. May 31, 2016
  19. May 30, 2016
  20. Mar 18, 2016
  21. Jan 14, 2016
  22. Aug 17, 2015
  23. Jul 10, 2015
    • Erwan Jahier's avatar
      The nonreg test process was missing some failures. · ccdf2a78
      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.
      ccdf2a78
    • Mamadou Ndiaye's avatar
      41faa9b4
  24. Jun 22, 2015
  25. Jun 01, 2015
  26. May 22, 2015
    • Erwan Jahier's avatar
      Add a third level of options. · 71fc4b66
      Erwan Jahier authored
      lus2lic -h shows the basic options
      lus2lic -more shows more experimental options
      lus2lic -dev shows experimental/internal  options
      71fc4b66
  27. Apr 10, 2015
  28. Apr 08, 2015
  29. Mar 30, 2015
  30. Mar 24, 2015
  31. Mar 20, 2015
  32. Mar 18, 2015
    • Erwan Jahier's avatar
      lic2soc: try a few optimisation wrt Soc.gao scheduling and test opening. · 7d0da0b8
      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.
      7d0da0b8
  33. Feb 27, 2015
Loading