Skip to content
Snippets Groups Projects
  1. Jun 15, 2022
  2. Jun 19, 2020
  3. Aug 29, 2019
  4. Mar 23, 2018
  5. Sep 08, 2017
  6. Aug 18, 2017
    • 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
  7. Feb 20, 2017
  8. Nov 30, 2016
  9. Oct 25, 2016
  10. Sep 09, 2016
  11. May 27, 2016
  12. Mar 18, 2016
  13. Feb 27, 2015
  14. Jan 14, 2015
    • Erwan Jahier's avatar
      Fix a bug when using -esa -en -2c on programs with assert · 79e85ff2
      Erwan Jahier authored
      Report by willie (cf mail of 8/10/2014 to get the file)
      
      file:/tmp/modes3x2.lus
      
      lus2lic -esa -en -2c /tmp/modes3x2.lus -n modes3x2
      
      But it gives an error of:
      Error. in file "/mnt/A/wsept/modes3x2_pre_orig_lus2lic_en_esa/modes3x2.lus",
      line 74, col 8 to 8, token '#': only one operator per equation is allowed
      (v04_0, v04_1).
      
      Which is the line:
      assert #(on_off, toggle);
      
      -----------------------------------------------------------------
      
      Actually, refuse programs that uses "#" or "nor" run with -esa and
      -2c|-exec
      
      That means that willie program is now rejected.
      
      Nevertheless, that change migth fix some other programs (that uses
      arrays, and used with -esa and -exec or -2c).
      79e85ff2
  15. Jan 07, 2015
    • Erwan Jahier's avatar
      Merge does not generate soc anymore ! · fcf73b92
      Erwan Jahier authored
      Also fix a bug in Lic2soc.make_e2a_elt where some deps and some
      actions were lost. Actually, this bug ought to be triggered only with
      nested calls. So this affects only programs executed via the
      -knc/-keep-nested-calls option. and -2c is not supposed to work in
      conjunction with -knc ! Hence this fix does not fix anything. But
      still it fixes potentially future code if I (or someone else) decide
      to handle nested calls in the lic one day.
      fcf73b92
  16. Oct 09, 2014
  17. Sep 01, 2014
  18. Aug 14, 2014
    • Erwan Jahier's avatar
      fd23885a
    • Erwan Jahier's avatar
      lic2soc: fix the translation of the current operator into SOC. · d3061085
      Erwan Jahier authored
      nb : the -exec mode was working because I did not use the generated soc,
      which was completely wrong.
      
      Note that to do that, I have modified the CURRENT variant of
      Lic.val_exp, to attach it the clock the current holds on. Indeed, the
      clock is mandatory to generated correct code...
      
      In an ideal world, this clock information may have explicitely been
      set by the user ("current(clk_of_X,X)" instead of "current(X)"), but
      for historical reason, it is not the case.
      
      Hence, this information is added as soon as it is available, namely,
      during clock checking.
      d3061085
  19. Aug 07, 2014
    • Erwan Jahier's avatar
      Fix the behavior of condact in the -exec mode. · 213188b1
      Erwan Jahier authored
      Indeed, once the activation condition has been true, and when it is
      false it wax returning the default value instead of the previous one.
      
      # of expected passes 		1512 -> 1519
      # of unexpected failures	84 -> 78
      213188b1
  20. Jul 04, 2014
  21. Jun 27, 2014
  22. Jun 26, 2014
  23. Jun 24, 2014
  24. Jun 20, 2014
  25. Jun 19, 2014
  26. Jun 02, 2014
  27. May 21, 2014
  28. May 12, 2014
  29. Jun 05, 2013
    • Erwan Jahier's avatar
      Fix the handling of fby in Soc. · 1026bf31
      Erwan Jahier authored
      Indeed, the initialisation of the fby was done when the soc was
      created.  Hence the first fby that was translated was giving its
      initial value to all others forthcoming fby !!!
      
      In order to fix that, I've modified the type of Soc.key so that the
      initial value is part of its key.
      
      Note that currently, it does not work if the initial value is an input.
      1026bf31
  30. Jun 03, 2013
    • Erwan Jahier's avatar
      Fix a bug in the implementation of diese (#). · 1041bec5
      Erwan Jahier authored
      Actually, it was a misunderstanding of mine (R1) ; the behavior was consistent
      with the lv6 doc, but not with the v4 behavior...
      
      Indeed, # means "at most 1 among n", not "exactly one among n" as I tought...
      1041bec5
  31. May 28, 2013
    • Erwan Jahier's avatar
      Change the nonreg test scheme by inverting the role of v4 and v6 in the sut and the oracle. · 06ddb863
      Erwan Jahier authored
      The rationale is to avoid local vars blow-up on some
      examples. Indeed, the generated oracle blows-up (e.g., on left.lus)
      if we execute it via v4, whereas via v6 it works fine.
      
      This change triggers a couple of bugs that ware easy to fix
      (confusion between div and slash) that I've fixed along the way.
      For the others, I'll see later.
      
      Overall it's a progress albeit
        #fail: 80 -> 83
      
      indeed:
        #unresolved: 20 -> 12
        #passes		878 -> 883
        time: 335 -> 228
      06ddb863
  32. May 21, 2013
  33. May 16, 2013
  34. May 10, 2013
  35. May 07, 2013
  36. Apr 08, 2013
    • Erwan Jahier's avatar
      Some work to prepare the merge with the lurette git repo. · 5316f18a
      Erwan Jahier authored
      I took the data type definition from SocExecValue to define a Data
      module that is a strict extension of the Lutin Data module.
      
      The duplicated Genlex module is now also identical to the one of
      Lurette.
      
      Quite boring, but simple thanks to the ocaml type system.
      5316f18a
Loading