Skip to content
Snippets Groups Projects
  1. Jul 09, 2014
  2. Jul 04, 2014
  3. Jun 27, 2014
  4. Jun 26, 2014
    • 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. Jun 24, 2014
  6. Jun 23, 2014
  7. Jun 20, 2014
  8. Jun 19, 2014
    • Erwan Jahier's avatar
      Soc2c: Fix 2 bugs in the C code generation. · 9253be2f
      Erwan Jahier authored
      The first one in Soc2cIdent.type_to_short_string when enum and int were both
      translated by "i" ; as a consequence, some different soc ctx get the same name.
      
      The second one was due to the fact that car ident in gao switches were
      printed incorrectly (missing "ctx->" or "node_no_mem_ctx.").
      
      nb:  unexpected failures 162-> 149
      9253be2f
  9. Jun 18, 2014
  10. Jun 13, 2014
  11. Jun 12, 2014
  12. May 30, 2014
  13. May 21, 2014
  14. Mar 25, 2014
  15. Jun 04, 2013
  16. Jun 03, 2013
  17. May 31, 2013
  18. May 22, 2013
    • Erwan Jahier's avatar
      Fix a bug when expanding nodes (-en). A Node that calls a node that · 499a3f47
      Erwan Jahier authored
      itself calls another node on a non-trivial clock (i.e., using a when)
      was not producing correct code.
      
      I've fixed this by performing the fix-point on nodes rather than on
      equations. Indeed its more natural and efficient, and it avoid the
      problem above. However, I did not really fix the problem, but just
      turn around it. All tests seems to work fine though.
      
      nb : #FAILS=81->80 (and -2 unresolved, but because I fixed the prog)
      499a3f47
  19. May 17, 2013
  20. May 16, 2013
  21. May 15, 2013
    • Erwan Jahier's avatar
      Fix test the -ec mode in presence of clocked variable. · d5870c84
      Erwan Jahier authored
      Indeed, I've intentionally removed the when statements in clocked local var like this :
      
       var
          v:int;
      
      because the following was producing a syntax error in ecexe:
      
       var
          v:int when c;
      
      But Actually, the right thing to do was to generate the following:
      
       var
          (v:int) when c;
      
      ...
      
      nb : #FAILS=90->89
      d5870c84
  22. May 13, 2013
  23. May 10, 2013
  24. May 07, 2013
  25. May 06, 2013
  26. Apr 25, 2013
  27. Apr 24, 2013
  28. Apr 05, 2013
  29. Apr 04, 2013
    • Erwan Jahier's avatar
      The -exec mode now supports the merge statement. · 1ca66bc0
      Erwan Jahier authored
      In order to do that, I've generalised the type of merge : now the clock
      argument can be any expression. Some assert false still prevent its use,
      but it should be easy to get rid of them (I'll do that latter).
      1ca66bc0
  30. Apr 02, 2013
  31. Feb 13, 2013
Loading