From 011ee973f0c600ed7d7458326afcd5bbd6cd56e3 Mon Sep 17 00:00:00 2001 From: rsetaluri Date: Wed, 30 Aug 2023 10:55:48 -0700 Subject: [PATCH] [MLIR] Omit version comment by default --- magma/backend/mlir/compile_to_mlir_opts.py | 2 +- tests/test_backend/test_mlir/golds/aggregate_constant.mlir | 2 +- tests/test_backend/test_mlir/golds/aggregate_constant.v | 1 - tests/test_backend/test_mlir/golds/aggregate_mux_wrapper.mlir | 2 +- tests/test_backend/test_mlir/golds/aggregate_mux_wrapper.v | 1 - .../aggregate_mux_wrapper_extend_non_power_of_two_muxes.mlir | 2 +- .../golds/aggregate_mux_wrapper_extend_non_power_of_two_muxes.v | 1 - ...rapper_extend_non_power_of_two_muxes_flatten_all_tuples.mlir | 2 +- ...x_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.v | 1 - .../golds/aggregate_mux_wrapper_flatten_all_tuples.mlir | 2 +- .../test_mlir/golds/aggregate_mux_wrapper_flatten_all_tuples.v | 1 - .../test_mlir/golds/complex_aggregates_nested_array.mlir | 2 +- .../test_mlir/golds/complex_aggregates_nested_array.v | 1 - tests/test_backend/test_mlir/golds/complex_bind.mlir | 2 +- tests/test_backend/test_mlir/golds/complex_bind.v | 2 -- .../test_mlir/golds/complex_bind_flatten_all_tuples.mlir | 2 +- .../test_mlir/golds/complex_bind_flatten_all_tuples.v | 2 -- tests/test_backend/test_mlir/golds/complex_inline_verilog.mlir | 2 +- tests/test_backend/test_mlir/golds/complex_inline_verilog.v | 1 - tests/test_backend/test_mlir/golds/complex_inline_verilog2.mlir | 2 +- tests/test_backend/test_mlir/golds/complex_inline_verilog2.v | 1 - tests/test_backend/test_mlir/golds/complex_lut.mlir | 2 +- tests/test_backend/test_mlir/golds/complex_lut.v | 1 - tests/test_backend/test_mlir/golds/complex_magma_protocol.mlir | 2 +- tests/test_backend/test_mlir/golds/complex_magma_protocol.v | 1 - .../test_mlir/golds/complex_mixed_direction_ports.mlir | 2 +- .../test_mlir/golds/complex_mixed_direction_ports.v | 1 - .../test_mlir/golds/complex_mixed_direction_ports2.mlir | 2 +- .../test_mlir/golds/complex_mixed_direction_ports2.v | 1 - .../test_backend/test_mlir/golds/complex_register_wrapper.mlir | 2 +- tests/test_backend/test_mlir/golds/complex_register_wrapper.v | 1 - .../golds/complex_register_wrapper_disable_initial_blocks.mlir | 2 +- .../golds/complex_register_wrapper_disable_initial_blocks.v | 1 - .../complex_register_wrapper_elaborate_magma_registers.mlir | 2 +- .../golds/complex_register_wrapper_elaborate_magma_registers.v | 1 - .../golds/complex_register_wrapper_flatten_all_tuples.mlir | 2 +- .../golds/complex_register_wrapper_flatten_all_tuples.v | 1 - tests/test_backend/test_mlir/golds/complex_undriven.mlir | 2 +- tests/test_backend/test_mlir/golds/complex_undriven.v | 1 - tests/test_backend/test_mlir/golds/complex_wire.mlir | 2 +- tests/test_backend/test_mlir/golds/complex_wire.v | 1 - tests/test_backend/test_mlir/golds/counter.mlir | 2 +- tests/test_backend/test_mlir/golds/counter.v | 1 - tests/test_backend/test_mlir/golds/feedthrough.mlir | 2 +- tests/test_backend/test_mlir/golds/feedthrough.v | 1 - tests/test_backend/test_mlir/golds/multiport_memory.mlir | 2 +- tests/test_backend/test_mlir/golds/multiport_memory.v | 1 - tests/test_backend/test_mlir/golds/multiport_memory_re.mlir | 2 +- tests/test_backend/test_mlir/golds/multiport_memory_re.v | 1 - tests/test_backend/test_mlir/golds/no_outputs.mlir | 2 +- tests/test_backend/test_mlir/golds/no_outputs.v | 1 - .../test_mlir/golds/non_power_of_two_mux_wrapper.mlir | 2 +- .../test_backend/test_mlir/golds/non_power_of_two_mux_wrapper.v | 1 - ..._power_of_two_mux_wrapper_extend_non_power_of_two_muxes.mlir | 2 +- ...non_power_of_two_mux_wrapper_extend_non_power_of_two_muxes.v | 1 - ...rapper_extend_non_power_of_two_muxes_flatten_all_tuples.mlir | 2 +- ...x_wrapper_extend_non_power_of_two_muxes_flatten_all_tuples.v | 1 - tests/test_backend/test_mlir/golds/register_array_of_bit.mlir | 2 +- tests/test_backend/test_mlir/golds/register_array_of_bit.v | 1 - .../test_mlir/golds/simple_aggregates_anon_product.mlir | 2 +- .../test_mlir/golds/simple_aggregates_anon_product.v | 1 - .../simple_aggregates_anon_product_flatten_all_tuples.mlir | 2 +- .../golds/simple_aggregates_anon_product_flatten_all_tuples.v | 1 - tests/test_backend/test_mlir/golds/simple_aggregates_array.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_aggregates_array.v | 1 - tests/test_backend/test_mlir/golds/simple_aggregates_bits.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_aggregates_bits.v | 1 - .../test_mlir/golds/simple_aggregates_nested_array.mlir | 2 +- .../test_mlir/golds/simple_aggregates_nested_array.v | 1 - .../test_backend/test_mlir/golds/simple_aggregates_product.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_aggregates_product.v | 1 - .../golds/simple_aggregates_product_flatten_all_tuples.mlir | 2 +- .../golds/simple_aggregates_product_flatten_all_tuples.v | 1 - tests/test_backend/test_mlir/golds/simple_aggregates_tuple.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_aggregates_tuple.v | 1 - tests/test_backend/test_mlir/golds/simple_array_of_bit.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_array_of_bit.v | 1 - tests/test_backend/test_mlir/golds/simple_array_slice.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_array_slice.v | 1 - tests/test_backend/test_mlir/golds/simple_bind.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_bind.v | 2 -- tests/test_backend/test_mlir/golds/simple_clock_cast.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_clock_cast.v | 1 - tests/test_backend/test_mlir/golds/simple_comb.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_comb.v | 1 - .../simple_comb_disallow_expression_inlining_in_ports.mlir | 2 +- ...inlining_in_ports_disallow_expression_inlining_in_ports.mlir | 2 +- .../test_mlir/golds/simple_comb_explicit_bitcast.mlir | 2 +- .../golds/simple_comb_explicit_bitcast_explicit_bitcast.mlir | 2 +- .../test_mlir/golds/simple_comb_verilog_prefix.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_comb_verilog_prefix.v | 1 - tests/test_backend/test_mlir/golds/simple_compile_guard.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_compile_guard.v | 1 - tests/test_backend/test_mlir/golds/simple_constant.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_constant.v | 1 - ...mple_coreir_common_lib_mux_n_wrapper_flatten_all_tuples.mlir | 2 +- .../simple_coreir_common_lib_mux_n_wrapper_flatten_all_tuples.v | 1 - .../test_mlir/golds/simple_custom_verilog_name.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_custom_verilog_name.v | 1 - tests/test_backend/test_mlir/golds/simple_decl_external.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_decl_external.v | 1 - .../test_mlir/golds/simple_disallow_local_variables.mlir | 2 +- .../test_mlir/golds/simple_disallow_local_variables.v | 1 - ...imple_disallow_local_variables_disallow_local_variables.mlir | 2 +- .../simple_disallow_local_variables_disallow_local_variables.v | 1 - tests/test_backend/test_mlir/golds/simple_div.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_div.v | 1 - .../simple_duplicate_symbols_disallow_duplicate_symbols.mlir | 2 +- .../golds/simple_duplicate_symbols_disallow_duplicate_symbols.v | 1 - tests/test_backend/test_mlir/golds/simple_hierarchy.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_hierarchy.v | 1 - .../test_mlir/golds/simple_hierarchy_split_verilog.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_inline_verilog.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_inline_verilog.v | 1 - tests/test_backend/test_mlir/golds/simple_inline_verilog2.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_inline_verilog2.v | 1 - tests/test_backend/test_mlir/golds/simple_length_one_array.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_length_one_array.v | 1 - tests/test_backend/test_mlir/golds/simple_length_one_bits.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_length_one_bits.v | 1 - tests/test_backend/test_mlir/golds/simple_lut.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_lut.v | 1 - tests/test_backend/test_mlir/golds/simple_magma_protocol.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_magma_protocol.v | 1 - tests/test_backend/test_mlir/golds/simple_memory_wrapper.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_memory_wrapper.v | 1 - .../test_mlir/golds/simple_mixed_direction_ports.mlir | 2 +- .../test_backend/test_mlir/golds/simple_mixed_direction_ports.v | 1 - .../test_mlir/golds/simple_module_params_instance.mlir | 2 +- .../test_mlir/golds/simple_module_params_instance.v | 1 - tests/test_backend/test_mlir/golds/simple_mux_wrapper.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_mux_wrapper.v | 1 - tests/test_backend/test_mlir/golds/simple_neg.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_neg.v | 1 - tests/test_backend/test_mlir/golds/simple_redefinition.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_redefinition.v | 1 - tests/test_backend/test_mlir/golds/simple_reduction.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_reduction.v | 1 - tests/test_backend/test_mlir/golds/simple_register_wrapper.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_register_wrapper.v | 1 - .../golds/simple_register_wrapper_disable_initial_blocks.mlir | 2 +- .../golds/simple_register_wrapper_disable_initial_blocks.v | 1 - .../simple_register_wrapper_elaborate_magma_registers.mlir | 2 +- .../golds/simple_register_wrapper_elaborate_magma_registers.v | 1 - tests/test_backend/test_mlir/golds/simple_shifts.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_shifts.v | 1 - .../test_mlir/golds/simple_side_effect_instance.mlir | 2 +- .../test_backend/test_mlir/golds/simple_side_effect_instance.v | 1 - tests/test_backend/test_mlir/golds/simple_smart_bits.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_smart_bits.v | 1 - .../golds/simple_structural_location_info_style_none.mlir | 2 +- .../golds/simple_structural_location_info_style_plain.mlir | 2 +- ...le_structural_location_info_style_wrapInAtSquareBracket.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_undriven.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_undriven.v | 1 - .../test_backend/test_mlir/golds/simple_undriven_instances.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_undriven_instances.v | 1 - tests/test_backend/test_mlir/golds/simple_unused_output.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_unused_output.v | 1 - .../test_mlir/golds/simple_verilog_defn_wrapper.mlir | 2 +- .../test_backend/test_mlir/golds/simple_verilog_defn_wrapper.v | 1 - tests/test_backend/test_mlir/golds/simple_wire.mlir | 2 +- tests/test_backend/test_mlir/golds/simple_wire.v | 1 - tests/test_backend/test_mlir/golds/sync_memory_wrapper.mlir | 2 +- tests/test_backend/test_mlir/golds/sync_memory_wrapper.v | 1 - tests/test_backend/test_mlir/golds/twizzle.mlir | 2 +- tests/test_backend/test_mlir/golds/twizzle.v | 1 - tests/test_backend/test_mlir/golds/xmr_bind.mlir | 2 +- tests/test_backend/test_mlir/golds/xmr_bind.v | 2 -- 169 files changed, 89 insertions(+), 173 deletions(-) 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/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/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_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),