data/full_repos/permissive/441359809/src/yosys/tests/simple/paramods.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/441359809/src/yosys/tests/simple/paramods.v:14: Multiple top level modules\n                                                                                            : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                                            : ... Top module \'pm_test1\'\nmodule pm_test1(a, b, x, y);\n       ^~~~~~~~\n                                                                                            : ... Top module \'pm_test2\'\nmodule pm_test2(a, b, x, y);\n       ^~~~~~~~\n                                                                                            : ... Top module \'pm_test3\'\nmodule pm_test3(a, b, x, y);\n       ^~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/simple/paramods.v:32: Input port connection \'in\' expects 4 bits on the pin connection, but pin connection\'s VARREF \'b\' generates 8 bits.\n                                                                                         : ... In instance pm_test3\ninc inc_b (b, y);\n           ^\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/simple/paramods.v:32: Output port connection \'out\' expects 4 bits on the pin connection, but pin connection\'s VARREF \'y\' generates 8 bits.\n                                                                                         : ... In instance pm_test3\ninc inc_b (b, y);\n              ^\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/simple/paramods.v:19: Input port connection \'in\' expects 5 bits on the pin connection, but pin connection\'s VARREF \'a\' generates 8 bits.\n                                                                                         : ... In instance pm_test2\ninc #(5) inc_a (.in(a), .out(x));\n                 ^~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/simple/paramods.v:19: Output port connection \'out\' expects 5 bits on the pin connection, but pin connection\'s VARREF \'x\' generates 8 bits.\n                                                                                         : ... In instance pm_test2\ninc #(5) inc_a (.in(a), .out(x));\n                         ^~~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/simple/paramods.v:20: Input port connection \'in\' expects 4 bits on the pin connection, but pin connection\'s VARREF \'b\' generates 8 bits.\n                                                                                         : ... In instance pm_test2\ninc #(4, 7) inc_b (b, y);\n                   ^\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/simple/paramods.v:20: Output port connection \'out\' expects 4 bits on the pin connection, but pin connection\'s VARREF \'y\' generates 8 bits.\n                                                                                         : ... In instance pm_test2\ninc #(4, 7) inc_b (b, y);\n                      ^\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/simple/paramods.v:8: Input port connection \'in\' expects 4 bits on the pin connection, but pin connection\'s VARREF \'b\' generates 8 bits.\n                                                                                        : ... In instance pm_test1\ninc #(.width(4), .step(7)) inc_b (b, y);\n                                  ^\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/simple/paramods.v:8: Output port connection \'out\' expects 4 bits on the pin connection, but pin connection\'s VARREF \'y\' generates 8 bits.\n                                                                                        : ... In instance pm_test1\ninc #(.width(4), .step(7)) inc_b (b, y);\n                                     ^\n%Error: Exiting due to 9 warning(s)\n'
module pm_test3(a, b, x, y);

input [7:0] a, b;
output [7:0] x, y;

inc inc_a (.in(a), .out(x));
inc inc_b (b, y);

defparam inc_a.step = 3;
defparam inc_b.step = 7;
defparam inc_b.width = 4;

endmodule
module pm_test3(a, b, x, y);


input [7:0] a, b;
output [7:0] x, y;

inc inc_a (.in(a), .out(x));
inc inc_b (b, y);

defparam inc_a.step = 3;
defparam inc_b.step = 7;
defparam inc_b.width = 4;

endmodule