data/full_repos/permissive/134057391/2019_ricoh2A03/code/testbench/tri_channel_tb.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/134057391/2019_ricoh2A03/code/testbench/tri_channel_tb.v:35: Unsupported: Ignoring delay on this delayed statement.\n      #(PERIOD/2) clk = 1\'b0;\n      ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/134057391/2019_ricoh2A03/code/testbench/tri_channel_tb.v:36: Unsupported: Ignoring delay on this delayed statement.\n      #(PERIOD/2);\n      ^\n%Error: data/full_repos/permissive/134057391/2019_ricoh2A03/code/testbench/tri_channel_tb.v:39: Cannot find file containing module: \'tri_channel\'\n   tri_channel dut (.clk(clk), .reset(1\'b0), .r1(8\'d0), .r3(8\'d126), .r4(8\'d0), .p(p), .tc(tc), .y(tri_y));\n   ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/134057391/2019_ricoh2A03/code/testbench,data/full_repos/permissive/134057391/tri_channel\n             data/full_repos/permissive/134057391/2019_ricoh2A03/code/testbench,data/full_repos/permissive/134057391/tri_channel.v\n             data/full_repos/permissive/134057391/2019_ricoh2A03/code/testbench,data/full_repos/permissive/134057391/tri_channel.sv\n             tri_channel\n             tri_channel.v\n             tri_channel.sv\n             obj_dir/tri_channel\n             obj_dir/tri_channel.v\n             obj_dir/tri_channel.sv\n%Error: Exiting due to 1 error(s), 2 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module tri_channel_tb();

   parameter PERIOD = 558;

   reg clk;

   wire [10:0] p;
   wire tc;
   wire [3:0] tri_y;
  
   always begin
      clk = 1'b1;
      #(PERIOD/2) clk = 1'b0;
      #(PERIOD/2);
   end

   tri_channel dut (.clk(clk), .reset(1'b0), .r1(8'd0), .r3(8'd126), .r4(8'd0), .p(p), .tc(tc), .y(tri_y));

endmodule
module tri_channel_tb();


   parameter PERIOD = 558;

   reg clk;

   wire [10:0] p;
   wire tc;
   wire [3:0] tri_y;
  
   always begin
      clk = 1'b1;
      #(PERIOD/2) clk = 1'b0;
      #(PERIOD/2);
   end

   tri_channel dut (.clk(clk), .reset(1'b0), .r1(8'd0), .r3(8'd126), .r4(8'd0), .p(p), .tc(tc), .y(tri_y));

endmodule