data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v
 line:47: before: "$"
1: b'%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:35: Unsupported: Ignoring delay on this delayed statement.\n #5 Inst = 2\'b01;\n ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:36: Unsupported: Ignoring delay on this delayed statement.\n #5 Inst = 2\'b10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:37: Unsupported: Ignoring delay on this delayed statement.\n #5 Inst = 2\'b11;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:39: Unsupported: Ignoring delay on this delayed statement.\n #5 X = 4\'b0011;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:40: Unsupported: Ignoring delay on this delayed statement.\n #5 Y = 4\'b1100;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:41: Unsupported: Ignoring delay on this delayed statement.\n #5 Sel = 1\'b0;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:42: Unsupported: Ignoring delay on this delayed statement.\n #5 Inst = 2\'b00;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:43: Unsupported: Ignoring delay on this delayed statement.\n #5 Inst = 2\'b01;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:44: Unsupported: Ignoring delay on this delayed statement.\n #5 Inst = 2\'b10;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:45: Unsupported: Ignoring delay on this delayed statement.\n #5 Inst = 2\'b11;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:47: Unsupported: Ignoring delay on this delayed statement.\n #10 $finish;\n ^\n%Error: data/full_repos/permissive/148324174/CombLogic/CombLogic_tb.v:13: Cannot find file containing module: \'Comb_Logic_param\'\nComb_Logic_param\n^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/148324174/CombLogic,data/full_repos/permissive/148324174/Comb_Logic_param\n             data/full_repos/permissive/148324174/CombLogic,data/full_repos/permissive/148324174/Comb_Logic_param.v\n             data/full_repos/permissive/148324174/CombLogic,data/full_repos/permissive/148324174/Comb_Logic_param.sv\n             Comb_Logic_param\n             Comb_Logic_param.v\n             Comb_Logic_param.sv\n             obj_dir/Comb_Logic_param\n             obj_dir/Comb_Logic_param.v\n             obj_dir/Comb_Logic_param.sv\n%Error: Exiting due to 1 error(s), 11 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module Comb_Logic_param_tb;

	reg [4-1:0] X, Y;
	reg [1:0] Inst;
	reg Sel;
	wire [4-1:0] sum;
	wire Cout, XEGY, Sel_out;
	wire [2*4-1:0] Prod;

Comb_Logic_param
#(
	.Dwidth(4)
)
 U1(
	.X(X),
	.Y(Y),
	.Inst(Inst),
	.Sel(Sel),
	.sum(sum),
	.Cout(Cout),
	.XEGY(XEGY),
	.Sel_out(Sel_out),
	.Prod(Prod)
);

initial
begin
	X = 4'b0101;
	Y = 4'b0010;
	Sel = 1'b1;
	Inst = 2'b00;
	#5 Inst = 2'b01;
	#5 Inst = 2'b10;
	#5 Inst = 2'b11;

	#5 X = 4'b0011;
	#5 Y = 4'b1100;
	#5 Sel = 1'b0;
	#5 Inst = 2'b00;
	#5 Inst = 2'b01;
	#5 Inst = 2'b10;
	#5 Inst = 2'b11;
	
	#10 $finish;
end

endmodule
module Comb_Logic_param_tb;


	reg [4-1:0] X, Y;
	reg [1:0] Inst;
	reg Sel;
	wire [4-1:0] sum;
	wire Cout, XEGY, Sel_out;
	wire [2*4-1:0] Prod;

Comb_Logic_param
#(
	.Dwidth(4)
)
 U1(
	.X(X),
	.Y(Y),
	.Inst(Inst),
	.Sel(Sel),
	.sum(sum),
	.Cout(Cout),
	.XEGY(XEGY),
	.Sel_out(Sel_out),
	.Prod(Prod)
);

initial
begin
	X = 4'b0101;
	Y = 4'b0010;
	Sel = 1'b1;
	Inst = 2'b00;
	#5 Inst = 2'b01;
	#5 Inst = 2'b10;
	#5 Inst = 2'b11;

	#5 X = 4'b0011;
	#5 Y = 4'b1100;
	#5 Sel = 1'b0;
	#5 Inst = 2'b00;
	#5 Inst = 2'b01;
	#5 Inst = 2'b10;
	#5 Inst = 2'b11;
	
	#10 $finish;
end

endmodule