data/full_repos/permissive/441359809/src/yosys/tests/asicworld/code_specman_switch_fabric.v
1: b'%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/asicworld/code_specman_switch_fabric.v:38: Input port connection \'data_in_valid\' expects 1 bits on the pin connection, but pin connection\'s VARREF \'data_in_valid3\' generates 8 bits.\n                                                                                                              : ... In instance switch_fabric\n  .data_in_valid(data_in_valid3), .data_out(data_out3), \n   ^~~~~~~~~~~~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/asicworld/code_specman_switch_fabric.v:39: Output port connection \'data_out_ack\' expects 1 bits on the pin connection, but pin connection\'s VARREF \'data_out_ack3\' generates 8 bits.\n                                                                                                              : ... In instance switch_fabric\n  .data_out_ack(data_out_ack3));\n   ^~~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/asicworld/code_specman_switch_fabric.v:42: Input port connection \'data_in_valid\' expects 1 bits on the pin connection, but pin connection\'s VARREF \'data_in_valid4\' generates 8 bits.\n                                                                                                              : ... In instance switch_fabric\n  .data_in_valid(data_in_valid4), .data_out(data_out4), \n   ^~~~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/asicworld/code_specman_switch_fabric.v:43: Output port connection \'data_out_ack\' expects 1 bits on the pin connection, but pin connection\'s VARREF \'data_out_ack4\' generates 8 bits.\n                                                                                                              : ... In instance switch_fabric\n  .data_out_ack(data_out_ack4));\n   ^~~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/asicworld/code_specman_switch_fabric.v:46: Input port connection \'data_in_valid\' expects 1 bits on the pin connection, but pin connection\'s VARREF \'data_in_valid5\' generates 8 bits.\n                                                                                                              : ... In instance switch_fabric\n  .data_in_valid(data_in_valid5), .data_out(data_out5), \n   ^~~~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/asicworld/code_specman_switch_fabric.v:47: Output port connection \'data_out_ack\' expects 1 bits on the pin connection, but pin connection\'s VARREF \'data_out_ack5\' generates 8 bits.\n                                                                                                              : ... In instance switch_fabric\n  .data_out_ack(data_out_ack5));\n   ^~~~~~~~~~~~\n%Error: Exiting due to 6 warning(s)\n'
module switch_fabric(
  clk, reset, data_in0, data_in1, data_in2,
  data_in3, data_in4, data_in5, data_in_valid0,
  data_in_valid1, data_in_valid2, data_in_valid3,
  data_in_valid4, data_in_valid5, data_out0,
  data_out1, data_out2, data_out3, data_out4,
  data_out5, data_out_ack0, data_out_ack1,
  data_out_ack2, data_out_ack3, data_out_ack4,
  data_out_ack5
);

input           clk, reset;
input  [7:0]    data_in0, data_in1, data_in2, data_in3;
input  [7:0]    data_in4, data_in5;
input           data_in_valid0, data_in_valid1, data_in_valid2;
input  [7:0]    data_in_valid3, data_in_valid4, data_in_valid5;
output [7:0]    data_out0, data_out1, data_out2, data_out3;
output [7:0]    data_out4, data_out5;
output          data_out_ack0, data_out_ack1, data_out_ack2;
output [7:0]    data_out_ack3, data_out_ack4, data_out_ack5;

(* gentb_clock *)
wire clk;

switch port_0 ( .clk(clk), .reset(reset), .data_in(data_in0), 
  .data_in_valid(data_in_valid0), .data_out(data_out0), 
  .data_out_ack(data_out_ack0));

switch port_1 ( .clk(clk), .reset(reset), .data_in(data_in1), 
  .data_in_valid(data_in_valid1), .data_out(data_out1), 
  .data_out_ack(data_out_ack1));

switch port_2 ( .clk(clk), .reset(reset), .data_in(data_in2), 
  .data_in_valid(data_in_valid2), .data_out(data_out2), .
  data_out_ack(data_out_ack2));

switch port_3 ( .clk(clk), .reset(reset), .data_in(data_in3), 
  .data_in_valid(data_in_valid3), .data_out(data_out3), 
  .data_out_ack(data_out_ack3));

switch port_4 ( .clk(clk), .reset(reset), .data_in(data_in4), 
  .data_in_valid(data_in_valid4), .data_out(data_out4), 
  .data_out_ack(data_out_ack4));

switch port_5 ( .clk(clk), .reset(reset), .data_in(data_in5), 
  .data_in_valid(data_in_valid5), .data_out(data_out5), 
  .data_out_ack(data_out_ack5));

endmodule
module switch_fabric(
  clk, reset, data_in0, data_in1, data_in2,
  data_in3, data_in4, data_in5, data_in_valid0,
  data_in_valid1, data_in_valid2, data_in_valid3,
  data_in_valid4, data_in_valid5, data_out0,
  data_out1, data_out2, data_out3, data_out4,
  data_out5, data_out_ack0, data_out_ack1,
  data_out_ack2, data_out_ack3, data_out_ack4,
  data_out_ack5
);


input           clk, reset;
input  [7:0]    data_in0, data_in1, data_in2, data_in3;
input  [7:0]    data_in4, data_in5;
input           data_in_valid0, data_in_valid1, data_in_valid2;
input  [7:0]    data_in_valid3, data_in_valid4, data_in_valid5;
output [7:0]    data_out0, data_out1, data_out2, data_out3;
output [7:0]    data_out4, data_out5;
output          data_out_ack0, data_out_ack1, data_out_ack2;
output [7:0]    data_out_ack3, data_out_ack4, data_out_ack5;

(* gentb_clock *)
wire clk;

switch port_0 ( .clk(clk), .reset(reset), .data_in(data_in0), 
  .data_in_valid(data_in_valid0), .data_out(data_out0), 
  .data_out_ack(data_out_ack0));

switch port_1 ( .clk(clk), .reset(reset), .data_in(data_in1), 
  .data_in_valid(data_in_valid1), .data_out(data_out1), 
  .data_out_ack(data_out_ack1));

switch port_2 ( .clk(clk), .reset(reset), .data_in(data_in2), 
  .data_in_valid(data_in_valid2), .data_out(data_out2), .
  data_out_ack(data_out_ack2));

switch port_3 ( .clk(clk), .reset(reset), .data_in(data_in3), 
  .data_in_valid(data_in_valid3), .data_out(data_out3), 
  .data_out_ack(data_out_ack3));

switch port_4 ( .clk(clk), .reset(reset), .data_in(data_in4), 
  .data_in_valid(data_in_valid4), .data_out(data_out4), 
  .data_out_ack(data_out_ack4));

switch port_5 ( .clk(clk), .reset(reset), .data_in(data_in5), 
  .data_in_valid(data_in_valid5), .data_out(data_out5), 
  .data_out_ack(data_out_ack5));

endmodule