data/full_repos/permissive/451577625/system/decoder_4_to_16.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:58: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:60: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:62: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:64: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:66: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:68: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:70: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:72: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:74: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:76: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:78: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:80: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:82: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Warning-STMTDLY: data/full_repos/permissive/451577625/system/decoder_4_to_16.v:84: Unsupported: Ignoring delay on this delayed statement.\n #period\n ^\n%Error: Exiting due to 14 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module decoder_4_to_16_tb;

reg enable;
reg [3:0] in_4;
wire [15:0] out_16;

localparam period = 20;

decoder_4_to_16 DUT (
	.in_4(in_4),
	.out_16(out_16),
	.in_enable(enable)
);

initial begin
	enable = 'b1;
	in_4 = 'b0000;
	#period
	in_4 = 'b0001;
	#period
	in_4 = 'b0010;
	#period
	in_4 = 'b0011;
	#period
	in_4 = 'b0100;
	#period
	in_4 = 'b0101;
	#period
	in_4 = 'b0110;
	#period
	in_4 = 'b0111;
	#period
	in_4 = 'b1000;
	#period
	in_4 = 'b1001;
	#period
	in_4 = 'b1010;
	#period
	in_4 = 'b1011;
	#period
	in_4 = 'b1100;
	#period
	in_4 = 'b1101;
	#period
	in_4 = 'b1111;
end

endmodule
module decoder_4_to_16_tb;


reg enable;
reg [3:0] in_4;
wire [15:0] out_16;

localparam period = 20;

decoder_4_to_16 DUT (
	.in_4(in_4),
	.out_16(out_16),
	.in_enable(enable)
);

initial begin
	enable = 'b1;
	in_4 = 'b0000;
	#period
	in_4 = 'b0001;
	#period
	in_4 = 'b0010;
	#period
	in_4 = 'b0011;
	#period
	in_4 = 'b0100;
	#period
	in_4 = 'b0101;
	#period
	in_4 = 'b0110;
	#period
	in_4 = 'b0111;
	#period
	in_4 = 'b1000;
	#period
	in_4 = 'b1001;
	#period
	in_4 = 'b1010;
	#period
	in_4 = 'b1011;
	#period
	in_4 = 'b1100;
	#period
	in_4 = 'b1101;
	#period
	in_4 = 'b1111;
end

endmodule