From 2456ba0e08f91538feeb1403beb7de142a054ebe Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 2 Nov 2020 19:38:07 +0000 Subject: Add optimisations to output --- driver/VericertDriver.ml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'driver') diff --git a/driver/VericertDriver.ml b/driver/VericertDriver.ml index 7dfde28..0c02aeb 100644 --- a/driver/VericertDriver.ml +++ b/driver/VericertDriver.ml @@ -92,7 +92,10 @@ let compile_c_file sourcename ifile ofile = close_out oc end else begin let verilog = - let translation = if !option_hls_schedule then Vericert.Compiler0.transf_hls_temp else Vericert.Compiler0.transf_hls in + let translation = if !option_hls_schedule + then Vericert.Compiler0.transf_hls_temp + else Vericert.Compiler0.transf_hls_opt + in match translation csyntax with | Vericert.Errors.OK v -> v -- cgit