Skip to content
Snippets Groups Projects
  1. Mar 28, 2018
  2. Mar 25, 2018
  3. Mar 23, 2018
  4. Mar 21, 2018
  5. Feb 22, 2018
  6. Jan 12, 2018
  7. Dec 18, 2017
  8. Dec 14, 2017
  9. Dec 08, 2017
  10. Dec 01, 2017
  11. Nov 30, 2017
  12. Oct 04, 2017
  13. Sep 27, 2017
  14. Sep 12, 2017
  15. Sep 08, 2017
  16. Sep 06, 2017
  17. Aug 22, 2017
  18. 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
      --gen-autotest: assertions were copied in the Lutin file without parenthesis · 39005635
      erwan authored
      I've done the same fix in LicDump actually to be sure (more parenthesis can't hurt).
      
      fix carligths.lus which was badly initialized
      39005635
    • 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
  19. Jul 18, 2017
  20. Jul 12, 2017
  21. Jul 10, 2017
  22. Jul 05, 2017
    • erwan's avatar
      -eeb: Extern nodes interface variables were not expanded. · 14a42a03
      erwan authored
      Also, -eeb is now the default when using -ec.
      14a42a03
    • erwan's avatar
      More work on the -eeb option. · 6f975e9b
      erwan authored
      It was generetaing wrong code in conjunction with -ec.
      
      In particular, it was generating n-any "and" instead of binary "and".
      
      Also, I needed (in L2LExpandEnum) to generated a Lic.ARRAY of const
      instead of a Lic.Array_const_eff so that LicDump properly generated
      ec code.
      6f975e9b
  23. 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
  24. Jun 27, 2017
  25. Jun 26, 2017
  26. Jun 22, 2017
  27. Jun 21, 2017
    • erwan's avatar
      Better handling of real constants substraction. · 6e914d04
      erwan authored
      Indeed, expressions such as "3.0-42.5" caused a syntax error, as the unary minus
      of real constant was in hard in the lexer.  "3.0- 42.5" worked, but still.
      
      The problem then was that LicEvalConst refused to eval "- 3.14", that was
      parsed directly as a constant, and that is now a call to the unary minus.
      I've added specific code to handle this case.
      6e914d04
Loading