diff --git a/docs/split_verilog.md b/docs/split_verilog.md index f662f1018..e1bca5765 100644 --- a/docs/split_verilog.md +++ b/docs/split_verilog.md @@ -56,7 +56,6 @@ m.compile("output/main", Top, output="mlir-verilog", **opts) --- `output/main.sv` (main RTL; note how it only includes `Bar`, `Foo`, and `Top`): ```Verilog -// Generated by CIRCT circtorg-0.0.0-1018-g3a39b339f module Bar( input [7:0] I, output [7:0] O); diff --git a/magma/backend/mlir/compile_to_mlir_opts.py b/magma/backend/mlir/compile_to_mlir_opts.py index 9d10b8031..ceeb55e19 100644 --- a/magma/backend/mlir/compile_to_mlir_opts.py +++ b/magma/backend/mlir/compile_to_mlir_opts.py @@ -19,4 +19,4 @@ class CompileToMlirOpts: disallow_expression_inlining_in_ports: bool = False disallow_local_variables: bool = False split_verilog: bool = False - omit_version_comment: bool = False + omit_version_comment: bool = True diff --git a/tests/gold/test_basic_namer_dict.mlir b/tests/gold/test_basic_namer_dict.mlir index ea25e0abf..6a9e398fe 100644 --- a/tests/gold/test_basic_namer_dict.mlir +++ b/tests/gold/test_basic_namer_dict.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module.extern @Foo(%I: i8) -> (O: i8) hw.module @test_basic_namer_dict(%I: i8) -> (O: i8) { %1 = sv.wire sym @test_basic_namer_dict.x name "x" : !hw.inout diff --git a/tests/gold/test_bind2_basic.mlir.tpl b/tests/gold/test_bind2_basic.mlir.tpl index 738a374b5..cb75a6af5 100644 --- a/tests/gold/test_bind2_basic.mlir.tpl +++ b/tests/gold/test_bind2_basic.mlir.tpl @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @TopBasicAsserts_mlir(%I: i1, %O: i1, %other: i1) -> () attributes {output_filelist = #hw.output_filelist<"$cwd/build/test_bind2_basic_bind_files.list">} { } hw.module @Top(%I: i1) -> (O: i1) { diff --git a/tests/gold/test_bind2_basic_split_verilog.mlir.tpl b/tests/gold/test_bind2_basic_split_verilog.mlir.tpl index 9aa00d834..5f76a0625 100644 --- a/tests/gold/test_bind2_basic_split_verilog.mlir.tpl +++ b/tests/gold/test_bind2_basic_split_verilog.mlir.tpl @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @TopBasicAsserts_mlir(%I: i1, %O: i1, %other: i1) -> () attributes {output_file = #hw.output_file<"$cwd/build/TopBasicAsserts_mlir.v">, output_filelist = #hw.output_filelist<"$cwd/build/test_bind2_basic_split_verilog_bind_files.list">} { } hw.module @Top(%I: i1) -> (O: i1) attributes {output_file = #hw.output_file<"$cwd/build/test_bind2_basic_split_verilog.v">} { diff --git a/tests/gold/test_bind2_generator.mlir.tpl b/tests/gold/test_bind2_generator.mlir.tpl index da6929e64..5f9d71967 100644 --- a/tests/gold/test_bind2_generator.mlir.tpl +++ b/tests/gold/test_bind2_generator.mlir.tpl @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @LogicAsserts(%I: i1, %O: i1, %other: i1) -> () attributes {output_filelist = #hw.output_filelist<"$cwd/build/test_bind2_generator_bind_files.list">} { sv.verbatim "{{0}} {{1}} {{2}}" (%I, %O, %other) : i1, i1, i1 } diff --git a/tests/gold/test_bind2_xmr.mlir.tpl b/tests/gold/test_bind2_xmr.mlir.tpl index ad1b7946e..c94a55e46 100644 --- a/tests/gold/test_bind2_xmr.mlir.tpl +++ b/tests/gold/test_bind2_xmr.mlir.tpl @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Bottom(%I: !hw.struct) -> (O: !hw.struct) { hw.output %I : !hw.struct } diff --git a/tests/gold/test_bind2_xmr_flatten_all_tuples.mlir.tpl b/tests/gold/test_bind2_xmr_flatten_all_tuples.mlir.tpl index 33de985d8..fea3b43fd 100644 --- a/tests/gold/test_bind2_xmr_flatten_all_tuples.mlir.tpl +++ b/tests/gold/test_bind2_xmr_flatten_all_tuples.mlir.tpl @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Bottom(%I_x: i1, %I_y: i1) -> (O_x: i1, O_y: i1) { hw.output %I_x, %I_y : i1, i1 } diff --git a/tests/gold/test_bind_basic_mlir.mlir b/tests/gold/test_bind_basic_mlir.mlir index d3467b33b..af6e3aa10 100644 --- a/tests/gold/test_bind_basic_mlir.mlir +++ b/tests/gold/test_bind_basic_mlir.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Top(%I: i1) -> (O: i1) { %1 = sv.wire sym @Top._magma_bind_wire_0 name "_magma_bind_wire_0" : !hw.inout sv.assign %1, %I : i1 diff --git a/tests/gold/test_bind_xmr_mlir.mlir b/tests/gold/test_bind_xmr_mlir.mlir index 988d7dd07..ad3d85680 100644 --- a/tests/gold/test_bind_xmr_mlir.mlir +++ b/tests/gold/test_bind_xmr_mlir.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Bottom(%I: i1) -> (O: i1) { hw.output %I : i1 } diff --git a/tests/gold/test_compile_guard_anon_driven_internal.mlir b/tests/gold/test_compile_guard_anon_driven_internal.mlir index 888b3f0bb..4aa8f5011 100644 --- a/tests/gold/test_compile_guard_anon_driven_internal.mlir +++ b/tests/gold/test_compile_guard_anon_driven_internal.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @COND_compile_guard(%port_0: i1) -> () { %1 = sv.wire sym @COND_compile_guard.corebit_undriven_inst0 : !hw.inout %0 = sv.read_inout %1 : !hw.inout diff --git a/tests/gold/test_compile_guard_basic.mlir b/tests/gold/test_compile_guard_basic.mlir new file mode 100644 index 000000000..e69de29bb diff --git a/tests/gold/test_compile_guard_inline_verilog_reset.mlir b/tests/gold/test_compile_guard_inline_verilog_reset.mlir index b33ac4a9f..fd25088d6 100644 --- a/tests/gold/test_compile_guard_inline_verilog_reset.mlir +++ b/tests/gold/test_compile_guard_inline_verilog_reset.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @COND_compile_guard(%port_0: i1, %port_1: i1, %port_2: i1) -> () { sv.verbatim "\nassert property (@(posedge {{2}}) disable iff {{1}} {{0}} |-> ##1 {{0}};\n " (%port_0, %port_1, %port_2) : i1, i1, i1 } diff --git a/tests/gold/test_inline_verilog2_share_default_clocks.mlir b/tests/gold/test_inline_verilog2_share_default_clocks.mlir index d5fcded67..36bc40c27 100644 --- a/tests/gold/test_inline_verilog2_share_default_clocks.mlir +++ b/tests/gold/test_inline_verilog2_share_default_clocks.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @inline_verilog2_share_default_clocks(%x: i1, %y: i1, %CLK: i1, %RESET: i1) -> () { sv.verbatim "assert property (@(posedge {{0}}) disable iff (! {{1}}) {{2}} |-> ##1 {{3}});" (%CLK, %RESET, %x, %y) : i1, i1, i1, i1 sv.verbatim "assert property (@(posedge {{0}}) disable iff (! {{1}}) {{2}} |-> ##1 {{3}});" (%CLK, %RESET, %x, %y) : i1, i1, i1, i1 diff --git a/tests/gold/test_inline_verilog2_simple.mlir b/tests/gold/test_inline_verilog2_simple.mlir index 1b93eb4d3..372bb544a 100644 --- a/tests/gold/test_inline_verilog2_simple.mlir +++ b/tests/gold/test_inline_verilog2_simple.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @inline_verilog2_simple(%I: i1, %arr: i2, %CLK: i1) -> (O: i1) { %1 = sv.reg name "Register_inst0" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/gold/test_inline_verilog2_tuple.mlir b/tests/gold/test_inline_verilog2_tuple.mlir index c5b6d228f..3b1cfe658 100644 --- a/tests/gold/test_inline_verilog2_tuple.mlir +++ b/tests/gold/test_inline_verilog2_tuple.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module.extern @InnerInnerDelayUnit(%INPUT_0_data: i5, %INPUT_0_valid: i1, %INPUT_1_data: i5, %INPUT_1_valid: i1, %OUTPUT_0_ready: i1, %OUTPUT_1_ready: i1) -> (INPUT_0_ready: i1, INPUT_1_ready: i1, OUTPUT_0_data: i5, OUTPUT_0_valid: i1, OUTPUT_1_data: i5, OUTPUT_1_valid: i1) hw.module @InnerDelayUnit(%INPUT_0_data: i5, %INPUT_0_valid: i1, %INPUT_1_data: i5, %INPUT_1_valid: i1, %OUTPUT_0_ready: i1, %OUTPUT_1_ready: i1, %CLK: i1) -> (INPUT_0_ready: i1, INPUT_1_ready: i1, OUTPUT_0_data: i5, OUTPUT_0_valid: i1, OUTPUT_1_data: i5, OUTPUT_1_valid: i1) { %0, %1, %2, %3, %4, %5 = hw.instance "inner_inner_delay" @InnerInnerDelayUnit(INPUT_0_data: %INPUT_1_data: i5, INPUT_0_valid: %INPUT_1_valid: i1, INPUT_1_data: %INPUT_0_data: i5, INPUT_1_valid: %INPUT_0_valid: i1, OUTPUT_0_ready: %OUTPUT_1_ready: i1, OUTPUT_1_ready: %OUTPUT_0_ready: i1) -> (INPUT_0_ready: i1, INPUT_1_ready: i1, OUTPUT_0_data: i5, OUTPUT_0_valid: i1, OUTPUT_1_data: i5, OUTPUT_1_valid: i1) diff --git a/tests/gold/test_inline_verilog2_uniquification.mlir b/tests/gold/test_inline_verilog2_uniquification.mlir index 67a469e33..e3ee9fe0d 100644 --- a/tests/gold/test_inline_verilog2_uniquification.mlir +++ b/tests/gold/test_inline_verilog2_uniquification.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Foo(%I: i1) -> () { sv.verbatim "always @(*) $display(\"%d\\n\", {{0}});" (%I) : i1 } diff --git a/tests/gold/test_inline_verilog_expression_compilation_mlir.mlir b/tests/gold/test_inline_verilog_expression_compilation_mlir.mlir index f16a2fff7..5469f51ce 100644 --- a/tests/gold/test_inline_verilog_expression_compilation_mlir.mlir +++ b/tests/gold/test_inline_verilog_expression_compilation_mlir.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @MyWrapperGen_1(%I: i1, %CLK: i1) -> (O: i1) { %0 = sv.verbatim.expr "R | I" () : () -> (i1) sv.verbatim "reg [0:0] R;\nasssign R <= {{0}};\n" (%I) : i1 diff --git a/tests/gold/test_module_linking_no_default.mlir b/tests/gold/test_module_linking_no_default.mlir index e8d19403e..7438fcc95 100644 --- a/tests/gold/test_module_linking_no_default.mlir +++ b/tests/gold/test_module_linking_no_default.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @_OrImpl(%I0: i1, %I1: i1) -> (O: i1) { %0 = comb.or %I0, %I1 : i1 hw.output %0 : i1 diff --git a/tests/gold/test_module_linking_only_default.mlir b/tests/gold/test_module_linking_only_default.mlir index 111884dc0..cc81b2f2a 100644 --- a/tests/gold/test_module_linking_only_default.mlir +++ b/tests/gold/test_module_linking_only_default.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @_OrImpl(%I0: i1, %I1: i1) -> (O: i1) { %0 = comb.or %I0, %I1 : i1 hw.output %0 : i1 diff --git a/tests/gold/test_module_linking_with_default.mlir b/tests/gold/test_module_linking_with_default.mlir index 8d3db711c..6e77197b6 100644 --- a/tests/gold/test_module_linking_with_default.mlir +++ b/tests/gold/test_module_linking_with_default.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @_OrImpl(%I0: i1, %I1: i1) -> (O: i1) { %0 = comb.or %I0, %I1 : i1 hw.output %0 : i1 diff --git a/tests/gold/test_namer_dict_already_named.mlir b/tests/gold/test_namer_dict_already_named.mlir index 5dc2011d6..12a66bccd 100644 --- a/tests/gold/test_namer_dict_already_named.mlir +++ b/tests/gold/test_namer_dict_already_named.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module.extern @Foo(%I: i8) -> (O: i8) hw.module @test_namer_dict_already_named(%I: i8) -> (O: i8) { %1 = sv.wire sym @test_namer_dict_already_named.y name "y" : !hw.inout diff --git a/tests/gold/test_namer_dict_explicit_collision_inst.mlir b/tests/gold/test_namer_dict_explicit_collision_inst.mlir index 577f1b62b..65b023f8e 100644 --- a/tests/gold/test_namer_dict_explicit_collision_inst.mlir +++ b/tests/gold/test_namer_dict_explicit_collision_inst.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module.extern @Foo(%I: i8) -> (O: i8) hw.module @test_namer_dict_explicit_collision_inst(%I: i8) -> (O: i8) { %0 = hw.instance "foo_0" @Foo(I: %I: i8) -> (O: i8) diff --git a/tests/gold/test_namer_dict_explicit_collision_value.mlir b/tests/gold/test_namer_dict_explicit_collision_value.mlir index 2390616a8..96e96673d 100644 --- a/tests/gold/test_namer_dict_explicit_collision_value.mlir +++ b/tests/gold/test_namer_dict_explicit_collision_value.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_namer_dict_explicit_collision_value(%I: i8) -> (O: i8) { %1 = sv.wire sym @test_namer_dict_explicit_collision_value.y_0 name "y_0" : !hw.inout sv.assign %1, %I : i8 diff --git a/tests/gold/test_namer_dict_generator.mlir b/tests/gold/test_namer_dict_generator.mlir index 95a395cdf..a35ae328f 100644 --- a/tests/gold/test_namer_dict_generator.mlir +++ b/tests/gold/test_namer_dict_generator.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Foo(%I: i8) -> (O: i8) { %1 = sv.wire sym @Foo.x name "x" : !hw.inout sv.assign %1, %I : i8 diff --git a/tests/gold/test_namer_dict_multiple.mlir b/tests/gold/test_namer_dict_multiple.mlir index eebb8821e..d81462af0 100644 --- a/tests/gold/test_namer_dict_multiple.mlir +++ b/tests/gold/test_namer_dict_multiple.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module.extern @Foo(%I: i8) -> (O: i8) hw.module @test_namer_dict_multiple(%I: i8) -> (O: i8) { %1 = sv.wire sym @test_namer_dict_multiple.x_0 name "x_0" : !hw.inout diff --git a/tests/gold/test_namer_dict_smart_bits.mlir b/tests/gold/test_namer_dict_smart_bits.mlir index 4e77ea622..fe80bf8d2 100644 --- a/tests/gold/test_namer_dict_smart_bits.mlir +++ b/tests/gold/test_namer_dict_smart_bits.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_namer_dict_smart_bits(%I0: i8, %I1: i8) -> (O: i9) { %0 = comb.extract %I0 from 0 : (i8) -> i1 %1 = comb.extract %I0 from 1 : (i8) -> i1 diff --git a/tests/gold/test_namer_dict_smart_bits_lazy.mlir b/tests/gold/test_namer_dict_smart_bits_lazy.mlir index d6c8823a1..9e408e48b 100644 --- a/tests/gold/test_namer_dict_smart_bits_lazy.mlir +++ b/tests/gold/test_namer_dict_smart_bits_lazy.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_namer_dict_smart_bits_lazy(%I0: i8, %I1: i8) -> (O: i9) { %0 = comb.extract %I0 from 0 : (i8) -> i1 %1 = comb.extract %I0 from 1 : (i8) -> i1 diff --git a/tests/gold/test_namer_dict_smart_bits_lazy_rename.mlir b/tests/gold/test_namer_dict_smart_bits_lazy_rename.mlir index a30bfe353..1ddd76495 100644 --- a/tests/gold/test_namer_dict_smart_bits_lazy_rename.mlir +++ b/tests/gold/test_namer_dict_smart_bits_lazy_rename.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_namer_dict_smart_bits_lazy_rename(%I0: i8, %I1: i8) -> (O: i9) { %0 = comb.extract %I0 from 0 : (i8) -> i1 %1 = comb.extract %I0 from 1 : (i8) -> i1 diff --git a/tests/gold/test_test_inline_verilog2_clock_output.mlir b/tests/gold/test_test_inline_verilog2_clock_output.mlir index 1d2aca446..844e5f4b0 100644 --- a/tests/gold/test_test_inline_verilog2_clock_output.mlir +++ b/tests/gold/test_test_inline_verilog2_clock_output.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_inline_verilog2_clock_output(%x: i1, %y: i1) -> () { sv.verbatim "Foo bar (.x({{0}}), .y({{1}}))" (%x, %y) : i1, i1 } diff --git a/tests/gold/test_test_inline_verilog2_passthrough_wire.mlir b/tests/gold/test_test_inline_verilog2_passthrough_wire.mlir index af7e7cd5b..dbb6d1918 100644 --- a/tests/gold/test_test_inline_verilog2_passthrough_wire.mlir +++ b/tests/gold/test_test_inline_verilog2_passthrough_wire.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_inline_verilog2_passthrough_wire(%I: !hw.struct) -> (O: !hw.struct) { %0 = hw.struct_extract %I["y"] : !hw.struct %1 = comb.extract %0 from 0 : (i4) -> i1 diff --git a/tests/gold/test_test_inline_verilog2_wire_insertion_bad_verilog.mlir b/tests/gold/test_test_inline_verilog2_wire_insertion_bad_verilog.mlir index 12f159025..10af0744f 100644 --- a/tests/gold/test_test_inline_verilog2_wire_insertion_bad_verilog.mlir +++ b/tests/gold/test_test_inline_verilog2_wire_insertion_bad_verilog.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_inline_verilog2_wire_insertion_bad_verilog(%I: i32) -> (O: i1) { %0 = comb.extract %I from 0 : (i32) -> i1 sv.verbatim "`ifdef LOGGING_ON" diff --git a/tests/gold/test_when_2d_array_assign.mlir b/tests/gold/test_when_2d_array_assign.mlir index 9930461dd..1c0b1c8bd 100644 --- a/tests/gold/test_when_2d_array_assign.mlir +++ b/tests/gold/test_when_2d_array_assign.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_2d_array_assign(%I: !hw.array<2xi2>, %S: i1) -> (O: !hw.array<2xi2>) { %1 = sv.reg : !hw.inout> %0 = sv.read_inout %1 : !hw.inout> diff --git a/tests/gold/test_when_2d_array_assign_slice.mlir b/tests/gold/test_when_2d_array_assign_slice.mlir index 88cfc3983..943b1b11e 100644 --- a/tests/gold/test_when_2d_array_assign_slice.mlir +++ b/tests/gold/test_when_2d_array_assign_slice.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_2d_array_assign_slice(%I: !hw.array<4xi2>, %S: i1) -> (O: !hw.array<4xi2>) { %1 = sv.reg : !hw.inout> %0 = sv.read_inout %1 : !hw.inout> diff --git a/tests/gold/test_when_3d_array_assign.mlir b/tests/gold/test_when_3d_array_assign.mlir index b881e357e..b24773d1f 100644 --- a/tests/gold/test_when_3d_array_assign.mlir +++ b/tests/gold/test_when_3d_array_assign.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_3d_array_assign(%I: !hw.array<2x!hw.array<2xi2>>, %S: i1) -> (O: !hw.array<2x!hw.array<2xi2>>) { %1 = sv.reg : !hw.inout>> %0 = sv.read_inout %1 : !hw.inout>> diff --git a/tests/gold/test_when_array_3d_bulk_child.mlir b/tests/gold/test_when_array_3d_bulk_child.mlir index 4f3ca51ad..bea53f30c 100644 --- a/tests/gold/test_when_array_3d_bulk_child.mlir +++ b/tests/gold/test_when_array_3d_bulk_child.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_array_3d_bulk_child(%I: !hw.array<2x!hw.array<2xi2>>, %S: i1) -> (O: !hw.array<2x!hw.array<2xi2>>) { %1 = sv.reg : !hw.inout>> %0 = sv.read_inout %1 : !hw.inout>> diff --git a/tests/gold/test_when_array_resolved_after.mlir b/tests/gold/test_when_array_resolved_after.mlir index f41a7f3df..b5efac342 100644 --- a/tests/gold/test_when_array_resolved_after.mlir +++ b/tests/gold/test_when_array_resolved_after.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_array_resolved_after(%I: i8, %S: i1) -> (O: i16) { %0 = hw.constant 0 : i1 %1 = hw.constant 0 : i1 diff --git a/tests/gold/test_when_double_elsewhen.mlir b/tests/gold/test_when_double_elsewhen.mlir index 4901fd395..1a4eb0b6c 100644 --- a/tests/gold/test_when_double_elsewhen.mlir +++ b/tests/gold/test_when_double_elsewhen.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_double_elsewhen(%I: i2, %S: i2) -> (O: i1) { %0 = comb.extract %S from 0 : (i2) -> i1 %1 = comb.extract %I from 0 : (i2) -> i1 diff --git a/tests/gold/test_when_else.mlir b/tests/gold/test_when_else.mlir index 874eceac8..6749aa548 100644 --- a/tests/gold/test_when_else.mlir +++ b/tests/gold/test_when_else.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_else(%I: i2, %S: i1) -> (O: i1) { %0 = comb.extract %I from 0 : (i2) -> i1 %1 = comb.extract %I from 1 : (i2) -> i1 diff --git a/tests/gold/test_when_elsewhen.mlir b/tests/gold/test_when_elsewhen.mlir index 46a40c4aa..79e2e4da5 100644 --- a/tests/gold/test_when_elsewhen.mlir +++ b/tests/gold/test_when_elsewhen.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_elsewhen(%I: i3, %S: i2) -> (O: i1) { %0 = comb.extract %S from 0 : (i2) -> i1 %1 = comb.extract %I from 0 : (i3) -> i1 diff --git a/tests/gold/test_when_emit_asserts_basic.mlir b/tests/gold/test_when_emit_asserts_basic.mlir index ef816d1f1..e8b738817 100644 --- a/tests/gold/test_when_emit_asserts_basic.mlir +++ b/tests/gold/test_when_emit_asserts_basic.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_emit_asserts_basic(%I: i2, %S: i1) -> (O: i1) { %0 = comb.extract %I from 1 : (i2) -> i1 %1 = comb.extract %I from 0 : (i2) -> i1 diff --git a/tests/gold/test_when_emit_asserts_chained.mlir b/tests/gold/test_when_emit_asserts_chained.mlir index 709819647..ece82b31e 100644 --- a/tests/gold/test_when_emit_asserts_chained.mlir +++ b/tests/gold/test_when_emit_asserts_chained.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_emit_asserts_chained(%I: i2, %S: i2) -> (O: i1) { %0 = comb.extract %S from 1 : (i2) -> i1 %1 = comb.extract %S from 0 : (i2) -> i1 diff --git a/tests/gold/test_when_emit_asserts_elsewhen.mlir b/tests/gold/test_when_emit_asserts_elsewhen.mlir index dc17f80b8..d0d4e64fa 100644 --- a/tests/gold/test_when_emit_asserts_elsewhen.mlir +++ b/tests/gold/test_when_emit_asserts_elsewhen.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_emit_asserts_elsewhen(%I: i2, %S: i2) -> (O: i1) { %0 = comb.extract %S from 0 : (i2) -> i1 %1 = comb.extract %I from 1 : (i2) -> i1 diff --git a/tests/gold/test_when_emit_asserts_elsewhen_otherwise.mlir b/tests/gold/test_when_emit_asserts_elsewhen_otherwise.mlir index a872f638a..d9f980cdd 100644 --- a/tests/gold/test_when_emit_asserts_elsewhen_otherwise.mlir +++ b/tests/gold/test_when_emit_asserts_elsewhen_otherwise.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_emit_asserts_elsewhen_otherwise(%I: i2, %S: i2) -> (O: i1) { %0 = comb.extract %S from 0 : (i2) -> i1 %1 = comb.extract %I from 0 : (i2) -> i1 diff --git a/tests/gold/test_when_emit_asserts_nesting.mlir b/tests/gold/test_when_emit_asserts_nesting.mlir index db1c21c63..a87e9c581 100644 --- a/tests/gold/test_when_emit_asserts_nesting.mlir +++ b/tests/gold/test_when_emit_asserts_nesting.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_emit_asserts_nesting(%I: i2, %S: i2) -> (O: i1) { %0 = comb.extract %S from 0 : (i2) -> i1 %1 = comb.extract %S from 1 : (i2) -> i1 diff --git a/tests/gold/test_when_emit_asserts_otherwise.mlir b/tests/gold/test_when_emit_asserts_otherwise.mlir index b31f8c0f2..0a980f0fb 100644 --- a/tests/gold/test_when_emit_asserts_otherwise.mlir +++ b/tests/gold/test_when_emit_asserts_otherwise.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_emit_asserts_otherwise(%I: i2, %S: i1) -> (O: i1) { %0 = comb.extract %I from 0 : (i2) -> i1 %1 = comb.extract %I from 1 : (i2) -> i1 diff --git a/tests/gold/test_when_emit_asserts_tuple.mlir b/tests/gold/test_when_emit_asserts_tuple.mlir index a79a24280..a84671ed7 100644 --- a/tests/gold/test_when_emit_asserts_tuple.mlir +++ b/tests/gold/test_when_emit_asserts_tuple.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_emit_asserts_tuple(%I_0_0: i8, %I_0_1: i1, %I_1_0: i8, %I_1_1: i1, %S: i1) -> (O_0: i8, O_1: i1) { %2 = sv.reg : !hw.inout %0 = sv.read_inout %2 : !hw.inout diff --git a/tests/gold/test_when_emit_asserts_tuple_elab.mlir b/tests/gold/test_when_emit_asserts_tuple_elab.mlir index 42a9ef993..728851434 100644 --- a/tests/gold/test_when_emit_asserts_tuple_elab.mlir +++ b/tests/gold/test_when_emit_asserts_tuple_elab.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_emit_asserts_tuple_elab(%I_0_0: i8, %I_0_1: i1, %I_1_0: i8, %I_1_1: i1, %S: i1, %CLK: i1) -> (O_0: i8, O_1: i1) { %4 = sv.reg : !hw.inout %2 = sv.read_inout %4 : !hw.inout diff --git a/tests/gold/test_when_emit_asserts_value.mlir b/tests/gold/test_when_emit_asserts_value.mlir index 1abe1f477..46d60862c 100644 --- a/tests/gold/test_when_emit_asserts_value.mlir +++ b/tests/gold/test_when_emit_asserts_value.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_emit_asserts_value(%S: i3, %O_ready: i1, %CLK: i1) -> (O_valid: i1, O_data_x: i1, O_data_y: i8) { %0 = hw.constant 0 : i1 %1 = comb.extract %S from 0 : (i3) -> i1 diff --git a/tests/gold/test_when_internal_instantiation.mlir b/tests/gold/test_when_internal_instantiation.mlir index e87ff18e4..710d55d50 100644 --- a/tests/gold/test_when_internal_instantiation.mlir +++ b/tests/gold/test_when_internal_instantiation.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_internal_instantiation(%I: i2, %S: i1) -> (O: i1) { %0 = comb.extract %I from 0 : (i2) -> i1 %1 = hw.constant 1 : i1 diff --git a/tests/gold/test_when_lazy_array.mlir b/tests/gold/test_when_lazy_array.mlir index 2cd4143cf..410338975 100644 --- a/tests/gold/test_when_lazy_array.mlir +++ b/tests/gold/test_when_lazy_array.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_lazy_array(%S: i1) -> (O: i2) { %0 = hw.constant 0 : i1 %1 = hw.constant 1 : i1 diff --git a/tests/gold/test_when_lazy_array_multiple_whens.mlir b/tests/gold/test_when_lazy_array_multiple_whens.mlir index d262ffa8c..ad0c13072 100644 --- a/tests/gold/test_when_lazy_array_multiple_whens.mlir +++ b/tests/gold/test_when_lazy_array_multiple_whens.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_lazy_array_multiple_whens(%I: i4, %S: i1) -> (O: i4) { %1 = hw.constant -1 : i1 %0 = comb.xor %1, %S : i1 diff --git a/tests/gold/test_when_lazy_array_nested.mlir b/tests/gold/test_when_lazy_array_nested.mlir index c716970dd..dc4703acc 100644 --- a/tests/gold/test_when_lazy_array_nested.mlir +++ b/tests/gold/test_when_lazy_array_nested.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_lazy_array_nested(%S: i1) -> (O: !hw.array<2x!hw.struct>) { %0 = hw.constant 0 : i1 %1 = hw.constant 1 : i1 diff --git a/tests/gold/test_when_lazy_array_protocol.mlir b/tests/gold/test_when_lazy_array_protocol.mlir index b04a91a74..9ba6dd449 100644 --- a/tests/gold/test_when_lazy_array_protocol.mlir +++ b/tests/gold/test_when_lazy_array_protocol.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_lazy_array_protocol(%S: i1) -> (O: !hw.array<2xi1>) { %0 = hw.constant 0 : i1 %1 = hw.constant 1 : i1 diff --git a/tests/gold/test_when_lazy_array_resolve.mlir b/tests/gold/test_when_lazy_array_resolve.mlir index 1ed75c52d..a116340af 100644 --- a/tests/gold/test_when_lazy_array_resolve.mlir +++ b/tests/gold/test_when_lazy_array_resolve.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_lazy_array_resolve(%I: i2, %S: i1) -> (O: i2) { %0 = hw.constant 1 : i2 %1 = comb.shru %I, %0 : i2 diff --git a/tests/gold/test_when_lazy_array_slice.mlir b/tests/gold/test_when_lazy_array_slice.mlir index 314e6362f..097c72573 100644 --- a/tests/gold/test_when_lazy_array_slice.mlir +++ b/tests/gold/test_when_lazy_array_slice.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_lazy_array_slice(%S: i1) -> (O: i4) { %0 = hw.constant 0 : i2 %1 = hw.constant 1 : i2 diff --git a/tests/gold/test_when_lazy_array_slice_driving_resolve.mlir b/tests/gold/test_when_lazy_array_slice_driving_resolve.mlir index ccd2d251f..a44c50b2e 100644 --- a/tests/gold/test_when_lazy_array_slice_driving_resolve.mlir +++ b/tests/gold/test_when_lazy_array_slice_driving_resolve.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_lazy_array_slice_driving_resolve(%S: i1) -> (O: i4) { %0 = hw.constant 1 : i1 %1 = hw.constant 2 : i4 diff --git a/tests/gold/test_when_lazy_array_slice_driving_resolve_2.mlir b/tests/gold/test_when_lazy_array_slice_driving_resolve_2.mlir index 008b501e5..4205d76c2 100644 --- a/tests/gold/test_when_lazy_array_slice_driving_resolve_2.mlir +++ b/tests/gold/test_when_lazy_array_slice_driving_resolve_2.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_lazy_array_slice_driving_resolve_2(%I: i4, %S: i1) -> (O: i4) { %0 = hw.constant 4 : i4 %1 = hw.constant 0 : i1 diff --git a/tests/gold/test_when_lazy_array_slice_overlap.mlir b/tests/gold/test_when_lazy_array_slice_overlap.mlir index c7e903ba5..f18e15f76 100644 --- a/tests/gold/test_when_lazy_array_slice_overlap.mlir +++ b/tests/gold/test_when_lazy_array_slice_overlap.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_lazy_array_slice_overlap(%I: i4, %S: i1) -> (O: i4) { %1 = sv.reg : !hw.inout %0 = sv.read_inout %1 : !hw.inout diff --git a/tests/gold/test_when_memory_Bits8.mlir b/tests/gold/test_when_memory_Bits8.mlir index e8fdc2b33..a077be66a 100644 --- a/tests/gold/test_when_memory_Bits8.mlir +++ b/tests/gold/test_when_memory_Bits8.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Memory(%RADDR: i5, %CLK: i1, %WADDR: i5, %WDATA: i8, %WE: i1) -> (RDATA: i8) { %1 = sv.reg name "coreir_mem32x8_inst0" : !hw.inout> %2 = sv.array_index_inout %1[%RADDR] : !hw.inout>, i5 diff --git a/tests/gold/test_when_memory_Tuplex_Bit_y_Bits7.mlir b/tests/gold/test_when_memory_Tuplex_Bit_y_Bits7.mlir index e82ac00e8..ae8a092b1 100644 --- a/tests/gold/test_when_memory_Tuplex_Bit_y_Bits7.mlir +++ b/tests/gold/test_when_memory_Tuplex_Bit_y_Bits7.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Memory(%RADDR: i5, %CLK: i1, %WADDR: i5, %WDATA_x: i1, %WDATA_y: i7, %WE: i1) -> (RDATA_x: i1, RDATA_y: i7) { %0 = comb.extract %WDATA_y from 0 : (i7) -> i1 %1 = comb.extract %WDATA_y from 1 : (i7) -> i1 diff --git a/tests/gold/test_when_multiple_drivers.mlir b/tests/gold/test_when_multiple_drivers.mlir index 02c430cad..aa3fa9690 100644 --- a/tests/gold/test_when_multiple_drivers.mlir +++ b/tests/gold/test_when_multiple_drivers.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_multiple_drivers(%I: i2, %S: i2) -> (O0: i1, O1: i1) { %0 = comb.extract %S from 0 : (i2) -> i1 %1 = comb.extract %S from 1 : (i2) -> i1 diff --git a/tests/gold/test_when_nested_Array2_AnonProductxBit_yBits2_Bit.mlir b/tests/gold/test_when_nested_Array2_AnonProductxBit_yBits2_Bit.mlir index cf887f4ce..c72cf450a 100644 --- a/tests/gold/test_when_nested_Array2_AnonProductxBit_yBits2_Bit.mlir +++ b/tests/gold/test_when_nested_Array2_AnonProductxBit_yBits2_Bit.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_nested_Array2_AnonProductxBit_yBits2_Bit(%I_0_0_x: i1, %I_0_0_y: i2, %I_0_1_x: i1, %I_0_1_y: i2, %I_1_0_x: i1, %I_1_0_y: i2, %I_1_1_x: i1, %I_1_1_y: i2, %S: i1) -> (O_0_x: i1, O_0_y: i2, O_1_x: i1, O_1_y: i2) { %4 = sv.reg : !hw.inout %0 = sv.read_inout %4 : !hw.inout diff --git a/tests/gold/test_when_nested_Tuplex_Bits2_y_Bit.mlir b/tests/gold/test_when_nested_Tuplex_Bits2_y_Bit.mlir index 2b2dc5686..d8501cf86 100644 --- a/tests/gold/test_when_nested_Tuplex_Bits2_y_Bit.mlir +++ b/tests/gold/test_when_nested_Tuplex_Bits2_y_Bit.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_nested_Tuplex_Bits2_y_Bit(%I_0_x: i2, %I_0_y: i1, %I_1_x: i2, %I_1_y: i1, %S: i1) -> (O_x: i2, O_y: i1) { %2 = sv.reg : !hw.inout %0 = sv.read_inout %2 : !hw.inout diff --git a/tests/gold/test_when_nested_array_assign.mlir b/tests/gold/test_when_nested_array_assign.mlir index b05057c99..580d4fcc9 100644 --- a/tests/gold/test_when_nested_array_assign.mlir +++ b/tests/gold/test_when_nested_array_assign.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_nested_array_assign(%I_x: i1, %I_y_0: i1, %I_y_1: i8, %S: i1) -> (O_x: i1, O_y_0: i1, O_y_1: i8) { %1 = sv.reg : !hw.inout %0 = sv.read_inout %1 : !hw.inout diff --git a/tests/gold/test_when_nested_otherwise.mlir b/tests/gold/test_when_nested_otherwise.mlir index 10c647b4a..c44c3d2f3 100644 --- a/tests/gold/test_when_nested_otherwise.mlir +++ b/tests/gold/test_when_nested_otherwise.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_nested_otherwise(%I: i2, %S: i2) -> (O: i2) { %1 = hw.constant -1 : i2 %0 = comb.icmp eq %S, %1 : i2 diff --git a/tests/gold/test_when_nested_with_default.mlir b/tests/gold/test_when_nested_with_default.mlir index 6ea2c8622..5e8ffae94 100644 --- a/tests/gold/test_when_nested_with_default.mlir +++ b/tests/gold/test_when_nested_with_default.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_nested_with_default(%I: i2, %S: i2) -> (O: i1) { %0 = comb.extract %S from 0 : (i2) -> i1 %1 = comb.extract %S from 1 : (i2) -> i1 diff --git a/tests/gold/test_when_non_port.mlir b/tests/gold/test_when_non_port.mlir index 5683ed566..78248aded 100644 --- a/tests/gold/test_when_non_port.mlir +++ b/tests/gold/test_when_non_port.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_non_port(%I: i2, %S: i1) -> (O: i1) { %0 = comb.extract %I from 0 : (i2) -> i1 %1 = comb.extract %I from 1 : (i2) -> i1 diff --git a/tests/gold/test_when_output_resolve.mlir b/tests/gold/test_when_output_resolve.mlir index fe8b018dd..441c2239f 100644 --- a/tests/gold/test_when_output_resolve.mlir +++ b/tests/gold/test_when_output_resolve.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_output_resolve(%I: i8, %x: i1) -> (O0: i8, O1: i2) { %1 = sv.wire sym @test_when_output_resolve.x name "x" : !hw.inout sv.assign %1, %I : i8 diff --git a/tests/gold/test_when_output_resolve2.mlir b/tests/gold/test_when_output_resolve2.mlir index cf979b86f..b7051a540 100644 --- a/tests/gold/test_when_output_resolve2.mlir +++ b/tests/gold/test_when_output_resolve2.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_output_resolve2(%I: i8, %x: i1) -> (O0: i8, O1: i8) { %1 = hw.constant -1 : i8 %0 = comb.xor %1, %I : i8 diff --git a/tests/gold/test_when_override.mlir b/tests/gold/test_when_override.mlir index 46d16d1ee..20c519e17 100644 --- a/tests/gold/test_when_override.mlir +++ b/tests/gold/test_when_override.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_override(%I: i2, %S: i1) -> (O: i1) { %0 = comb.extract %I from 1 : (i2) -> i1 %1 = comb.extract %I from 0 : (i2) -> i1 diff --git a/tests/gold/test_when_partial_array_assign.mlir b/tests/gold/test_when_partial_array_assign.mlir index 31c3238e2..740ce5445 100644 --- a/tests/gold/test_when_partial_array_assign.mlir +++ b/tests/gold/test_when_partial_array_assign.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_partial_array_assign(%I: i2, %S: i1) -> (O: i2) { %0 = comb.extract %I from 1 : (i2) -> i1 %1 = comb.extract %I from 0 : (i2) -> i1 diff --git a/tests/gold/test_when_partial_assign_order.mlir b/tests/gold/test_when_partial_assign_order.mlir index b2283fc9e..a04ebf467 100644 --- a/tests/gold/test_when_partial_assign_order.mlir +++ b/tests/gold/test_when_partial_assign_order.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_partial_assign_order(%I: i2, %S: i2) -> (O0: i2, O1: i2, O2: i2) { %0 = comb.extract %S from 0 : (i2) -> i1 %2 = hw.constant -1 : i2 diff --git a/tests/gold/test_when_reg_ce.mlir b/tests/gold/test_when_reg_ce.mlir index 512306461..e47398eb6 100644 --- a/tests/gold/test_when_reg_ce.mlir +++ b/tests/gold/test_when_reg_ce.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_reg_ce(%I: i8, %CE: i1, %CLK: i1) -> (O: i8) { %0 = hw.constant 1 : i1 %1 = hw.constant 0 : i1 diff --git a/tests/gold/test_when_reg_ce_already_wired.mlir b/tests/gold/test_when_reg_ce_already_wired.mlir index 5f5729934..3f702cdf0 100644 --- a/tests/gold/test_when_reg_ce_already_wired.mlir +++ b/tests/gold/test_when_reg_ce_already_wired.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_reg_ce_already_wired(%I: i8, %x: i1, %y: i1, %CLK: i1) -> (O: i8) { %2 = sv.reg : !hw.inout %1 = sv.read_inout %2 : !hw.inout diff --git a/tests/gold/test_when_reg_ce_explicit_wire.mlir b/tests/gold/test_when_reg_ce_explicit_wire.mlir index 29bd8f7cd..8a88ccd29 100644 --- a/tests/gold/test_when_reg_ce_explicit_wire.mlir +++ b/tests/gold/test_when_reg_ce_explicit_wire.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_reg_ce_explicit_wire(%I: i8, %x: i1, %y: i1, %CLK: i1) -> (O: i8) { %0 = hw.constant 0 : i1 %4 = sv.reg : !hw.inout diff --git a/tests/gold/test_when_reg_ce_explicit_wire_twice.mlir b/tests/gold/test_when_reg_ce_explicit_wire_twice.mlir index 49bcfdec8..4f0e8ce1c 100644 --- a/tests/gold/test_when_reg_ce_explicit_wire_twice.mlir +++ b/tests/gold/test_when_reg_ce_explicit_wire_twice.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_reg_ce_explicit_wire_twice(%I: i8, %x: i1, %y: i1, %CLK: i1) -> (O: i8) { %2 = sv.reg : !hw.inout %1 = sv.read_inout %2 : !hw.inout diff --git a/tests/gold/test_when_reg_ce_explicit_wire_with_default.mlir b/tests/gold/test_when_reg_ce_explicit_wire_with_default.mlir index f95b133e7..4c1cbfaa9 100644 --- a/tests/gold/test_when_reg_ce_explicit_wire_with_default.mlir +++ b/tests/gold/test_when_reg_ce_explicit_wire_with_default.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_reg_ce_explicit_wire_with_default(%I: i8, %x: i1, %y: i1, %CLK: i1) -> (O: i8) { %0 = hw.constant 1 : i1 %4 = sv.reg : !hw.inout diff --git a/tests/gold/test_when_reg_ce_implicit_override.mlir b/tests/gold/test_when_reg_ce_implicit_override.mlir index 4c80ac381..eccf1c937 100644 --- a/tests/gold/test_when_reg_ce_implicit_override.mlir +++ b/tests/gold/test_when_reg_ce_implicit_override.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_reg_ce_implicit_override(%I: i8, %x: i1, %y: i1, %CLK: i1) -> (O: i8) { %0 = hw.constant 1 : i1 %4 = sv.reg : !hw.inout diff --git a/tests/gold/test_when_reg_ce_implicit_wire_twice.mlir b/tests/gold/test_when_reg_ce_implicit_wire_twice.mlir index 13380f0e3..b05c6c155 100644 --- a/tests/gold/test_when_reg_ce_implicit_wire_twice.mlir +++ b/tests/gold/test_when_reg_ce_implicit_wire_twice.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_reg_ce_implicit_wire_twice(%I: i8, %x: i1, %y: i1, %CLK: i1) -> (O: i8) { %0 = hw.constant 1 : i1 %1 = hw.constant 0 : i1 diff --git a/tests/gold/test_when_reg_ce_multiple.mlir b/tests/gold/test_when_reg_ce_multiple.mlir index 735386288..e26258ed2 100644 --- a/tests/gold/test_when_reg_ce_multiple.mlir +++ b/tests/gold/test_when_reg_ce_multiple.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_reg_ce_multiple(%I: i8, %CE: i2, %CLK: i1) -> (O: i8) { %0 = comb.extract %CE from 0 : (i2) -> i1 %1 = hw.constant 1 : i1 diff --git a/tests/gold/test_when_register_default.mlir b/tests/gold/test_when_register_default.mlir index 6da8a89e8..059e35be6 100644 --- a/tests/gold/test_when_register_default.mlir +++ b/tests/gold/test_when_register_default.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_register_default(%I: i1, %E: i1, %CLK: i1) -> (O: i1) { %2 = sv.reg : !hw.inout %1 = sv.read_inout %2 : !hw.inout diff --git a/tests/gold/test_when_register_no_default.mlir b/tests/gold/test_when_register_no_default.mlir index 0e374725e..ded2f343c 100644 --- a/tests/gold/test_when_register_no_default.mlir +++ b/tests/gold/test_when_register_no_default.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_register_no_default(%I: i1, %E: i1, %CLK: i1) -> (O: i1) { %1 = hw.constant -1 : i1 %0 = comb.xor %1, %I : i1 diff --git a/tests/gold/test_when_spurious_assign.mlir b/tests/gold/test_when_spurious_assign.mlir index e1f238cc8..d5fccb243 100644 --- a/tests/gold/test_when_spurious_assign.mlir +++ b/tests/gold/test_when_spurious_assign.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_spurious_assign(%x: i8, %y: i1, %z: i2, %CLK: i1) -> (O_x: i8, O_y_x: i8, O_y_y: i1) { %0 = comb.extract %z from 0 : (i2) -> i1 %1 = comb.extract %z from 1 : (i2) -> i1 diff --git a/tests/gold/test_when_temporary_resolved.mlir b/tests/gold/test_when_temporary_resolved.mlir index 70f860cc4..0443dfdfe 100644 --- a/tests/gold/test_when_temporary_resolved.mlir +++ b/tests/gold/test_when_temporary_resolved.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none,disallowLocalVariables"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,disallowLocalVariables,omitVersionComment"} { hw.module @test_when_temporary_resolved(%I: i8, %S: i2, %CLK: i1) -> (O: i8) { %0 = comb.extract %S from 0 : (i2) -> i1 %2 = comb.extract %1 from 1 : (i8) -> i1 diff --git a/tests/gold/test_when_tuple_as_bits_resolve.mlir b/tests/gold/test_when_tuple_as_bits_resolve.mlir index f23a1d62f..f80719cb3 100644 --- a/tests/gold/test_when_tuple_as_bits_resolve.mlir +++ b/tests/gold/test_when_tuple_as_bits_resolve.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none,disallowLocalVariables"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,disallowLocalVariables,omitVersionComment"} { hw.module @test_when_tuple_as_bits_resolve(%I_x_y: i1, %I_x_z_x: i8, %I_x_z_y: i1, %I_x_x: !hw.array<2xi8>, %I_y: i8, %S: i1) -> (O_x_y: i1, O_x_z_x: i8, O_x_z_y: i1, O_x_x: !hw.array<2xi8>, O_y: i8, X: i34) { %1 = hw.constant 0 : i1 %0 = hw.array_get %I_x_x[%1] : !hw.array<2xi8>, i1 diff --git a/tests/gold/test_when_tuple_bulk_resolve.mlir b/tests/gold/test_when_tuple_bulk_resolve.mlir index b76241a5f..429f9b4d1 100644 --- a/tests/gold/test_when_tuple_bulk_resolve.mlir +++ b/tests/gold/test_when_tuple_bulk_resolve.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_tuple_bulk_resolve(%I_x: i8, %I_y_x_x: i8, %I_y_x_y: i8, %I_y_y_x: i8, %I_y_y_y: i8, %S: i2, %CLK: i1) -> (O_x: i8, O_y_x_x: i8, O_y_x_y: i8, O_y_y_x: i8, O_y_y_y: i8) { %0 = comb.extract %S from 0 : (i2) -> i1 %3 = sv.wire sym @test_when_tuple_bulk_resolve._WHEN_ASSERT_5 name "_WHEN_ASSERT_5" : !hw.inout diff --git a/tests/gold/test_when_unique.mlir b/tests/gold/test_when_unique.mlir index cc58ca75e..8a52d396d 100644 --- a/tests/gold/test_when_unique.mlir +++ b/tests/gold/test_when_unique.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Gen(%a: i8) -> (y: i8) { %0 = comb.extract %a from 0 : (i8) -> i1 %1 = comb.extract %a from 1 : (i8) -> i1 diff --git a/tests/gold/test_when_user_reg.mlir b/tests/gold/test_when_user_reg.mlir index 8e29cbc37..1139ae3af 100644 --- a/tests/gold/test_when_user_reg.mlir +++ b/tests/gold/test_when_user_reg.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module.extern @Register(%I: i8, %CLK: i1) -> (O: i8) hw.module @test_when_user_reg(%I: i8, %x: i1, %CLK: i1) -> (O: i8) { %2 = sv.reg : !hw.inout diff --git a/tests/gold/test_when_user_reg_enable.mlir b/tests/gold/test_when_user_reg_enable.mlir index d46cce1c9..8d34cd4d4 100644 --- a/tests/gold/test_when_user_reg_enable.mlir +++ b/tests/gold/test_when_user_reg_enable.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module.extern @Register(%I: i8, %CE: i1, %CLK: i1) -> (O: i8) hw.module @test_when_user_reg_enable(%I: i8, %x: i2, %CLK: i1) -> (O: i8) { %0 = comb.extract %x from 0 : (i2) -> i1 diff --git a/tests/gold/test_when_with_default.mlir b/tests/gold/test_when_with_default.mlir index 8232652f3..ad5e6124b 100644 --- a/tests/gold/test_when_with_default.mlir +++ b/tests/gold/test_when_with_default.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_when_with_default(%I: i2, %S: i1) -> (O: i1) { %0 = comb.extract %I from 1 : (i2) -> i1 %1 = comb.extract %I from 0 : (i2) -> i1 diff --git a/tests/test_backend/test_mlir/golds/aggregate_constant.mlir b/tests/test_backend/test_mlir/golds/aggregate_constant.mlir index ff999f3f1..db6062629 100644 --- a/tests/test_backend/test_mlir/golds/aggregate_constant.mlir +++ b/tests/test_backend/test_mlir/golds/aggregate_constant.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @aggregate_constant() -> (y: !hw.struct) { %0 = hw.constant 0 : i8 %1 = hw.constant 0 : i4 diff --git a/tests/test_backend/test_mlir/golds/aggregate_constant.v b/tests/test_backend/test_mlir/golds/aggregate_constant.v index d97eb90c6..ae6419e23 100644 --- a/tests/test_backend/test_mlir/golds/aggregate_constant.v +++ b/tests/test_backend/test_mlir/golds/aggregate_constant.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module aggregate_constant( output struct packed {logic [7:0] x; logic [3:0] y; } y ); diff --git a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper.mlir b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper.mlir index c607e4708..f63cb76b9 100644 --- a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper.mlir +++ b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @aggregate_mux_wrapper(%a: !hw.struct, %s: i1) -> (y: !hw.struct) { %0 = hw.struct_extract %a["x"] : !hw.struct %2 = hw.constant -1 : i8 diff --git a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper.v b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper.v index b3d01c8b1..3f138e012 100644 --- a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper.v +++ b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module aggregate_mux_wrapper( input struct packed {logic [7:0] x; logic y; } a, input s, diff --git a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes.mlir b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes.mlir index c607e4708..f63cb76b9 100644 --- a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes.mlir +++ b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @aggregate_mux_wrapper(%a: !hw.struct, %s: i1) -> (y: !hw.struct) { %0 = hw.struct_extract %a["x"] : !hw.struct %2 = hw.constant -1 : i8 diff --git a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes.v b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes.v index b3d01c8b1..3f138e012 100644 --- a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes.v +++ b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module aggregate_mux_wrapper( input struct packed {logic [7:0] x; logic y; } a, input s, diff --git a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.mlir b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.mlir index 4e9ee8e87..d1884ed26 100644 --- a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.mlir +++ b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @aggregate_mux_wrapper(%a_x: i8, %a_y: i1, %s: i1) -> (y_x: i8, y_y: i1) { %1 = hw.constant -1 : i8 %0 = comb.xor %1, %a_x : i8 diff --git a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.v b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.v index 8a00003c7..567449a78 100644 --- a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.v +++ b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module aggregate_mux_wrapper( input [7:0] a_x, input a_y, diff --git a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_flatten_all_tuples.mlir b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_flatten_all_tuples.mlir index 4e9ee8e87..d1884ed26 100644 --- a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_flatten_all_tuples.mlir +++ b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_flatten_all_tuples.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @aggregate_mux_wrapper(%a_x: i8, %a_y: i1, %s: i1) -> (y_x: i8, y_y: i1) { %1 = hw.constant -1 : i8 %0 = comb.xor %1, %a_x : i8 diff --git a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_flatten_all_tuples.v b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_flatten_all_tuples.v index 8a00003c7..567449a78 100644 --- a/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_flatten_all_tuples.v +++ b/tests/test_backend/test_mlir/golds/aggregate_mux_wrapper_flatten_all_tuples.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module aggregate_mux_wrapper( input [7:0] a_x, input a_y, diff --git a/tests/test_backend/test_mlir/golds/complex_aggregates_nested_array.mlir b/tests/test_backend/test_mlir/golds/complex_aggregates_nested_array.mlir index 4f6e63395..f7a410c00 100644 --- a/tests/test_backend/test_mlir/golds/complex_aggregates_nested_array.mlir +++ b/tests/test_backend/test_mlir/golds/complex_aggregates_nested_array.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_aggregates_nested_array(%a: !hw.array<2x!hw.array<3xi4>>) -> (y: !hw.array<2x!hw.array<3xi4>>) { %1 = hw.constant 0 : i1 %0 = hw.array_get %a[%1] : !hw.array<2x!hw.array<3xi4>>, i1 diff --git a/tests/test_backend/test_mlir/golds/complex_aggregates_nested_array.v b/tests/test_backend/test_mlir/golds/complex_aggregates_nested_array.v index a97f9dbf1..acabd7187 100644 --- a/tests/test_backend/test_mlir/golds/complex_aggregates_nested_array.v +++ b/tests/test_backend/test_mlir/golds/complex_aggregates_nested_array.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_aggregates_nested_array( input [1:0][2:0][3:0] a, output [1:0][2:0][3:0] y diff --git a/tests/test_backend/test_mlir/golds/complex_bind.mlir b/tests/test_backend/test_mlir/golds/complex_bind.mlir index 9635acdea..c687f3365 100644 --- a/tests/test_backend/test_mlir/golds/complex_bind.mlir +++ b/tests/test_backend/test_mlir/golds/complex_bind.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_bind_asserts(%I: !hw.struct, %O: i1, %CLK: i1, %I0: i1) -> () { %0 = hw.struct_extract %I["I"] : !hw.struct sv.verbatim "assert property (@(posedge CLK) {{1}} |-> ##1 {{0}});assert property ({{1}} |-> {{2}};" (%O, %0, %I0) : i1, i1, i1 diff --git a/tests/test_backend/test_mlir/golds/complex_bind.v b/tests/test_backend/test_mlir/golds/complex_bind.v index 7b734b812..80e4e6e8d 100644 --- a/tests/test_backend/test_mlir/golds/complex_bind.v +++ b/tests/test_backend/test_mlir/golds/complex_bind.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_bind_asserts( input struct packed {logic I; } I, input O, @@ -26,7 +25,6 @@ endmodule // ----- 8< ----- FILE "bindfile.sv" ----- 8< ----- -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef bind complex_bind complex_bind_asserts complex_bind_asserts_inst ( .I (I), .O (Register_inst0), diff --git a/tests/test_backend/test_mlir/golds/complex_bind_flatten_all_tuples.mlir b/tests/test_backend/test_mlir/golds/complex_bind_flatten_all_tuples.mlir index 5289691f0..633dc8870 100644 --- a/tests/test_backend/test_mlir/golds/complex_bind_flatten_all_tuples.mlir +++ b/tests/test_backend/test_mlir/golds/complex_bind_flatten_all_tuples.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_bind_asserts(%I_I: i1, %O: i1, %CLK: i1, %I0: i1) -> () { sv.verbatim "assert property (@(posedge CLK) {{1}} |-> ##1 {{0}});assert property ({{1}} |-> {{2}};" (%O, %I_I, %I0) : i1, i1, i1 } diff --git a/tests/test_backend/test_mlir/golds/complex_bind_flatten_all_tuples.v b/tests/test_backend/test_mlir/golds/complex_bind_flatten_all_tuples.v index 70ef44dd9..78f917ebc 100644 --- a/tests/test_backend/test_mlir/golds/complex_bind_flatten_all_tuples.v +++ b/tests/test_backend/test_mlir/golds/complex_bind_flatten_all_tuples.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_bind_asserts( input I_I, O, @@ -26,7 +25,6 @@ endmodule // ----- 8< ----- FILE "bindfile.sv" ----- 8< ----- -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef bind complex_bind complex_bind_asserts complex_bind_asserts_inst ( .I_I (I_I), .O (Register_inst0), diff --git a/tests/test_backend/test_mlir/golds/complex_inline_verilog.mlir b/tests/test_backend/test_mlir/golds/complex_inline_verilog.mlir index da9ecc708..6b4343ae0 100644 --- a/tests/test_backend/test_mlir/golds/complex_inline_verilog.mlir +++ b/tests/test_backend/test_mlir/golds/complex_inline_verilog.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_inline_verilog(%I: i12, %CLK: i1) -> (O: i12) { %1 = sv.reg name "Register_inst0" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_backend/test_mlir/golds/complex_inline_verilog.v b/tests/test_backend/test_mlir/golds/complex_inline_verilog.v index 7a0df13ab..af64bc4a7 100644 --- a/tests/test_backend/test_mlir/golds/complex_inline_verilog.v +++ b/tests/test_backend/test_mlir/golds/complex_inline_verilog.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_inline_verilog( input [11:0] I, input CLK, diff --git a/tests/test_backend/test_mlir/golds/complex_inline_verilog2.mlir b/tests/test_backend/test_mlir/golds/complex_inline_verilog2.mlir index c03aceda4..ac8b94033 100644 --- a/tests/test_backend/test_mlir/golds/complex_inline_verilog2.mlir +++ b/tests/test_backend/test_mlir/golds/complex_inline_verilog2.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_inline_verilog2(%I: i12, %CLK: i1) -> (O: i12) { %1 = sv.reg name "Register_inst0" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_backend/test_mlir/golds/complex_inline_verilog2.v b/tests/test_backend/test_mlir/golds/complex_inline_verilog2.v index 26d9b3b8f..17e9a24c2 100644 --- a/tests/test_backend/test_mlir/golds/complex_inline_verilog2.v +++ b/tests/test_backend/test_mlir/golds/complex_inline_verilog2.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_inline_verilog2( input [11:0] I, input CLK, diff --git a/tests/test_backend/test_mlir/golds/complex_lut.mlir b/tests/test_backend/test_mlir/golds/complex_lut.mlir index 6ae0810b3..38a8a3e23 100644 --- a/tests/test_backend/test_mlir/golds/complex_lut.mlir +++ b/tests/test_backend/test_mlir/golds/complex_lut.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @LUT(%I: i2) -> (O: !hw.array<2x!hw.struct>) { %1 = hw.constant 0 : i1 %2 = hw.constant 1 : i1 diff --git a/tests/test_backend/test_mlir/golds/complex_lut.v b/tests/test_backend/test_mlir/golds/complex_lut.v index c27ac35f9..df0a1dd5e 100644 --- a/tests/test_backend/test_mlir/golds/complex_lut.v +++ b/tests/test_backend/test_mlir/golds/complex_lut.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module LUT( input [1:0] I, output struct packed {logic [7:0] x; logic y; }[1:0] O diff --git a/tests/test_backend/test_mlir/golds/complex_magma_protocol.mlir b/tests/test_backend/test_mlir/golds/complex_magma_protocol.mlir index 0e2b45a1a..852f29f67 100644 --- a/tests/test_backend/test_mlir/golds/complex_magma_protocol.mlir +++ b/tests/test_backend/test_mlir/golds/complex_magma_protocol.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_magma_protocol(%I: i8) -> (O: i8) { hw.output %I : i8 } diff --git a/tests/test_backend/test_mlir/golds/complex_magma_protocol.v b/tests/test_backend/test_mlir/golds/complex_magma_protocol.v index 5660bb5b6..93841cd0e 100644 --- a/tests/test_backend/test_mlir/golds/complex_magma_protocol.v +++ b/tests/test_backend/test_mlir/golds/complex_magma_protocol.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_magma_protocol( input [7:0] I, output [7:0] O diff --git a/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports.mlir b/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports.mlir index 8a62020dc..43d16a772 100644 --- a/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports.mlir +++ b/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_mixed_direction_ports(%a_0_x: i8, %a_1_x: i8, %a_2_x: i8, %a_3_x: i8, %a_4_x: i8, %a_5_x: i8, %a_6_x: i8, %a_7_x: i8, %b_y: i8) -> (a_0_y: i8, a_1_y: i8, a_2_y: i8, a_3_y: i8, a_4_y: i8, a_5_y: i8, a_6_y: i8, a_7_y: i8, b_x: i8) { %0 = hw.constant 0 : i8 %1 = hw.constant 0 : i8 diff --git a/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports.v b/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports.v index cfc88604b..bd776b599 100644 --- a/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports.v +++ b/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_mixed_direction_ports( input [7:0] a_0_x, a_1_x, diff --git a/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports2.mlir b/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports2.mlir index 6174c86fd..a61f888fa 100644 --- a/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports2.mlir +++ b/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports2.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_mixed_direction_ports(%a_x: i8) -> (a_y: i8) { hw.output %a_x : i8 } diff --git a/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports2.v b/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports2.v index 1dfca1c37..1275ff461 100644 --- a/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports2.v +++ b/tests/test_backend/test_mlir/golds/complex_mixed_direction_ports2.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_mixed_direction_ports( input [7:0] a_x, output [7:0] a_y diff --git a/tests/test_backend/test_mlir/golds/complex_register_wrapper.mlir b/tests/test_backend/test_mlir/golds/complex_register_wrapper.mlir index 9c7933440..fbefd18ae 100644 --- a/tests/test_backend/test_mlir/golds/complex_register_wrapper.mlir +++ b/tests/test_backend/test_mlir/golds/complex_register_wrapper.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_register_wrapper(%a: !hw.struct, %b: !hw.array<6xi16>, %CLK: i1, %CE: i1, %ASYNCRESET: i1) -> (y: !hw.struct, v: !hw.array<6xi16>>) { %1 = sv.reg name "Register_inst0" : !hw.inout> sv.alwaysff(posedge %CLK) { diff --git a/tests/test_backend/test_mlir/golds/complex_register_wrapper.v b/tests/test_backend/test_mlir/golds/complex_register_wrapper.v index 6fcf61a58..6d1c32e7f 100644 --- a/tests/test_backend/test_mlir/golds/complex_register_wrapper.v +++ b/tests/test_backend/test_mlir/golds/complex_register_wrapper.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_register_wrapper( input struct packed {logic [7:0] x; logic y; } a, input [5:0][15:0] b, diff --git a/tests/test_backend/test_mlir/golds/complex_register_wrapper_disable_initial_blocks.mlir b/tests/test_backend/test_mlir/golds/complex_register_wrapper_disable_initial_blocks.mlir index b9ac6124a..81dbfc9ab 100644 --- a/tests/test_backend/test_mlir/golds/complex_register_wrapper_disable_initial_blocks.mlir +++ b/tests/test_backend/test_mlir/golds/complex_register_wrapper_disable_initial_blocks.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_register_wrapper(%a: !hw.struct, %b: !hw.array<6xi16>, %CLK: i1, %CE: i1, %ASYNCRESET: i1) -> (y: !hw.struct, v: !hw.array<6xi16>>) { %1 = sv.reg name "Register_inst0" : !hw.inout> sv.alwaysff(posedge %CLK) { diff --git a/tests/test_backend/test_mlir/golds/complex_register_wrapper_disable_initial_blocks.v b/tests/test_backend/test_mlir/golds/complex_register_wrapper_disable_initial_blocks.v index 66e457e5f..c0e2ee18b 100644 --- a/tests/test_backend/test_mlir/golds/complex_register_wrapper_disable_initial_blocks.v +++ b/tests/test_backend/test_mlir/golds/complex_register_wrapper_disable_initial_blocks.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_register_wrapper( input struct packed {logic [7:0] x; logic y; } a, input [5:0][15:0] b, diff --git a/tests/test_backend/test_mlir/golds/complex_register_wrapper_elaborate_magma_registers.mlir b/tests/test_backend/test_mlir/golds/complex_register_wrapper_elaborate_magma_registers.mlir index a4f22af82..61267d1d5 100644 --- a/tests/test_backend/test_mlir/golds/complex_register_wrapper_elaborate_magma_registers.mlir +++ b/tests/test_backend/test_mlir/golds/complex_register_wrapper_elaborate_magma_registers.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Register(%I: !hw.struct, %CE: i1, %CLK: i1, %ASYNCRESET: i1) -> (O: !hw.struct) { %1 = comb.extract %0 from 1 : (i9) -> i1 %2 = comb.extract %0 from 2 : (i9) -> i1 diff --git a/tests/test_backend/test_mlir/golds/complex_register_wrapper_elaborate_magma_registers.v b/tests/test_backend/test_mlir/golds/complex_register_wrapper_elaborate_magma_registers.v index ba42eed86..a9026c8ef 100644 --- a/tests/test_backend/test_mlir/golds/complex_register_wrapper_elaborate_magma_registers.v +++ b/tests/test_backend/test_mlir/golds/complex_register_wrapper_elaborate_magma_registers.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module Register( input struct packed {logic [7:0] x; logic y; } I, input CE, diff --git a/tests/test_backend/test_mlir/golds/complex_register_wrapper_flatten_all_tuples.mlir b/tests/test_backend/test_mlir/golds/complex_register_wrapper_flatten_all_tuples.mlir index 49dff3208..9db40c4e1 100644 --- a/tests/test_backend/test_mlir/golds/complex_register_wrapper_flatten_all_tuples.mlir +++ b/tests/test_backend/test_mlir/golds/complex_register_wrapper_flatten_all_tuples.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_register_wrapper(%a_x: i8, %a_y: i1, %b: !hw.array<6xi16>, %CLK: i1, %CE: i1, %ASYNCRESET: i1) -> (y_u_x: i8, y_u_y: i1, y_v: !hw.array<6xi16>) { %2 = sv.reg name "Register_inst0" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_backend/test_mlir/golds/complex_register_wrapper_flatten_all_tuples.v b/tests/test_backend/test_mlir/golds/complex_register_wrapper_flatten_all_tuples.v index 4f0a8eae5..46eaeaa0f 100644 --- a/tests/test_backend/test_mlir/golds/complex_register_wrapper_flatten_all_tuples.v +++ b/tests/test_backend/test_mlir/golds/complex_register_wrapper_flatten_all_tuples.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_register_wrapper( input [7:0] a_x, input a_y, diff --git a/tests/test_backend/test_mlir/golds/complex_undriven.mlir b/tests/test_backend/test_mlir/golds/complex_undriven.mlir index 81b841f0e..a5684be17 100644 --- a/tests/test_backend/test_mlir/golds/complex_undriven.mlir +++ b/tests/test_backend/test_mlir/golds/complex_undriven.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_undriven() -> (O: !hw.struct) { %1 = sv.wire sym @complex_undriven.undriven_inst0 : !hw.inout %0 = sv.read_inout %1 : !hw.inout diff --git a/tests/test_backend/test_mlir/golds/complex_undriven.v b/tests/test_backend/test_mlir/golds/complex_undriven.v index 1c8f642c2..445eb9b56 100644 --- a/tests/test_backend/test_mlir/golds/complex_undriven.v +++ b/tests/test_backend/test_mlir/golds/complex_undriven.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_undriven( output struct packed {logic [7:0] x; logic y; } O ); diff --git a/tests/test_backend/test_mlir/golds/complex_wire.mlir b/tests/test_backend/test_mlir/golds/complex_wire.mlir index 76d747c04..91d6671bb 100644 --- a/tests/test_backend/test_mlir/golds/complex_wire.mlir +++ b/tests/test_backend/test_mlir/golds/complex_wire.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @complex_wire(%I0: i8, %I1: i1, %I2: !hw.array<4xi8>) -> (O0: i8, O1: i1, O2: !hw.array<4xi8>) { %1 = sv.wire sym @complex_wire.tmp0 name "tmp0" : !hw.inout sv.assign %1, %I0 : i8 diff --git a/tests/test_backend/test_mlir/golds/complex_wire.v b/tests/test_backend/test_mlir/golds/complex_wire.v index 2d46a7b75..1e53dc00c 100644 --- a/tests/test_backend/test_mlir/golds/complex_wire.v +++ b/tests/test_backend/test_mlir/golds/complex_wire.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module complex_wire( input [7:0] I0, input I1, diff --git a/tests/test_backend/test_mlir/golds/counter.mlir b/tests/test_backend/test_mlir/golds/counter.mlir index 148cfacce..ea7c6393e 100644 --- a/tests/test_backend/test_mlir/golds/counter.mlir +++ b/tests/test_backend/test_mlir/golds/counter.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @counter(%CLK: i1) -> (y: i16) { %0 = hw.constant 1 : i16 %2 = comb.add %1, %0 : i16 diff --git a/tests/test_backend/test_mlir/golds/counter.v b/tests/test_backend/test_mlir/golds/counter.v index 5061a21e8..8ec7b246a 100644 --- a/tests/test_backend/test_mlir/golds/counter.v +++ b/tests/test_backend/test_mlir/golds/counter.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module counter( input CLK, output [15:0] y diff --git a/tests/test_backend/test_mlir/golds/feedthrough.mlir b/tests/test_backend/test_mlir/golds/feedthrough.mlir index c635b12ea..29bffe67a 100644 --- a/tests/test_backend/test_mlir/golds/feedthrough.mlir +++ b/tests/test_backend/test_mlir/golds/feedthrough.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @feedthrough(%I: i1) -> (O: i1) { hw.output %I : i1 } diff --git a/tests/test_backend/test_mlir/golds/feedthrough.v b/tests/test_backend/test_mlir/golds/feedthrough.v index 649dfe15b..f0d1adf1e 100644 --- a/tests/test_backend/test_mlir/golds/feedthrough.v +++ b/tests/test_backend/test_mlir/golds/feedthrough.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module feedthrough( input I, output O diff --git a/tests/test_backend/test_mlir/golds/inline_verilog_output.v b/tests/test_backend/test_mlir/golds/inline_verilog_output.v deleted file mode 100644 index ff7a1eba1..000000000 --- a/tests/test_backend/test_mlir/golds/inline_verilog_output.v +++ /dev/null @@ -1,16 +0,0 @@ -// Generated by CIRCT circtorg-0.0.0-1773-g7abbc4313 -module inline_verilog_output( - input I, - CLK, - output O -); - - reg Register_inst0; - always_ff @(posedge CLK) - Register_inst0 <= I; - initial - Register_inst0 = 1'h0; - assert property (@(posedge CLK) I |-> ##1 Register_inst0); - assign O = Register_inst0; -endmodule - diff --git a/tests/test_backend/test_mlir/golds/multiport_memory.mlir b/tests/test_backend/test_mlir/golds/multiport_memory.mlir index 8888abaf4..5b1d6da7e 100644 --- a/tests/test_backend/test_mlir/golds/multiport_memory.mlir +++ b/tests/test_backend/test_mlir/golds/multiport_memory.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @multiport_memory(%raddr_0: i2, %raddr_1: i2, %waddr_0: i2, %wdata_0: i5, %we_0: i1, %waddr_1: i2, %wdata_1: i5, %we_1: i1, %clk: i1) -> (rdata_0: i5, rdata_1: i5) { %2 = sv.reg name "MultiportMemory_inst0" : !hw.inout> %3 = sv.array_index_inout %2[%raddr_0] : !hw.inout>, i2 diff --git a/tests/test_backend/test_mlir/golds/multiport_memory.v b/tests/test_backend/test_mlir/golds/multiport_memory.v index 5e640b9c1..7b69a6023 100644 --- a/tests/test_backend/test_mlir/golds/multiport_memory.v +++ b/tests/test_backend/test_mlir/golds/multiport_memory.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module multiport_memory( input [1:0] raddr_0, raddr_1, diff --git a/tests/test_backend/test_mlir/golds/multiport_memory_re.mlir b/tests/test_backend/test_mlir/golds/multiport_memory_re.mlir index 9cb685356..26ce869c1 100644 --- a/tests/test_backend/test_mlir/golds/multiport_memory_re.mlir +++ b/tests/test_backend/test_mlir/golds/multiport_memory_re.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @multiport_memory_re(%raddr_0: i2, %raddr_1: i2, %waddr_0: i2, %wdata_0: i5, %we_0: i1, %waddr_1: i2, %wdata_1: i5, %we_1: i1, %clk: i1, %re_0: i1, %re_1: i1) -> (rdata_0: i5, rdata_1: i5) { %2 = sv.reg name "MultiportMemory_inst0" : !hw.inout> %3 = sv.array_index_inout %2[%raddr_0] : !hw.inout>, i2 diff --git a/tests/test_backend/test_mlir/golds/multiport_memory_re.v b/tests/test_backend/test_mlir/golds/multiport_memory_re.v index e8d277d21..8737c8c43 100644 --- a/tests/test_backend/test_mlir/golds/multiport_memory_re.v +++ b/tests/test_backend/test_mlir/golds/multiport_memory_re.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module multiport_memory_re( input [1:0] raddr_0, raddr_1, diff --git a/tests/test_backend/test_mlir/golds/no_outputs.mlir b/tests/test_backend/test_mlir/golds/no_outputs.mlir index 6cbc08c92..5a159dddd 100644 --- a/tests/test_backend/test_mlir/golds/no_outputs.mlir +++ b/tests/test_backend/test_mlir/golds/no_outputs.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @no_outputs(%I: i1) -> () { %1 = hw.constant -1 : i1 %0 = comb.xor %1, %I : i1 diff --git a/tests/test_backend/test_mlir/golds/no_outputs.v b/tests/test_backend/test_mlir/golds/no_outputs.v index aa8eef3c4..9eb4b1c6c 100644 --- a/tests/test_backend/test_mlir/golds/no_outputs.v +++ b/tests/test_backend/test_mlir/golds/no_outputs.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module no_outputs( input I ); diff --git a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper.mlir b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper.mlir index b5c1540e7..9c084ab88 100644 --- a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper.mlir +++ b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @non_power_of_two_mux_wrapper(%a: !hw.struct, %s: i4) -> (y: !hw.struct) { %0 = hw.struct_extract %a["x"] : !hw.struct %2 = hw.constant -1 : i8 diff --git a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper.v b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper.v index 9f8e8b1e9..67f84cbb7 100644 --- a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper.v +++ b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module non_power_of_two_mux_wrapper( input struct packed {logic [7:0] x; logic y; } a, input [3:0] s, diff --git a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes.mlir b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes.mlir index 10e9fc7fd..f8c3d2adb 100644 --- a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes.mlir +++ b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @non_power_of_two_mux_wrapper(%a: !hw.struct, %s: i4) -> (y: !hw.struct) { %0 = hw.struct_extract %a["x"] : !hw.struct %2 = hw.constant -1 : i8 diff --git a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes.v b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes.v index 96f575401..d3e668d3e 100644 --- a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes.v +++ b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module non_power_of_two_mux_wrapper( input struct packed {logic [7:0] x; logic y; } a, input [3:0] s, diff --git a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.mlir b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.mlir index 8b67e756c..f6e43525f 100644 --- a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.mlir +++ b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @non_power_of_two_mux_wrapper(%a_x: i8, %a_y: i1, %s: i4) -> (y_x: i8, y_y: i1) { %1 = hw.constant -1 : i8 %0 = comb.xor %1, %a_x : i8 diff --git a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.v b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.v index 53ac7494c..7bd31c6bd 100644 --- a/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.v +++ b/tests/test_backend/test_mlir/golds/non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module non_power_of_two_mux_wrapper( input [7:0] a_x, input a_y, diff --git a/tests/test_backend/test_mlir/golds/register_array_of_bit.mlir b/tests/test_backend/test_mlir/golds/register_array_of_bit.mlir index 07757055b..293c20e20 100644 --- a/tests/test_backend/test_mlir/golds/register_array_of_bit.mlir +++ b/tests/test_backend/test_mlir/golds/register_array_of_bit.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @register_array_of_bit(%I: i4, %CLK: i1) -> (O: i4) { %1 = sv.reg name "Register_inst0" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_backend/test_mlir/golds/register_array_of_bit.v b/tests/test_backend/test_mlir/golds/register_array_of_bit.v index 9f1e849d7..65b53ad69 100644 --- a/tests/test_backend/test_mlir/golds/register_array_of_bit.v +++ b/tests/test_backend/test_mlir/golds/register_array_of_bit.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module register_array_of_bit( input [3:0] I, input CLK, diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product.mlir b/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product.mlir index 0661954df..9be4d042f 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product.mlir +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_aggregates_anon_product(%a: !hw.struct) -> (y: !hw.struct) { %0 = hw.struct_extract %a["x"] : !hw.struct %2 = hw.constant -1 : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product.v b/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product.v index 7b7501347..97296646e 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product.v +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_aggregates_anon_product( input struct packed {logic [7:0] x; logic [7:0] y; } a, output struct packed {logic [7:0] x; logic [7:0] y; } y diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product_flatten_all_tuples.mlir b/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product_flatten_all_tuples.mlir index 926847623..f6df76e5d 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product_flatten_all_tuples.mlir +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product_flatten_all_tuples.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_aggregates_anon_product(%a_x: i8, %a_y: i8) -> (y_x: i8, y_y: i8) { %1 = hw.constant -1 : i8 %0 = comb.xor %1, %a_x : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product_flatten_all_tuples.v b/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product_flatten_all_tuples.v index fd2ded348..2d3b634e5 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product_flatten_all_tuples.v +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_anon_product_flatten_all_tuples.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_aggregates_anon_product( input [7:0] a_x, a_y, diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_array.mlir b/tests/test_backend/test_mlir/golds/simple_aggregates_array.mlir index 9f2e62338..22e6d8dc3 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_array.mlir +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_array.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_aggregates_array(%a: !hw.array<8xi16>) -> (y: !hw.array<8xi16>, z: !hw.array<4xi16>) { %1 = hw.constant 4 : i3 %0 = hw.array_slice %a[%1] : (!hw.array<8xi16>) -> !hw.array<4xi16> diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_array.v b/tests/test_backend/test_mlir/golds/simple_aggregates_array.v index 9e6ab2eb3..bb2a7a16c 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_array.v +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_array.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_aggregates_array( input [7:0][15:0] a, output [7:0][15:0] y, diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_bits.mlir b/tests/test_backend/test_mlir/golds/simple_aggregates_bits.mlir index 3f60680e9..462946170 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_bits.mlir +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_bits.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_aggregates_bits(%a: i16) -> (y: i16, z: i8) { %0 = comb.extract %a from 8 : (i16) -> i8 %1 = comb.extract %a from 0 : (i16) -> i8 diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_bits.v b/tests/test_backend/test_mlir/golds/simple_aggregates_bits.v index add71409b..fbd35ff5e 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_bits.v +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_bits.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_aggregates_bits( input [15:0] a, output [15:0] y, diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_nested_array.mlir b/tests/test_backend/test_mlir/golds/simple_aggregates_nested_array.mlir index ebe9b2a01..1f522464a 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_nested_array.mlir +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_nested_array.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_aggregates_nested_array(%a: !hw.array<8x!hw.array<4xi16>>) -> (y: !hw.array<8x!hw.array<4xi16>>) { %1 = hw.constant 4 : i3 %0 = hw.array_slice %a[%1] : (!hw.array<8x!hw.array<4xi16>>) -> !hw.array<4x!hw.array<4xi16>> diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_nested_array.v b/tests/test_backend/test_mlir/golds/simple_aggregates_nested_array.v index 3b812ce30..94b6ed8ae 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_nested_array.v +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_nested_array.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_aggregates_nested_array( input [7:0][3:0][15:0] a, output [7:0][3:0][15:0] y diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_product.mlir b/tests/test_backend/test_mlir/golds/simple_aggregates_product.mlir index 7de31bec2..d0167f8b3 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_product.mlir +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_product.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_aggregates_product(%a: !hw.struct) -> (y: !hw.struct) { %0 = hw.struct_extract %a["x"] : !hw.struct %2 = hw.constant -1 : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_product.v b/tests/test_backend/test_mlir/golds/simple_aggregates_product.v index f1ffcf7a8..8e3d7ff15 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_product.v +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_product.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_aggregates_product( input struct packed {logic [7:0] x; logic [7:0] y; } a, output struct packed {logic [7:0] x; logic [7:0] y; } y diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_product_flatten_all_tuples.mlir b/tests/test_backend/test_mlir/golds/simple_aggregates_product_flatten_all_tuples.mlir index cc75fdf25..7f5fed8d5 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_product_flatten_all_tuples.mlir +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_product_flatten_all_tuples.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_aggregates_product(%a_x: i8, %a_y: i8) -> (y_x: i8, y_y: i8) { %1 = hw.constant -1 : i8 %0 = comb.xor %1, %a_x : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_product_flatten_all_tuples.v b/tests/test_backend/test_mlir/golds/simple_aggregates_product_flatten_all_tuples.v index 516e3747c..745450009 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_product_flatten_all_tuples.v +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_product_flatten_all_tuples.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_aggregates_product( input [7:0] a_x, a_y, diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_tuple.mlir b/tests/test_backend/test_mlir/golds/simple_aggregates_tuple.mlir index 5fee293e5..d588e4ac4 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_tuple.mlir +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_tuple.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_aggregates_tuple(%a: !hw.struct<_0: i8, _1: i8>) -> (y: !hw.struct<_0: i8, _1: i8>) { %0 = hw.struct_extract %a["_0"] : !hw.struct<_0: i8, _1: i8> %2 = hw.constant -1 : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_aggregates_tuple.v b/tests/test_backend/test_mlir/golds/simple_aggregates_tuple.v index 76a21cfba..9fe2bde9f 100644 --- a/tests/test_backend/test_mlir/golds/simple_aggregates_tuple.v +++ b/tests/test_backend/test_mlir/golds/simple_aggregates_tuple.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_aggregates_tuple( input struct packed {logic [7:0] _0; logic [7:0] _1; } a, output struct packed {logic [7:0] _0; logic [7:0] _1; } y diff --git a/tests/test_backend/test_mlir/golds/simple_array_of_bit.mlir b/tests/test_backend/test_mlir/golds/simple_array_of_bit.mlir index b51cbed0d..23c66ba60 100644 --- a/tests/test_backend/test_mlir/golds/simple_array_of_bit.mlir +++ b/tests/test_backend/test_mlir/golds/simple_array_of_bit.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_array_of_bit(%I: i8) -> (O: i8) { %0 = comb.extract %I from 7 : (i8) -> i1 %1 = comb.extract %I from 6 : (i8) -> i1 diff --git a/tests/test_backend/test_mlir/golds/simple_array_of_bit.v b/tests/test_backend/test_mlir/golds/simple_array_of_bit.v index 0f76cdc98..4bdbc07f3 100644 --- a/tests/test_backend/test_mlir/golds/simple_array_of_bit.v +++ b/tests/test_backend/test_mlir/golds/simple_array_of_bit.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_array_of_bit( input [7:0] I, output [7:0] O diff --git a/tests/test_backend/test_mlir/golds/simple_array_slice.mlir b/tests/test_backend/test_mlir/golds/simple_array_slice.mlir index 266eb7507..20b420ec1 100644 --- a/tests/test_backend/test_mlir/golds/simple_array_slice.mlir +++ b/tests/test_backend/test_mlir/golds/simple_array_slice.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_array_slice(%a: !hw.array<12xi8>) -> (y: !hw.array<4xi8>) { %1 = hw.constant 0 : i4 %0 = hw.array_slice %a[%1] : (!hw.array<12xi8>) -> !hw.array<4xi8> diff --git a/tests/test_backend/test_mlir/golds/simple_array_slice.v b/tests/test_backend/test_mlir/golds/simple_array_slice.v index edec946f7..dd74ecff8 100644 --- a/tests/test_backend/test_mlir/golds/simple_array_slice.v +++ b/tests/test_backend/test_mlir/golds/simple_array_slice.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_array_slice( input [11:0][7:0] a, output [3:0][7:0] y diff --git a/tests/test_backend/test_mlir/golds/simple_bind.mlir b/tests/test_backend/test_mlir/golds/simple_bind.mlir index c509cb510..41d25df9d 100644 --- a/tests/test_backend/test_mlir/golds/simple_bind.mlir +++ b/tests/test_backend/test_mlir/golds/simple_bind.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_bind_asserts(%I: i1, %O: i1, %CLK: i1) -> () { sv.verbatim "assert property (@(posedge CLK) {{1}} |-> ##1 {{0}});" (%O, %I) : i1, i1 } diff --git a/tests/test_backend/test_mlir/golds/simple_bind.v b/tests/test_backend/test_mlir/golds/simple_bind.v index 4aa68c124..ee2029812 100644 --- a/tests/test_backend/test_mlir/golds/simple_bind.v +++ b/tests/test_backend/test_mlir/golds/simple_bind.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_bind_asserts( input I, O, @@ -25,7 +24,6 @@ endmodule // ----- 8< ----- FILE "bindfile.sv" ----- 8< ----- -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef bind simple_bind simple_bind_asserts simple_bind_asserts_inst ( .I (I), .O (Register_inst0), diff --git a/tests/test_backend/test_mlir/golds/simple_clock_cast.mlir b/tests/test_backend/test_mlir/golds/simple_clock_cast.mlir index 9d0ae99a2..6f4baff83 100644 --- a/tests/test_backend/test_mlir/golds/simple_clock_cast.mlir +++ b/tests/test_backend/test_mlir/golds/simple_clock_cast.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_clock_cast(%I: i1) -> (O: i1) { hw.output %I : i1 } diff --git a/tests/test_backend/test_mlir/golds/simple_clock_cast.v b/tests/test_backend/test_mlir/golds/simple_clock_cast.v index c1581f977..efd386d80 100644 --- a/tests/test_backend/test_mlir/golds/simple_clock_cast.v +++ b/tests/test_backend/test_mlir/golds/simple_clock_cast.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_clock_cast( input I, output O diff --git a/tests/test_backend/test_mlir/golds/simple_comb.mlir b/tests/test_backend/test_mlir/golds/simple_comb.mlir index bbbbffdc5..60967d8eb 100644 --- a/tests/test_backend/test_mlir/golds/simple_comb.mlir +++ b/tests/test_backend/test_mlir/golds/simple_comb.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_comb(%a: i16, %b: i16, %c: i16) -> (y: i16, z: i16) { %1 = hw.constant -1 : i16 %0 = comb.xor %1, %a : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_comb.v b/tests/test_backend/test_mlir/golds/simple_comb.v index 62569f64f..973ed674e 100644 --- a/tests/test_backend/test_mlir/golds/simple_comb.v +++ b/tests/test_backend/test_mlir/golds/simple_comb.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_comb( input [15:0] a, b, diff --git a/tests/test_backend/test_mlir/golds/simple_comb_disallow_expression_inlining_in_ports.mlir b/tests/test_backend/test_mlir/golds/simple_comb_disallow_expression_inlining_in_ports.mlir index bbbbffdc5..60967d8eb 100644 --- a/tests/test_backend/test_mlir/golds/simple_comb_disallow_expression_inlining_in_ports.mlir +++ b/tests/test_backend/test_mlir/golds/simple_comb_disallow_expression_inlining_in_ports.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_comb(%a: i16, %b: i16, %c: i16) -> (y: i16, z: i16) { %1 = hw.constant -1 : i16 %0 = comb.xor %1, %a : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_comb_disallow_expression_inlining_in_ports_disallow_expression_inlining_in_ports.mlir b/tests/test_backend/test_mlir/golds/simple_comb_disallow_expression_inlining_in_ports_disallow_expression_inlining_in_ports.mlir index 5d1d95b6c..16f502eee 100644 --- a/tests/test_backend/test_mlir/golds/simple_comb_disallow_expression_inlining_in_ports_disallow_expression_inlining_in_ports.mlir +++ b/tests/test_backend/test_mlir/golds/simple_comb_disallow_expression_inlining_in_ports_disallow_expression_inlining_in_ports.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none,disallowExpressionInliningInPorts"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,disallowExpressionInliningInPorts,omitVersionComment"} { hw.module @simple_comb(%a: i16, %b: i16, %c: i16) -> (y: i16, z: i16) { %1 = hw.constant -1 : i16 %0 = comb.xor %1, %a : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_comb_explicit_bitcast.mlir b/tests/test_backend/test_mlir/golds/simple_comb_explicit_bitcast.mlir index bbbbffdc5..60967d8eb 100644 --- a/tests/test_backend/test_mlir/golds/simple_comb_explicit_bitcast.mlir +++ b/tests/test_backend/test_mlir/golds/simple_comb_explicit_bitcast.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_comb(%a: i16, %b: i16, %c: i16) -> (y: i16, z: i16) { %1 = hw.constant -1 : i16 %0 = comb.xor %1, %a : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_comb_explicit_bitcast_explicit_bitcast.mlir b/tests/test_backend/test_mlir/golds/simple_comb_explicit_bitcast_explicit_bitcast.mlir index c176a4bcb..0e6049c33 100644 --- a/tests/test_backend/test_mlir/golds/simple_comb_explicit_bitcast_explicit_bitcast.mlir +++ b/tests/test_backend/test_mlir/golds/simple_comb_explicit_bitcast_explicit_bitcast.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none,explicitBitcast"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,explicitBitcast,omitVersionComment"} { hw.module @simple_comb(%a: i16, %b: i16, %c: i16) -> (y: i16, z: i16) { %1 = hw.constant -1 : i16 %0 = comb.xor %1, %a : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_comb_verilog_prefix.mlir b/tests/test_backend/test_mlir/golds/simple_comb_verilog_prefix.mlir index b00454140..fc699eee1 100644 --- a/tests/test_backend/test_mlir/golds/simple_comb_verilog_prefix.mlir +++ b/tests/test_backend/test_mlir/golds/simple_comb_verilog_prefix.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @proj_simple_comb(%a: i16, %b: i16, %c: i16) -> (y: i16, z: i16) { %1 = hw.constant -1 : i16 %0 = comb.xor %1, %a : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_comb_verilog_prefix.v b/tests/test_backend/test_mlir/golds/simple_comb_verilog_prefix.v index b36114a5d..c8beb29d6 100644 --- a/tests/test_backend/test_mlir/golds/simple_comb_verilog_prefix.v +++ b/tests/test_backend/test_mlir/golds/simple_comb_verilog_prefix.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module proj_simple_comb( input [15:0] a, b, diff --git a/tests/test_backend/test_mlir/golds/simple_compile_guard.mlir b/tests/test_backend/test_mlir/golds/simple_compile_guard.mlir index 7083acb94..3c0913452 100644 --- a/tests/test_backend/test_mlir/golds/simple_compile_guard.mlir +++ b/tests/test_backend/test_mlir/golds/simple_compile_guard.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @COND1_compile_guard(%port_0: i1, %port_1: i1) -> () { %1 = sv.reg name "Register_inst0" : !hw.inout sv.alwaysff(posedge %port_1) { diff --git a/tests/test_backend/test_mlir/golds/simple_compile_guard.v b/tests/test_backend/test_mlir/golds/simple_compile_guard.v index 64750bc47..5943e1586 100644 --- a/tests/test_backend/test_mlir/golds/simple_compile_guard.v +++ b/tests/test_backend/test_mlir/golds/simple_compile_guard.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module COND1_compile_guard( input port_0, port_1 diff --git a/tests/test_backend/test_mlir/golds/simple_constant.mlir b/tests/test_backend/test_mlir/golds/simple_constant.mlir index 1a77a6413..95e1c4a2a 100644 --- a/tests/test_backend/test_mlir/golds/simple_constant.mlir +++ b/tests/test_backend/test_mlir/golds/simple_constant.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_constant(%I: i8) -> (O: i8) { %0 = hw.constant 1 : i8 %1 = comb.shl %I, %0 : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_constant.v b/tests/test_backend/test_mlir/golds/simple_constant.v index 12c8a430d..ea5938287 100644 --- a/tests/test_backend/test_mlir/golds/simple_constant.v +++ b/tests/test_backend/test_mlir/golds/simple_constant.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_constant( input [7:0] I, output [7:0] O diff --git a/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper.v b/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper.v deleted file mode 100644 index 2ca70c208..000000000 --- a/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper.v +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by CIRCT circtorg-0.0.0-1018-g3a39b339f -module simple_coreir_common_lib_mux_n_wrapper( - input [7:0][5:0] I_data, - input [2:0] I_sel, - output [5:0] O); - - assign O = I_data[I_sel]; -endmodule - diff --git a/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper_flatten_all_tuples.mlir b/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper_flatten_all_tuples.mlir index d1d1f6625..5ba3d250f 100644 --- a/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper_flatten_all_tuples.mlir +++ b/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper_flatten_all_tuples.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_coreir_common_lib_mux_n_wrapper(%I_data: !hw.array<8xi6>, %I_sel: i3) -> (O: i6) { %0 = hw.array_get %I_data[%I_sel] : !hw.array<8xi6>, i3 hw.output %0 : i6 diff --git a/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper_flatten_all_tuples.v b/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper_flatten_all_tuples.v index 04c277301..730bd950a 100644 --- a/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper_flatten_all_tuples.v +++ b/tests/test_backend/test_mlir/golds/simple_coreir_common_lib_mux_n_wrapper_flatten_all_tuples.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_coreir_common_lib_mux_n_wrapper( input [7:0][5:0] I_data, input [2:0] I_sel, diff --git a/tests/test_backend/test_mlir/golds/simple_custom_verilog_name.mlir b/tests/test_backend/test_mlir/golds/simple_custom_verilog_name.mlir index 50b5f9ba3..225544d48 100644 --- a/tests/test_backend/test_mlir/golds/simple_custom_verilog_name.mlir +++ b/tests/test_backend/test_mlir/golds/simple_custom_verilog_name.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_custom_verilog_name_custom_name(%I: i1) -> (O: i1) { hw.output %I : i1 } diff --git a/tests/test_backend/test_mlir/golds/simple_custom_verilog_name.v b/tests/test_backend/test_mlir/golds/simple_custom_verilog_name.v index c18aab4c6..babf6956f 100644 --- a/tests/test_backend/test_mlir/golds/simple_custom_verilog_name.v +++ b/tests/test_backend/test_mlir/golds/simple_custom_verilog_name.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_custom_verilog_name_custom_name( input I, output O diff --git a/tests/test_backend/test_mlir/golds/simple_decl_external.mlir b/tests/test_backend/test_mlir/golds/simple_decl_external.mlir index 06eed35b6..94b2b15d9 100644 --- a/tests/test_backend/test_mlir/golds/simple_decl_external.mlir +++ b/tests/test_backend/test_mlir/golds/simple_decl_external.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module.extern @simple_decl(%I: i1) -> (O: i1) hw.module @simple_decl_external(%I: i1) -> (O: i1) { %0 = hw.instance "simple_decl_inst0" @simple_decl(I: %I: i1) -> (O: i1) diff --git a/tests/test_backend/test_mlir/golds/simple_decl_external.v b/tests/test_backend/test_mlir/golds/simple_decl_external.v index 974e60fb3..ae46b1a02 100644 --- a/tests/test_backend/test_mlir/golds/simple_decl_external.v +++ b/tests/test_backend/test_mlir/golds/simple_decl_external.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef // external module simple_decl module simple_decl_external( diff --git a/tests/test_backend/test_mlir/golds/simple_disallow_local_variables.mlir b/tests/test_backend/test_mlir/golds/simple_disallow_local_variables.mlir index 0e7d8aa64..ea8630bea 100644 --- a/tests/test_backend/test_mlir/golds/simple_disallow_local_variables.mlir +++ b/tests/test_backend/test_mlir/golds/simple_disallow_local_variables.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_disallow_local_variables(%x: i2, %s: i1) -> (O: i2) { %1 = hw.constant -1 : i1 %0 = comb.xor %1, %s : i1 diff --git a/tests/test_backend/test_mlir/golds/simple_disallow_local_variables.v b/tests/test_backend/test_mlir/golds/simple_disallow_local_variables.v index af3e2014a..2c308f3c1 100644 --- a/tests/test_backend/test_mlir/golds/simple_disallow_local_variables.v +++ b/tests/test_backend/test_mlir/golds/simple_disallow_local_variables.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_disallow_local_variables( input [1:0] x, input s, diff --git a/tests/test_backend/test_mlir/golds/simple_disallow_local_variables_disallow_local_variables.mlir b/tests/test_backend/test_mlir/golds/simple_disallow_local_variables_disallow_local_variables.mlir index 661ffe52e..483340809 100644 --- a/tests/test_backend/test_mlir/golds/simple_disallow_local_variables_disallow_local_variables.mlir +++ b/tests/test_backend/test_mlir/golds/simple_disallow_local_variables_disallow_local_variables.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none,disallowLocalVariables"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,disallowLocalVariables,omitVersionComment"} { hw.module @simple_disallow_local_variables(%x: i2, %s: i1) -> (O: i2) { %1 = hw.constant -1 : i1 %0 = comb.xor %1, %s : i1 diff --git a/tests/test_backend/test_mlir/golds/simple_disallow_local_variables_disallow_local_variables.v b/tests/test_backend/test_mlir/golds/simple_disallow_local_variables_disallow_local_variables.v index af3e2014a..2c308f3c1 100644 --- a/tests/test_backend/test_mlir/golds/simple_disallow_local_variables_disallow_local_variables.v +++ b/tests/test_backend/test_mlir/golds/simple_disallow_local_variables_disallow_local_variables.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_disallow_local_variables( input [1:0] x, input s, diff --git a/tests/test_backend/test_mlir/golds/simple_div.mlir b/tests/test_backend/test_mlir/golds/simple_div.mlir index bcac5b0f7..22bbff037 100644 --- a/tests/test_backend/test_mlir/golds/simple_div.mlir +++ b/tests/test_backend/test_mlir/golds/simple_div.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_div(%a: i16, %b: i16) -> (y: i16, z: i16) { %0 = comb.divu %a, %b : i16 %1 = comb.divs %a, %b : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_div.v b/tests/test_backend/test_mlir/golds/simple_div.v index ace9aa164..0142a2c33 100644 --- a/tests/test_backend/test_mlir/golds/simple_div.v +++ b/tests/test_backend/test_mlir/golds/simple_div.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_div( input [15:0] a, b, diff --git a/tests/test_backend/test_mlir/golds/simple_duplicate_symbols_disallow_duplicate_symbols.mlir b/tests/test_backend/test_mlir/golds/simple_duplicate_symbols_disallow_duplicate_symbols.mlir index 25fd62d77..15c1a4331 100644 --- a/tests/test_backend/test_mlir/golds/simple_duplicate_symbols_disallow_duplicate_symbols.mlir +++ b/tests/test_backend/test_mlir/golds/simple_duplicate_symbols_disallow_duplicate_symbols.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_duplicate_symbols(%I: i1) -> (O: i2) { %1 = sv.wire sym @simple_duplicate_symbols.x name "x" : !hw.inout sv.assign %1, %I : i1 diff --git a/tests/test_backend/test_mlir/golds/simple_duplicate_symbols_disallow_duplicate_symbols.v b/tests/test_backend/test_mlir/golds/simple_duplicate_symbols_disallow_duplicate_symbols.v index 955e851ef..6d3796a10 100644 --- a/tests/test_backend/test_mlir/golds/simple_duplicate_symbols_disallow_duplicate_symbols.v +++ b/tests/test_backend/test_mlir/golds/simple_duplicate_symbols_disallow_duplicate_symbols.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_duplicate_symbols( input I, output [1:0] O diff --git a/tests/test_backend/test_mlir/golds/simple_hierarchy.mlir b/tests/test_backend/test_mlir/golds/simple_hierarchy.mlir index 13696e320..a69dc3327 100644 --- a/tests/test_backend/test_mlir/golds/simple_hierarchy.mlir +++ b/tests/test_backend/test_mlir/golds/simple_hierarchy.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_comb(%a: i16, %b: i16, %c: i16) -> (y: i16, z: i16) { %1 = hw.constant -1 : i16 %0 = comb.xor %1, %a : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_hierarchy.v b/tests/test_backend/test_mlir/golds/simple_hierarchy.v index 814d94499..5ede869ec 100644 --- a/tests/test_backend/test_mlir/golds/simple_hierarchy.v +++ b/tests/test_backend/test_mlir/golds/simple_hierarchy.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_comb( input [15:0] a, b, diff --git a/tests/test_backend/test_mlir/golds/simple_hierarchy_split_verilog.mlir b/tests/test_backend/test_mlir/golds/simple_hierarchy_split_verilog.mlir index c97f6e6f9..3ddcc73f1 100644 --- a/tests/test_backend/test_mlir/golds/simple_hierarchy_split_verilog.mlir +++ b/tests/test_backend/test_mlir/golds/simple_hierarchy_split_verilog.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_comb(%a: i16, %b: i16, %c: i16) -> (y: i16, z: i16) attributes {output_file = #hw.output_file<"tests/test_backend/test_mlir/build/simple_hierarchy.v">} { %1 = hw.constant -1 : i16 %0 = comb.xor %1, %a : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_inline_verilog.mlir b/tests/test_backend/test_mlir/golds/simple_inline_verilog.mlir index d055832e3..8a91057ed 100644 --- a/tests/test_backend/test_mlir/golds/simple_inline_verilog.mlir +++ b/tests/test_backend/test_mlir/golds/simple_inline_verilog.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_inline_verilog(%I: i1) -> (O: i1) { %0 = hw.constant 0 : i1 sv.verbatim "\n\t// This is 'a' \"comment\".\n" (%0) : i1 diff --git a/tests/test_backend/test_mlir/golds/simple_inline_verilog.v b/tests/test_backend/test_mlir/golds/simple_inline_verilog.v index df789d89f..45c560a37 100644 --- a/tests/test_backend/test_mlir/golds/simple_inline_verilog.v +++ b/tests/test_backend/test_mlir/golds/simple_inline_verilog.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_inline_verilog( input I, output O diff --git a/tests/test_backend/test_mlir/golds/simple_inline_verilog2.mlir b/tests/test_backend/test_mlir/golds/simple_inline_verilog2.mlir index 621975b67..61969c837 100644 --- a/tests/test_backend/test_mlir/golds/simple_inline_verilog2.mlir +++ b/tests/test_backend/test_mlir/golds/simple_inline_verilog2.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_inline_verilog2(%I: i1) -> (O: i1) { sv.verbatim "\n\t// This is 'a' \"comment\".\n" hw.output %I : i1 diff --git a/tests/test_backend/test_mlir/golds/simple_inline_verilog2.v b/tests/test_backend/test_mlir/golds/simple_inline_verilog2.v index 5d2417db7..b5e5b4dc9 100644 --- a/tests/test_backend/test_mlir/golds/simple_inline_verilog2.v +++ b/tests/test_backend/test_mlir/golds/simple_inline_verilog2.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_inline_verilog2( input I, output O diff --git a/tests/test_backend/test_mlir/golds/simple_length_one_array.mlir b/tests/test_backend/test_mlir/golds/simple_length_one_array.mlir index 2496add1a..363e1e209 100644 --- a/tests/test_backend/test_mlir/golds/simple_length_one_array.mlir +++ b/tests/test_backend/test_mlir/golds/simple_length_one_array.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_length_one_array(%I: !hw.array<1xi8>) -> (O: i8) { %2 = hw.constant 0 : i8 %1 = hw.array_create %2 : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_length_one_array.v b/tests/test_backend/test_mlir/golds/simple_length_one_array.v index 220868cc1..886b8aff6 100644 --- a/tests/test_backend/test_mlir/golds/simple_length_one_array.v +++ b/tests/test_backend/test_mlir/golds/simple_length_one_array.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_length_one_array( input [0:0][7:0] I, output [7:0] O diff --git a/tests/test_backend/test_mlir/golds/simple_length_one_bits.mlir b/tests/test_backend/test_mlir/golds/simple_length_one_bits.mlir index 5a951dc0a..769cbf3d0 100644 --- a/tests/test_backend/test_mlir/golds/simple_length_one_bits.mlir +++ b/tests/test_backend/test_mlir/golds/simple_length_one_bits.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_length_one_bits(%I: i1) -> (O: i1) { %0 = comb.concat %I : i1 hw.output %0 : i1 diff --git a/tests/test_backend/test_mlir/golds/simple_length_one_bits.v b/tests/test_backend/test_mlir/golds/simple_length_one_bits.v index cac7bb480..56dcf1528 100644 --- a/tests/test_backend/test_mlir/golds/simple_length_one_bits.v +++ b/tests/test_backend/test_mlir/golds/simple_length_one_bits.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_length_one_bits( input I, output O diff --git a/tests/test_backend/test_mlir/golds/simple_lut.mlir b/tests/test_backend/test_mlir/golds/simple_lut.mlir index df857d78e..4a0cef2f4 100644 --- a/tests/test_backend/test_mlir/golds/simple_lut.mlir +++ b/tests/test_backend/test_mlir/golds/simple_lut.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @LUT(%I: i2) -> (O: i8) { %1 = hw.constant 1 : i1 %2 = hw.constant 0 : i1 diff --git a/tests/test_backend/test_mlir/golds/simple_lut.v b/tests/test_backend/test_mlir/golds/simple_lut.v index b1ff4ee2d..448292e41 100644 --- a/tests/test_backend/test_mlir/golds/simple_lut.v +++ b/tests/test_backend/test_mlir/golds/simple_lut.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module LUT( input [1:0] I, output [7:0] O diff --git a/tests/test_backend/test_mlir/golds/simple_magma_protocol.mlir b/tests/test_backend/test_mlir/golds/simple_magma_protocol.mlir index 3491aa7dd..f9613429e 100644 --- a/tests/test_backend/test_mlir/golds/simple_magma_protocol.mlir +++ b/tests/test_backend/test_mlir/golds/simple_magma_protocol.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_magma_protocol(%I: i8) -> (O: i8) { hw.output %I : i8 } diff --git a/tests/test_backend/test_mlir/golds/simple_magma_protocol.v b/tests/test_backend/test_mlir/golds/simple_magma_protocol.v index f4cfc0bf7..24284b133 100644 --- a/tests/test_backend/test_mlir/golds/simple_magma_protocol.v +++ b/tests/test_backend/test_mlir/golds/simple_magma_protocol.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_magma_protocol( input [7:0] I, output [7:0] O diff --git a/tests/test_backend/test_mlir/golds/simple_memory_wrapper.mlir b/tests/test_backend/test_mlir/golds/simple_memory_wrapper.mlir index dc12256f4..c18dd92ed 100644 --- a/tests/test_backend/test_mlir/golds/simple_memory_wrapper.mlir +++ b/tests/test_backend/test_mlir/golds/simple_memory_wrapper.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Memory(%RADDR: i7, %CLK: i1, %WADDR: i7, %WDATA: i12, %WE: i1) -> (RDATA: i12) { %1 = sv.reg name "coreir_mem128x12_inst0" : !hw.inout> %2 = sv.array_index_inout %1[%RADDR] : !hw.inout>, i7 diff --git a/tests/test_backend/test_mlir/golds/simple_memory_wrapper.v b/tests/test_backend/test_mlir/golds/simple_memory_wrapper.v index c7326fa03..5b64def22 100644 --- a/tests/test_backend/test_mlir/golds/simple_memory_wrapper.v +++ b/tests/test_backend/test_mlir/golds/simple_memory_wrapper.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module Memory( input [6:0] RADDR, input CLK, diff --git a/tests/test_backend/test_mlir/golds/simple_mixed_direction_ports.mlir b/tests/test_backend/test_mlir/golds/simple_mixed_direction_ports.mlir index f66113bdb..0a95f7d78 100644 --- a/tests/test_backend/test_mlir/golds/simple_mixed_direction_ports.mlir +++ b/tests/test_backend/test_mlir/golds/simple_mixed_direction_ports.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_mixed_direction_ports(%a_x: i8) -> (a_y: i8) { hw.output %a_x : i8 } diff --git a/tests/test_backend/test_mlir/golds/simple_mixed_direction_ports.v b/tests/test_backend/test_mlir/golds/simple_mixed_direction_ports.v index 635699b03..3d313f20f 100644 --- a/tests/test_backend/test_mlir/golds/simple_mixed_direction_ports.v +++ b/tests/test_backend/test_mlir/golds/simple_mixed_direction_ports.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_mixed_direction_ports( input [7:0] a_x, output [7:0] a_y diff --git a/tests/test_backend/test_mlir/golds/simple_module_params_instance.mlir b/tests/test_backend/test_mlir/golds/simple_module_params_instance.mlir index 3155b0c67..d533a5696 100644 --- a/tests/test_backend/test_mlir/golds/simple_module_params_instance.mlir +++ b/tests/test_backend/test_mlir/golds/simple_module_params_instance.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_module_params(%I: i1) -> (O: i1) { hw.output %I : i1 } diff --git a/tests/test_backend/test_mlir/golds/simple_module_params_instance.v b/tests/test_backend/test_mlir/golds/simple_module_params_instance.v index b4185f53f..516b4d199 100644 --- a/tests/test_backend/test_mlir/golds/simple_module_params_instance.v +++ b/tests/test_backend/test_mlir/golds/simple_module_params_instance.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_module_params #(parameter /*integer*/ width, parameter /*integer*/ height) ( diff --git a/tests/test_backend/test_mlir/golds/simple_mux_wrapper.mlir b/tests/test_backend/test_mlir/golds/simple_mux_wrapper.mlir index ab67eb326..2a52bfa25 100644 --- a/tests/test_backend/test_mlir/golds/simple_mux_wrapper.mlir +++ b/tests/test_backend/test_mlir/golds/simple_mux_wrapper.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_mux_wrapper(%a: i8, %s: i1) -> (y: i8) { %1 = hw.constant -1 : i8 %0 = comb.xor %1, %a : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_mux_wrapper.v b/tests/test_backend/test_mlir/golds/simple_mux_wrapper.v index 2a320507b..ee2926f92 100644 --- a/tests/test_backend/test_mlir/golds/simple_mux_wrapper.v +++ b/tests/test_backend/test_mlir/golds/simple_mux_wrapper.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_mux_wrapper( input [7:0] a, input s, diff --git a/tests/test_backend/test_mlir/golds/simple_neg.mlir b/tests/test_backend/test_mlir/golds/simple_neg.mlir index 9a3058c7e..90f77e2a8 100644 --- a/tests/test_backend/test_mlir/golds/simple_neg.mlir +++ b/tests/test_backend/test_mlir/golds/simple_neg.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_neg(%a: i8) -> (y: i8) { %1 = hw.constant 0 : i8 %0 = comb.sub %1, %a : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_neg.v b/tests/test_backend/test_mlir/golds/simple_neg.v index d484365f9..ee1602570 100644 --- a/tests/test_backend/test_mlir/golds/simple_neg.v +++ b/tests/test_backend/test_mlir/golds/simple_neg.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_neg( input [7:0] a, output [7:0] y diff --git a/tests/test_backend/test_mlir/golds/simple_redefinition.mlir b/tests/test_backend/test_mlir/golds/simple_redefinition.mlir index ca49c5e7c..759db5f14 100644 --- a/tests/test_backend/test_mlir/golds/simple_redefinition.mlir +++ b/tests/test_backend/test_mlir/golds/simple_redefinition.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_redefinition_module(%a: i1) -> (y: i1) { hw.output %a : i1 } diff --git a/tests/test_backend/test_mlir/golds/simple_redefinition.v b/tests/test_backend/test_mlir/golds/simple_redefinition.v index c521f49c3..ab28e6c2d 100644 --- a/tests/test_backend/test_mlir/golds/simple_redefinition.v +++ b/tests/test_backend/test_mlir/golds/simple_redefinition.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_redefinition_module( input a, output y diff --git a/tests/test_backend/test_mlir/golds/simple_reduction.mlir b/tests/test_backend/test_mlir/golds/simple_reduction.mlir index 576920433..b102cba74 100644 --- a/tests/test_backend/test_mlir/golds/simple_reduction.mlir +++ b/tests/test_backend/test_mlir/golds/simple_reduction.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_reduction(%I0: i8, %I1: i8, %I2: i8) -> (O0: i1, O1: i1, O2: i1) { %1 = hw.constant -1 : i8 %0 = comb.icmp eq %I0, %1 : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_reduction.v b/tests/test_backend/test_mlir/golds/simple_reduction.v index 0e3a4734f..3e79340d5 100644 --- a/tests/test_backend/test_mlir/golds/simple_reduction.v +++ b/tests/test_backend/test_mlir/golds/simple_reduction.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_reduction( input [7:0] I0, I1, diff --git a/tests/test_backend/test_mlir/golds/simple_register_wrapper.mlir b/tests/test_backend/test_mlir/golds/simple_register_wrapper.mlir index 7725f80ca..4887941cc 100644 --- a/tests/test_backend/test_mlir/golds/simple_register_wrapper.mlir +++ b/tests/test_backend/test_mlir/golds/simple_register_wrapper.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_register_wrapper(%a: i8, %CLK: i1) -> (y: i8) { %1 = sv.reg name "reg0" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_backend/test_mlir/golds/simple_register_wrapper.v b/tests/test_backend/test_mlir/golds/simple_register_wrapper.v index 4cb48d6d4..4bd8ea604 100644 --- a/tests/test_backend/test_mlir/golds/simple_register_wrapper.v +++ b/tests/test_backend/test_mlir/golds/simple_register_wrapper.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_register_wrapper( input [7:0] a, input CLK, diff --git a/tests/test_backend/test_mlir/golds/simple_register_wrapper_disable_initial_blocks.mlir b/tests/test_backend/test_mlir/golds/simple_register_wrapper_disable_initial_blocks.mlir index 1386551aa..73a7099d2 100644 --- a/tests/test_backend/test_mlir/golds/simple_register_wrapper_disable_initial_blocks.mlir +++ b/tests/test_backend/test_mlir/golds/simple_register_wrapper_disable_initial_blocks.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_register_wrapper(%a: i8, %CLK: i1) -> (y: i8) { %1 = sv.reg name "reg0" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_backend/test_mlir/golds/simple_register_wrapper_disable_initial_blocks.v b/tests/test_backend/test_mlir/golds/simple_register_wrapper_disable_initial_blocks.v index 79a356c77..6fb7c6640 100644 --- a/tests/test_backend/test_mlir/golds/simple_register_wrapper_disable_initial_blocks.v +++ b/tests/test_backend/test_mlir/golds/simple_register_wrapper_disable_initial_blocks.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_register_wrapper( input [7:0] a, input CLK, diff --git a/tests/test_backend/test_mlir/golds/simple_register_wrapper_elaborate_magma_registers.mlir b/tests/test_backend/test_mlir/golds/simple_register_wrapper_elaborate_magma_registers.mlir index 9a6a29c70..777337df9 100644 --- a/tests/test_backend/test_mlir/golds/simple_register_wrapper_elaborate_magma_registers.mlir +++ b/tests/test_backend/test_mlir/golds/simple_register_wrapper_elaborate_magma_registers.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Register(%I: i8, %CLK: i1) -> (O: i8) { %1 = sv.reg name "reg_P8_inst0" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_backend/test_mlir/golds/simple_register_wrapper_elaborate_magma_registers.v b/tests/test_backend/test_mlir/golds/simple_register_wrapper_elaborate_magma_registers.v index 302534bad..b78ae9eb1 100644 --- a/tests/test_backend/test_mlir/golds/simple_register_wrapper_elaborate_magma_registers.v +++ b/tests/test_backend/test_mlir/golds/simple_register_wrapper_elaborate_magma_registers.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module Register( input [7:0] I, input CLK, diff --git a/tests/test_backend/test_mlir/golds/simple_shifts.mlir b/tests/test_backend/test_mlir/golds/simple_shifts.mlir index 05d9276ab..76007bcd5 100644 --- a/tests/test_backend/test_mlir/golds/simple_shifts.mlir +++ b/tests/test_backend/test_mlir/golds/simple_shifts.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_shifts(%I00: i8, %I01: i8, %I10: i8, %I11: i8, %I20: i8, %I21: i8) -> (O0: i8, O1: i8, O2: i8) { %0 = comb.shl %I00, %I01 : i8 %1 = comb.shru %I10, %I11 : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_shifts.v b/tests/test_backend/test_mlir/golds/simple_shifts.v index 00d4a28c7..367d1280d 100644 --- a/tests/test_backend/test_mlir/golds/simple_shifts.v +++ b/tests/test_backend/test_mlir/golds/simple_shifts.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_shifts( input [7:0] I00, I01, diff --git a/tests/test_backend/test_mlir/golds/simple_side_effect_instance.mlir b/tests/test_backend/test_mlir/golds/simple_side_effect_instance.mlir index 75cbf6a1a..af96bcfda 100644 --- a/tests/test_backend/test_mlir/golds/simple_side_effect_instance.mlir +++ b/tests/test_backend/test_mlir/golds/simple_side_effect_instance.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @no_outputs(%I: i1) -> () { %1 = hw.constant -1 : i1 %0 = comb.xor %1, %I : i1 diff --git a/tests/test_backend/test_mlir/golds/simple_side_effect_instance.v b/tests/test_backend/test_mlir/golds/simple_side_effect_instance.v index b69f2c49b..0f93cec2d 100644 --- a/tests/test_backend/test_mlir/golds/simple_side_effect_instance.v +++ b/tests/test_backend/test_mlir/golds/simple_side_effect_instance.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module no_outputs( input I ); diff --git a/tests/test_backend/test_mlir/golds/simple_smart_bits.mlir b/tests/test_backend/test_mlir/golds/simple_smart_bits.mlir index d927f750f..7ed8d66b9 100644 --- a/tests/test_backend/test_mlir/golds/simple_smart_bits.mlir +++ b/tests/test_backend/test_mlir/golds/simple_smart_bits.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_smart_bits(%I: i8) -> (O: i8) { hw.output %I : i8 } diff --git a/tests/test_backend/test_mlir/golds/simple_smart_bits.v b/tests/test_backend/test_mlir/golds/simple_smart_bits.v index a0f3edfa9..39017a097 100644 --- a/tests/test_backend/test_mlir/golds/simple_smart_bits.v +++ b/tests/test_backend/test_mlir/golds/simple_smart_bits.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_smart_bits( input [7:0] I, output [7:0] O diff --git a/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_none.mlir b/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_none.mlir index 0c2b6203a..f4d847486 100644 --- a/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_none.mlir +++ b/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_none.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_structural(%a: i16, %b: i16, %c: i16, %CLK: i1) -> (y: i16, z: i16) { %1 = sv.reg name "a_reg" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_plain.mlir b/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_plain.mlir index 9a1bf88d8..d25412515 100644 --- a/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_plain.mlir +++ b/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_plain.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=plain"} { +module attributes {circt.loweringOptions = "locationInfoStyle=plain,omitVersionComment"} { hw.module @simple_structural(%a: i16 loc(unknown), %b: i16 loc(unknown), %c: i16 loc(unknown), %CLK: i1 loc(unknown)) -> (y: i16 loc(unknown), z: i16 loc(unknown)) { %1 = sv.reg name "a_reg" : !hw.inout loc("file.py":100:0) diff --git a/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_wrapInAtSquareBracket.mlir b/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_wrapInAtSquareBracket.mlir index 89b17d153..22d64e931 100644 --- a/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_wrapInAtSquareBracket.mlir +++ b/tests/test_backend/test_mlir/golds/simple_structural_location_info_style_wrapInAtSquareBracket.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=wrapInAtSquareBracket"} { +module attributes {circt.loweringOptions = "locationInfoStyle=wrapInAtSquareBracket,omitVersionComment"} { hw.module @simple_structural(%a: i16 loc(unknown), %b: i16 loc(unknown), %c: i16 loc(unknown), %CLK: i1 loc(unknown)) -> (y: i16 loc(unknown), z: i16 loc(unknown)) { %1 = sv.reg name "a_reg" : !hw.inout loc("file.py":100:0) diff --git a/tests/test_backend/test_mlir/golds/simple_undriven.mlir b/tests/test_backend/test_mlir/golds/simple_undriven.mlir index 92e1738ee..2be30dddb 100644 --- a/tests/test_backend/test_mlir/golds/simple_undriven.mlir +++ b/tests/test_backend/test_mlir/golds/simple_undriven.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_undriven() -> (O: i1) { %1 = sv.wire sym @simple_undriven.corebit_undriven_inst0 : !hw.inout %0 = sv.read_inout %1 : !hw.inout diff --git a/tests/test_backend/test_mlir/golds/simple_undriven.v b/tests/test_backend/test_mlir/golds/simple_undriven.v index 8fa945b1d..cb64ade31 100644 --- a/tests/test_backend/test_mlir/golds/simple_undriven.v +++ b/tests/test_backend/test_mlir/golds/simple_undriven.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_undriven( output O ); diff --git a/tests/test_backend/test_mlir/golds/simple_undriven_instances.mlir b/tests/test_backend/test_mlir/golds/simple_undriven_instances.mlir index d294b8997..a2e37b248 100644 --- a/tests/test_backend/test_mlir/golds/simple_undriven_instances.mlir +++ b/tests/test_backend/test_mlir/golds/simple_undriven_instances.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_comb(%a: i16, %b: i16, %c: i16) -> (y: i16, z: i16) { %1 = hw.constant -1 : i16 %0 = comb.xor %1, %a : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_undriven_instances.v b/tests/test_backend/test_mlir/golds/simple_undriven_instances.v index 611c5d370..b6318dd55 100644 --- a/tests/test_backend/test_mlir/golds/simple_undriven_instances.v +++ b/tests/test_backend/test_mlir/golds/simple_undriven_instances.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_comb( input [15:0] a, b, diff --git a/tests/test_backend/test_mlir/golds/simple_unused_output.mlir b/tests/test_backend/test_mlir/golds/simple_unused_output.mlir index 8a9a8327b..1187da2db 100644 --- a/tests/test_backend/test_mlir/golds/simple_unused_output.mlir +++ b/tests/test_backend/test_mlir/golds/simple_unused_output.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_comb(%a: i16, %b: i16, %c: i16) -> (y: i16, z: i16) { %1 = hw.constant -1 : i16 %0 = comb.xor %1, %a : i16 diff --git a/tests/test_backend/test_mlir/golds/simple_unused_output.v b/tests/test_backend/test_mlir/golds/simple_unused_output.v index 4d7b22433..0fddc9ce2 100644 --- a/tests/test_backend/test_mlir/golds/simple_unused_output.v +++ b/tests/test_backend/test_mlir/golds/simple_unused_output.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_comb( input [15:0] a, b, diff --git a/tests/test_backend/test_mlir/golds/simple_verilog_defn_wrapper.mlir b/tests/test_backend/test_mlir/golds/simple_verilog_defn_wrapper.mlir index bbc35b9cf..11d992f8f 100644 --- a/tests/test_backend/test_mlir/golds/simple_verilog_defn_wrapper.mlir +++ b/tests/test_backend/test_mlir/golds/simple_verilog_defn_wrapper.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module.extern @simple_verilog_defn(%I: i1) -> (O: i1) hw.module @simple_verilog_defn_wrapper(%I: i1) -> (O: i1) { %0 = hw.instance "simple_verilog_defn_inst0" @simple_verilog_defn(I: %I: i1) -> (O: i1) diff --git a/tests/test_backend/test_mlir/golds/simple_verilog_defn_wrapper.v b/tests/test_backend/test_mlir/golds/simple_verilog_defn_wrapper.v index 5750f7482..3bf7ec48d 100644 --- a/tests/test_backend/test_mlir/golds/simple_verilog_defn_wrapper.v +++ b/tests/test_backend/test_mlir/golds/simple_verilog_defn_wrapper.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef // external module simple_verilog_defn module simple_verilog_defn_wrapper( diff --git a/tests/test_backend/test_mlir/golds/simple_wire.mlir b/tests/test_backend/test_mlir/golds/simple_wire.mlir index 2bd5780db..9c45a91f0 100644 --- a/tests/test_backend/test_mlir/golds/simple_wire.mlir +++ b/tests/test_backend/test_mlir/golds/simple_wire.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @simple_wire(%I: i8) -> (O: i8) { %1 = sv.wire sym @simple_wire.tmp name "tmp" : !hw.inout sv.assign %1, %I : i8 diff --git a/tests/test_backend/test_mlir/golds/simple_wire.v b/tests/test_backend/test_mlir/golds/simple_wire.v index 9962524b0..5b566fa61 100644 --- a/tests/test_backend/test_mlir/golds/simple_wire.v +++ b/tests/test_backend/test_mlir/golds/simple_wire.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module simple_wire( input [7:0] I, output [7:0] O diff --git a/tests/test_backend/test_mlir/golds/sync_memory_wrapper.mlir b/tests/test_backend/test_mlir/golds/sync_memory_wrapper.mlir index 930e49261..894e90927 100644 --- a/tests/test_backend/test_mlir/golds/sync_memory_wrapper.mlir +++ b/tests/test_backend/test_mlir/golds/sync_memory_wrapper.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Memory(%RADDR: i7, %CLK: i1, %WADDR: i7, %WDATA: i12, %WE: i1) -> (RDATA: i12) { %0 = hw.constant 1 : i1 %2 = sv.reg name "coreir_mem128x12_inst0" : !hw.inout> diff --git a/tests/test_backend/test_mlir/golds/sync_memory_wrapper.v b/tests/test_backend/test_mlir/golds/sync_memory_wrapper.v index d7a22c8ab..406d026b0 100644 --- a/tests/test_backend/test_mlir/golds/sync_memory_wrapper.v +++ b/tests/test_backend/test_mlir/golds/sync_memory_wrapper.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module Memory( input [6:0] RADDR, input CLK, diff --git a/tests/test_backend/test_mlir/golds/twizzle.mlir b/tests/test_backend/test_mlir/golds/twizzle.mlir index aae30eb78..aade8f0d5 100644 --- a/tests/test_backend/test_mlir/golds/twizzle.mlir +++ b/tests/test_backend/test_mlir/golds/twizzle.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @twizzler(%I0: i1, %I1: i1, %I2: i1) -> (O0: i1, O1: i1, O2: i1) { %1 = hw.constant -1 : i1 %0 = comb.xor %1, %I1 : i1 diff --git a/tests/test_backend/test_mlir/golds/twizzle.v b/tests/test_backend/test_mlir/golds/twizzle.v index c1210b95e..fa1615770 100644 --- a/tests/test_backend/test_mlir/golds/twizzle.v +++ b/tests/test_backend/test_mlir/golds/twizzle.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module twizzler( input I0, I1, diff --git a/tests/test_backend/test_mlir/golds/xmr_bind.mlir b/tests/test_backend/test_mlir/golds/xmr_bind.mlir index 56f227e0a..f53e7875d 100644 --- a/tests/test_backend/test_mlir/golds/xmr_bind.mlir +++ b/tests/test_backend/test_mlir/golds/xmr_bind.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @xmr_bind_grandchild(%a: i16) -> (y: i16) { hw.output %a : i16 } diff --git a/tests/test_backend/test_mlir/golds/xmr_bind.v b/tests/test_backend/test_mlir/golds/xmr_bind.v index 03bedcae4..5ab4c1119 100644 --- a/tests/test_backend/test_mlir/golds/xmr_bind.v +++ b/tests/test_backend/test_mlir/golds/xmr_bind.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module xmr_bind_grandchild( input [15:0] a, output [15:0] y @@ -43,7 +42,6 @@ endmodule // ----- 8< ----- FILE "bindfile.sv" ----- 8< ----- -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef bind xmr_bind xmr_bind_asserts xmr_bind_asserts_inst ( .a (a), .y (_xmr_bind_child_inst0_y), diff --git a/tests/test_passes/gold/insert_coreir_wires_product.mlir b/tests/test_passes/gold/insert_coreir_wires_product.mlir index 46322d0b6..a5f66ab69 100644 --- a/tests/test_passes/gold/insert_coreir_wires_product.mlir +++ b/tests/test_passes/gold/insert_coreir_wires_product.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Main(%I_x: i1, %I_y: i1) -> (O_x: i1, O_y: i1) { %2 = sv.wire sym @Main.x_x name "x_x" : !hw.inout sv.assign %2, %I_x : i1 diff --git a/tests/test_primitives/gold/test_memory_basic.mlir b/tests/test_primitives/gold/test_memory_basic.mlir index fe56d9ede..6b2b67fa5 100644 --- a/tests/test_primitives/gold/test_memory_basic.mlir +++ b/tests/test_primitives/gold/test_memory_basic.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Memory(%RADDR: i2, %CLK: i1, %WADDR: i2, %WDATA: i5, %WE: i1) -> (RDATA: i5) { %1 = sv.reg name "coreir_mem4x5_inst0" : !hw.inout> %2 = sv.array_index_inout %1[%RADDR] : !hw.inout>, i2 diff --git a/tests/test_type/gold/test_array2_mixed_direction_len_1.mlir b/tests/test_type/gold/test_array2_mixed_direction_len_1.mlir index ba58db660..8f08babb7 100644 --- a/tests/test_type/gold/test_array2_mixed_direction_len_1.mlir +++ b/tests/test_type/gold/test_array2_mixed_direction_len_1.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @test_array2_mixed_direction_len_1(%I_0_x: i1, %O_0_y: i1) -> (I_0_y: i1, O_0_x: i1) { hw.output %O_0_y, %I_0_x : i1, i1 } diff --git a/tests/test_verilog/gold/TestDisplay.mlir b/tests/test_verilog/gold/TestDisplay.mlir index efc8c4674..47fd455e5 100644 --- a/tests/test_verilog/gold/TestDisplay.mlir +++ b/tests/test_verilog/gold/TestDisplay.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @TestDisplay(%I: i1, %CLK: i1, %CE: i1) -> (O: i1) { %1 = sv.reg name "ff" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_verilog/gold/TestDisplay.v b/tests/test_verilog/gold/TestDisplay.v index 040ecbff3..3a3299312 100644 --- a/tests/test_verilog/gold/TestDisplay.v +++ b/tests/test_verilog/gold/TestDisplay.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module TestDisplay( input I, CLK, diff --git a/tests/test_verilog/gold/TestFDisplay.mlir b/tests/test_verilog/gold/TestFDisplay.mlir index bc71d5d39..8b289133b 100644 --- a/tests/test_verilog/gold/TestFDisplay.mlir +++ b/tests/test_verilog/gold/TestFDisplay.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @TestFDisplay(%I: i1, %CLK: i1, %CE: i1) -> (O: i1) { %1 = sv.reg name "ff" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_verilog/gold/TestFDisplay.v b/tests/test_verilog/gold/TestFDisplay.v index f788ba2c4..acd8c49bb 100644 --- a/tests/test_verilog/gold/TestFDisplay.v +++ b/tests/test_verilog/gold/TestFDisplay.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module TestFDisplay( input I, CLK, diff --git a/tests/test_verilog/gold/TestFLog.mlir b/tests/test_verilog/gold/TestFLog.mlir index b86b21a27..55eb54844 100644 --- a/tests/test_verilog/gold/TestFLog.mlir +++ b/tests/test_verilog/gold/TestFLog.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @TestFLog(%I: i1, %CLK: i1, %CE: i1) -> (O: i1) { %1 = sv.reg name "ff" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_verilog/gold/TestFLog.v b/tests/test_verilog/gold/TestFLog.v index b33494aa8..fda1f6101 100644 --- a/tests/test_verilog/gold/TestFLog.v +++ b/tests/test_verilog/gold/TestFLog.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module TestFLog( input I, CLK, diff --git a/tests/test_verilog/gold/TestLog.mlir b/tests/test_verilog/gold/TestLog.mlir index 290beb91a..8c0e96fed 100644 --- a/tests/test_verilog/gold/TestLog.mlir +++ b/tests/test_verilog/gold/TestLog.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @TestLog(%I: i1, %CLK: i1, %CE: i1) -> (O: i1) { %1 = sv.reg name "ff" : !hw.inout sv.alwaysff(posedge %CLK) { diff --git a/tests/test_verilog/gold/TestLog.v b/tests/test_verilog/gold/TestLog.v index ecf221c67..91a7856e9 100644 --- a/tests/test_verilog/gold/TestLog.v +++ b/tests/test_verilog/gold/TestLog.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module TestLog( input I, CLK, diff --git a/tests/test_verilog/gold/test_inline_tuple.mlir b/tests/test_verilog/gold/test_inline_tuple.mlir index bd0957331..ce4580ff9 100644 --- a/tests/test_verilog/gold/test_inline_tuple.mlir +++ b/tests/test_verilog/gold/test_inline_tuple.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module.extern @InnerInnerDelayUnit(%INPUT_0_data: i5, %INPUT_0_valid: i1, %INPUT_1_data: i5, %INPUT_1_valid: i1, %OUTPUT_0_ready: i1, %OUTPUT_1_ready: i1) -> (INPUT_0_ready: i1, INPUT_1_ready: i1, OUTPUT_0_data: i5, OUTPUT_0_valid: i1, OUTPUT_1_data: i5, OUTPUT_1_valid: i1) hw.module @InnerDelayUnit(%INPUT_0_data: i5, %INPUT_0_valid: i1, %INPUT_1_data: i5, %INPUT_1_valid: i1, %OUTPUT_0_ready: i1, %OUTPUT_1_ready: i1, %CLK: i1) -> (INPUT_0_ready: i1, INPUT_1_ready: i1, OUTPUT_0_data: i5, OUTPUT_0_valid: i1, OUTPUT_1_data: i5, OUTPUT_1_valid: i1) { %0, %1, %2, %3, %4, %5 = hw.instance "inner_inner_delay" @InnerInnerDelayUnit(INPUT_0_data: %INPUT_1_data: i5, INPUT_0_valid: %INPUT_1_valid: i1, INPUT_1_data: %INPUT_0_data: i5, INPUT_1_valid: %INPUT_0_valid: i1, OUTPUT_0_ready: %OUTPUT_1_ready: i1, OUTPUT_1_ready: %OUTPUT_0_ready: i1) -> (INPUT_0_ready: i1, INPUT_1_ready: i1, OUTPUT_0_data: i5, OUTPUT_0_valid: i1, OUTPUT_1_data: i5, OUTPUT_1_valid: i1) diff --git a/tests/test_verilog/gold/test_inline_verilog_output.mlir b/tests/test_verilog/gold/test_inline_verilog_output.mlir index 17226b23f..9f2428d8b 100644 --- a/tests/test_verilog/gold/test_inline_verilog_output.mlir +++ b/tests/test_verilog/gold/test_inline_verilog_output.mlir @@ -1,4 +1,4 @@ -module attributes {circt.loweringOptions = "locationInfoStyle=none"} { +module attributes {circt.loweringOptions = "locationInfoStyle=none,omitVersionComment"} { hw.module @Main(%I: i1, %arr: i2, %CLK: i1) -> (O: i1) { %1 = sv.reg : !hw.inout %0 = sv.read_inout %1 : !hw.inout diff --git a/tests/test_verilog/gold/test_inline_wire_insertion_bad_verilog.v b/tests/test_verilog/gold/test_inline_wire_insertion_bad_verilog.v index 3a39221da..8463a2214 100644 --- a/tests/test_verilog/gold/test_inline_wire_insertion_bad_verilog.v +++ b/tests/test_verilog/gold/test_inline_wire_insertion_bad_verilog.v @@ -1,4 +1,3 @@ -// Generated by CIRCT firtool-1.51.0-75-gbecb4c0ef module test_wire_insertion_bad_verilog( input [31:0] I, output O