Project

General

Profile

« Previous | Next » 

Revision 9b0432bc

Added by Corentin Lauverjat over 1 year ago

  • ID 9b0432bc4c6c7165663ff1239ee93adac0a4a34d
  • Parent 9e88590e

Using deriving_ppx to derive show_ functions for the main types defined in lib/
Applying the same procedure of operator specialization taken from the C backend to Tiny
Lustrev has now a functional Tiny plugin : * -unrolling option has been renamed -duration because from an outside observer it is the length in steps of the abstract simulation * the plugin takes a JSON input file containing the bounds on input of the top node (option -bounds-input) * the plugins outputs its result in a Json format on the stdout. It can also output a {basename}_result.json file containing the result if the flag -tiny-output is provided
Adding a Tiny backend that generates Tiny code from Lustre
Repairing treatment of parsing error that was broken since transitioning from ocamlyacc to menhir

View differences:

backends/C/c_backend_makefile.ml
98 98
    fprintf fmt "BINNAME?=%s@." binname;
99 99
    fprintf fmt "GCC=gcc -O0@.";
100 100
    fprintf fmt "LUSTREC=%s@." Sys.executable_name;
101
    fprintf fmt "LUSTREC_BASE=%s@." (Filename.dirname (Filename.dirname Sys.executable_name));
102
    fprintf fmt "INC=${LUSTREC_BASE}/include/lustrec@.";
101
    fprintf fmt "INC=%s@." Lustrec.Version.include_path;
103 102
    fprintf fmt "@.";
104 103

  
105 104
    (* Main binary *)

Also available in: Unified diff