Add more SVA test cases for future Verific work
This commit is contained in:
15
tests/sva/basic05.sv
Normal file
15
tests/sva/basic05.sv
Normal file
@@ -0,0 +1,15 @@
|
||||
module top (input logic clock, ctrl);
|
||||
logic read, write, ready;
|
||||
|
||||
demo uut (
|
||||
.clock(clock),
|
||||
.ctrl(ctrl)
|
||||
);
|
||||
|
||||
assign read = uut.read;
|
||||
assign write = uut.write;
|
||||
assign ready = uut.ready;
|
||||
|
||||
a_rw: assert property ( @(posedge clock) !(read && write) );
|
||||
a_wr: assert property ( @(posedge clock) write |-> ready );
|
||||
endmodule
|
||||
Reference in New Issue
Block a user