Files
yosys/tests/sva/basic04.sv

11 lines
329 B
Systemverilog
Raw Permalink Normal View History

module top_properties (input logic clock, read, write, ready);
a_rw: assert property ( @(posedge clock) !(read && write) );
2017-07-27 11:42:05 +02:00
`ifdef FAIL
a_wr: assert property ( @(posedge clock) write |-> ready );
2017-07-27 11:42:05 +02:00
`else
a_wr: assert property ( @(posedge clock) write |=> ready );
`endif
endmodule
bind top top_properties properties_inst (.*);