diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-03-02 10:27:43 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-03-02 10:27:43 +0000 |
commit | 5b121800db192b3d31cb6a245529f876079f442e (patch) | |
tree | 1a9e9f80aa73de332b505851a8a35eba71ee0ec7 /driver/VericertDriver.ml | |
parent | 05347ca5126f335b0479b71a4576b141e082fab5 (diff) | |
download | vericert-5b121800db192b3d31cb6a245529f876079f442e.tar.gz vericert-5b121800db192b3d31cb6a245529f876079f442e.zip |
Add option to turn on/off ram inferrence
Diffstat (limited to 'driver/VericertDriver.ml')
-rw-r--r-- | driver/VericertDriver.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/driver/VericertDriver.ml b/driver/VericertDriver.ml index d2c301f..0706d79 100644 --- a/driver/VericertDriver.ml +++ b/driver/VericertDriver.ml @@ -238,7 +238,8 @@ Processing options: -finline Perform inlining of functions [on] -finline-functions-called-once Integrate functions only required by their single caller [on] - -fif-conversion Perform if-conversion (generation of conditional moves) [on] + -fif-conversion Perform if-conversion (generation of conditional moves) [off] + -fram Generate Verilog that is fit for ram inference [on] Code generation options: (use -fno-<opt> to turn off -f<opt>) -ffpu Use FP registers for some integer operations [on] -fsmall-data <n> Set maximal size <n> for allocation in small data area @@ -436,6 +437,7 @@ let cmdline_actions = @ f_opt "sse" option_ffpu (* backward compatibility *) @ f_opt "schedule" option_hls_schedule @ f_opt "if-conv" option_fif_conv + @ f_opt "ram" option_fram @ [ (* Catch options that are not handled *) Prefix "-", Self (fun s -> |