Skip to content
Snippets Groups Projects
  1. Oct 01, 2014
  2. Sep 29, 2014
  3. Aug 14, 2014
    • 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
  4. Jun 26, 2014
    • Erwan Jahier's avatar
      Make sure that L2lRmPoly removes every overloaded expression. · 7f808896
      Erwan Jahier authored
      e.g., by replacing "plus" by "iplus" or "rplus"
      
      Hence now the following is accepted :
         res = map<<+,  N>>(x, a, b);
      
      but still not
      
        a_or_b = map<<Lustre::if,  N>>(x, a, b);
      7f808896
    • Erwan Jahier's avatar
      Reject user defined polymorphic node. · 716f0d5b
      Erwan Jahier authored
      For instance,
        node toto = map<<Lustre::if,  N>>(x, a, b);
      is rejected.
      
      The problem with this change is that we now also reject equations such as
         res = map<<+,  N>>(x, a, b);
      
      which could be avoided. Probably L2lRmPoly does its job partially.
      716f0d5b
  5. Mar 25, 2014
  6. Jan 22, 2014
  7. Dec 11, 2013
    • Erwan Jahier's avatar
      Rewrite the topological sort of actions. · 612d8213
      Erwan Jahier authored
      The main difference is that I use a map instead of list to store
      visited nodes.  The compilation time of normal.ec is divided by 2!!
      (35s->15s)
      
      We do not really see the difference in the time of the non-reg tests
      since the execution of normal.ec still exceeds the 10s timeouts.
      612d8213
  8. Nov 29, 2013
  9. Nov 28, 2013
Loading