Update tests so they can be converted to vlog95
This commit is contained in:
parent
ef931e2e0d
commit
01c5e502bd
|
|
@ -10,7 +10,9 @@ module test;
|
|||
assign y = '{'{1'b1, 1 + 1, 3.0, "TEST"},
|
||||
'{5, 6, '{1'b0, 1 * 1, 3, 1.0}, 8}};
|
||||
|
||||
final begin
|
||||
// Use an inital block with a delay since a final block cannot be converted to vlog95
|
||||
initial begin
|
||||
#1;
|
||||
if (x === 16'h1234 && y == 32'h12345678) begin
|
||||
$display("PASSED");
|
||||
end else begin
|
||||
|
|
|
|||
|
|
@ -20,7 +20,9 @@ module test;
|
|||
assign x = '{1'b1, 2.0, 2 + 1};
|
||||
assign y = '{'{1'b1, 2.0, 2 + 1}, '{4, 5, 6}};
|
||||
|
||||
final begin
|
||||
// Use an inital block with a delay since a final block cannot be converted to vlog95
|
||||
initial begin
|
||||
#1;
|
||||
if (x === 56'h00000001000203 &&
|
||||
y === 68'h00000001000203456) begin
|
||||
$display("PASSED");
|
||||
|
|
|
|||
Loading…
Reference in New Issue