data/full_repos/permissive/459277146/shift.v
1: b'%Warning-WIDTH: data/full_repos/permissive/459277146/shift.v:7: Logical Operator COND expects 1 bit on the Conditional Test, but Conditional Test\'s VARREF \'dir\' generates 8 bits.\n                                                              : ... In instance shift\nassign dout = dir ? din<<1\n                  ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: Exiting due to 1 warning(s)\n'
module shift #(parameter DWIDTH = 8)(
input   [DWIDTH-1:0] dir,
input   [DWIDTH-1:0] din,
output  [DWIDTH-1:0]dout
);

assign dout = dir ? din<<1
			      : din>>1;

endmodule
module shift #(parameter DWIDTH = 8)(
input   [DWIDTH-1:0] dir,
input   [DWIDTH-1:0] din,
output  [DWIDTH-1:0]dout
);


assign dout = dir ? din<<1
			      : din>>1;

endmodule