Commit 32a1c98f by Miodrag Milanovic

Fixing testbenches

parent 1a6c428c
...@@ -32,6 +32,6 @@ module testbench; ...@@ -32,6 +32,6 @@ module testbench;
patt_B <= in[7] | in[1:2]; patt_B <= in[7] | in[1:2];
end end
assert_comb out_test(.A(patt_B), .B(B)); assert_tri out_test(.A(patt_B), .B(B), .en(1'b1));
endmodule endmodule
...@@ -31,7 +31,7 @@ module testbench; ...@@ -31,7 +31,7 @@ module testbench;
always @(negedge in[0]) always @(negedge in[0])
patt_carry_out <= in[1] + patt_out; patt_carry_out <= in[1] + patt_out;
assert_comb out_test(.A(patt_out), .B(out)); assert_tri out_test(.A(patt_out), .B(out), .en(1'b1));
assert_comb carry_test(.A(patt_carry_out), .B(carryout)); assert_tri carry_test(.A(patt_carry_out), .B(carryout), .en(1'b1));
endmodule endmodule
...@@ -32,6 +32,6 @@ module testbench; ...@@ -32,6 +32,6 @@ module testbench;
patt_B <= in[7] | in[1:2]; patt_B <= in[7] | in[1:2];
end end
assert_comb out_test(.A(patt_B), .B(B)); assert_tri out_test(.A(patt_B), .B(B), .en(1'b1));
endmodule endmodule
...@@ -32,6 +32,6 @@ module testbench; ...@@ -32,6 +32,6 @@ module testbench;
patt_B <= in[7] | in[1:2]; patt_B <= in[7] | in[1:2];
end end
assert_comb out_test(.A(patt_B), .B(B)); assert_tri out_test(.A(patt_B), .B(B), .en(1'b1));
endmodule endmodule
...@@ -32,6 +32,6 @@ module testbench; ...@@ -32,6 +32,6 @@ module testbench;
patt_B <= in[7] | in[1:2]; patt_B <= in[7] | in[1:2];
end end
assert_comb out_test(.A(patt_B), .B(B)); assert_tri out_test(.A(patt_B), .B(B), .en(1'b1));
endmodule endmodule
...@@ -32,6 +32,6 @@ module testbench; ...@@ -32,6 +32,6 @@ module testbench;
patt_B <= in[7] | in[1:2]; patt_B <= in[7] | in[1:2];
end end
assert_comb out_test(.A(patt_B), .B(B)); assert_tri out_test(.A(patt_B), .B(B), .en(1'b1));
endmodule endmodule
...@@ -32,6 +32,6 @@ module testbench; ...@@ -32,6 +32,6 @@ module testbench;
patt_B <= in[7] | in[1:2]; patt_B <= in[7] | in[1:2];
end end
assert_comb out_test(.A(patt_B), .B(B)); assert_tri out_test(.A(patt_B), .B(B), .en(1'b1));
endmodule endmodule
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment