mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-06 22:34:07 +00:00
Merge pull request #159 from jix/fix-dpmem-example
examples: Fix use of SVA value change expressions
This commit is contained in:
commit
d10e472edf
|
@ -47,9 +47,9 @@ module top (
|
|||
(* gclk *) reg gclk;
|
||||
|
||||
always @(posedge gclk) begin
|
||||
assume ($stable(rc) || $stable(wc));
|
||||
|
||||
if (!init) begin
|
||||
assume ($stable(rc) || $stable(wc));
|
||||
|
||||
if ($rose(rc) && shadow_valid && shadow_addr == $past(ra)) begin
|
||||
assert (shadow_data == rd);
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue