mirror of https://github.com/YosysHQ/yosys.git
11 lines
329 B
Systemverilog
11 lines
329 B
Systemverilog
module top_properties (input logic clock, read, write, ready);
|
|
a_rw: assert property ( @(posedge clock) !(read && write) );
|
|
`ifdef FAIL
|
|
a_wr: assert property ( @(posedge clock) write |-> ready );
|
|
`else
|
|
a_wr: assert property ( @(posedge clock) write |=> ready );
|
|
`endif
|
|
endmodule
|
|
|
|
bind top top_properties properties_inst (.*);
|