additional codegen test coverage

- assertions, gen case, and inout
- simplify block codegen
- remove blank lines in tasks with no inputs
This commit is contained in:
Zachary Snow
2020-12-11 12:41:59 -07:00
parent 2311d3e2d6
commit 2a2d819baa
11 changed files with 96 additions and 16 deletions
+12
View File
@@ -0,0 +1,12 @@
module Module(input clock, input clear, input data);
logic x, y;
assign y = data;
assign x = y;
assert property (
@(posedge clock) disable iff(clear) x == y
);
task hello;
$display("Hello!");
assert property (x == y);
endtask
endmodule