Skip to content
Snippets Groups Projects
  1. Dec 08, 2014
  2. Nov 17, 2014
  3. Oct 09, 2014
  4. Oct 07, 2014
    • Erwan Jahier's avatar
      lic2soc: factorize some Soc.gao tests · 55efeade
      Erwan Jahier authored
      For the time being, we simple try to factorise out the test of
      consecutive gao that holds on the same clock.
      
      ps : also fix a pb (infinite loop in SortActions.topo_sort)
      introduced in the previous change that, for a strange reason
      (Makefile issue), was not catched by the test (almost all test were
      failing !!).
      
      pps : it actually seems to break quite a lot of test, but its my test
      script that wrong ! since version 527 (we are 534), the compiler used
      to perform the test in the tmp dirs is not upadated ! (well it is,
      but on the wrong machine...).
      
      I commit this change still as it introduces no more test failures.
      55efeade
  5. Oct 06, 2014
  6. Oct 03, 2014
  7. Oct 02, 2014
  8. Oct 01, 2014
  9. Sep 29, 2014
  10. Sep 09, 2014
  11. Sep 05, 2014
  12. Sep 04, 2014
  13. Sep 03, 2014
  14. Sep 02, 2014
    • Erwan Jahier's avatar
      -ei (and thus -ec): Fix a bug when translating condact. · 5ee67626
      Erwan Jahier authored
      The translation was faithfull to the comment, but the comment was wrong :
      in order to translate a condact, we need clocks (when) !
      
      node condact_toto(i0:bool; i1:int; i2:int) returns (o0:int) = Lustre::condact<<toto, 0>>;
      
      is now translated into:
      
      condact_toto(i0:bool; i1:int; i2:int) returns (o0:int)
      let
        o0 = if i0 then current(toto(i1 when i0, i2 when i0) ) else (0 fby o0);
      tel
      5ee67626
  15. Sep 01, 2014
  16. Aug 27, 2014
  17. Aug 26, 2014
  18. Aug 25, 2014
  19. Aug 22, 2014
  20. Aug 19, 2014
    • Erwan Jahier's avatar
      lus2lic --gen-autotest : change the strategy to compare real values en generated oracles. · f02e8b1b
      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).
      f02e8b1b
  21. 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
  22. Aug 07, 2014
Loading