From 5b121800db192b3d31cb6a245529f876079f442e Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 2 Mar 2021 10:27:43 +0000 Subject: Add option to turn on/off ram inferrence --- driver/VericertDriver.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'driver') 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- to turn off -f) -ffpu Use FP registers for some integer operations [on] -fsmall-data Set maximal size 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 -> -- cgit