diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-04-01 01:24:19 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-04-01 01:24:19 +0100 |
commit | 315f610b111d8d5433866fa032beac0ea29df676 (patch) | |
tree | cb0b502cfa0c316826bd14123541ab41ddf035cd /src/hls/PrintVerilog.ml | |
parent | 2837868fcc427b2161b083f33d3de495f0c21bf7 (diff) | |
download | vericert-315f610b111d8d5433866fa032beac0ea29df676.tar.gz vericert-315f610b111d8d5433866fa032beac0ea29df676.zip |
Add new enable interface
Diffstat (limited to 'src/hls/PrintVerilog.ml')
-rw-r--r-- | src/hls/PrintVerilog.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hls/PrintVerilog.ml b/src/hls/PrintVerilog.ml index 61f5b5e..f618d54 100644 --- a/src/hls/PrintVerilog.ml +++ b/src/hls/PrintVerilog.ml @@ -164,13 +164,13 @@ let decl i = function let pprint_module_item i = function | Vdeclaration d -> decl i d | Valways (e, s) -> - concat [indent i; "always "; pprint_edge_top i e; "begin\n"; + concat [indent i; "always "; pprint_edge_top i e; " begin\n"; pprint_stmnt (i+1) s; indent i; "end\n"] | Valways_ff (e, s) -> - concat [indent i; "always "; pprint_edge_top i e; "begin\n"; + concat [indent i; "always "; pprint_edge_top i e; " begin\n"; pprint_stmnt (i+1) s; indent i; "end\n"] | Valways_comb (e, s) -> - concat [indent i; "always "; pprint_edge_top i e; "begin\n"; + concat [indent i; "always "; pprint_edge_top i e; " begin\n"; pprint_stmnt (i+1) s; indent i; "end\n"] let rec intersperse c = function |