aboutsummaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-09-28 16:49:50 +0100
committerYann Herklotz <git@yannherklotz.com>2020-09-28 16:49:50 +0100
commit5b53cb7b539420e869cc243ee4e94f81b1ed0bf4 (patch)
tree3f3b2a0d6a31f53bc5e0e3cbf8720ec2a53b2bf1 /driver
parente7cafecf3f8c43ed3302f09e000d4f8775356876 (diff)
downloadvericert-5b53cb7b539420e869cc243ee4e94f81b1ed0bf4.tar.gz
vericert-5b53cb7b539420e869cc243ee4e94f81b1ed0bf4.zip
Fix compilation
Diffstat (limited to 'driver')
-rw-r--r--driver/VericertDriver.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/VericertDriver.ml b/driver/VericertDriver.ml
index 2b8d45f..f500499 100644
--- a/driver/VericertDriver.ml
+++ b/driver/VericertDriver.ml
@@ -91,14 +91,14 @@ let compile_c_file sourcename ifile ofile =
close_out oc
end else begin
let verilog =
- match Vericert.Compiler0.transf_hls_temp csyntax with
+ match Vericert.Compiler0.transf_hls csyntax with
| Vericert.Errors.OK v ->
v
| Vericert.Errors.Error msg ->
let loc = file_loc sourcename in
fatal_error loc "%a" print_error msg in
let oc = open_out ofile in
- Vericert.PrintRTLBlock.print_program oc verilog;
+ Vericert.PrintVerilog.print_program !option_debug_hls oc verilog;
close_out oc
end