data/full_repos/permissive/125927162/SIPO/sipo.v
1: b'%Warning-WIDTHCONCAT: data/full_repos/permissive/125927162/SIPO/sipo.v:36: Unsized numbers/parameters not allowed in replications.\n                                                                         : ... In instance sipo\n   assign q = oe ? out: {{WIDTH}{1\'bz}};\n                          ^~~~~\n                      ... Use "/* verilator lint_off WIDTHCONCAT */" and lint_on around source to disable this message.\n%Warning-WIDTHCONCAT: data/full_repos/permissive/125927162/SIPO/sipo.v:36: Unsized numbers/parameters not allowed in replications.\n                                                                         : ... In instance sipo\n   assign q = oe ? out: {{WIDTH}{1\'bz}};\n                         ^\n%Error: Exiting due to 2 warning(s)\n'
module sipo (clk, d, q, rst, oe, ie);
   parameter WIDTH = 8;
   input clk;
   input d;
   input rst;
   input oe;
   input ie;
   output [WIDTH-1:0] q;
   reg [WIDTH-1:0]   out;

   always @ (posedge clk) begin
      if(ie) begin
	 if(rst)
	   out <= 0;
	 else begin
	    out[WIDTH-1:0] <= {out[WIDTH-2:0], d};	    
	 end
      end
   end

   assign q = oe ? out: {{WIDTH}{1'bz}};

endmodule
module sipo (clk, d, q, rst, oe, ie);

   parameter WIDTH = 8;
   input clk;
   input d;
   input rst;
   input oe;
   input ie;
   output [WIDTH-1:0] q;
   reg [WIDTH-1:0]   out;

   always @ (posedge clk) begin
      if(ie) begin
	 if(rst)
	   out <= 0;
	 else begin
	    out[WIDTH-1:0] <= {out[WIDTH-2:0], d};	    
	 end
      end
   end

   assign q = oe ? out: {{WIDTH}{1'bz}};

endmodule