V
Veeresh
Guest
Hi All,
I am writing assertions for one of the following scenarios.
______ ______ ______ ______
clk | | | | | | | |
|______| |______| |______| |______|
_____________
en | |
_____________| |____________________________
___________________ ___________________________________
data \/
___________________/\___________________________________
Data changes only on the enable on negedge. But enable changes on
posedge.
I wrote following assertion and formal tool fails.
property abc;
@(posedge clk)
disable iff (reset == LOW)
!($stable (data)) |-> (en == HIGH);
endproperty: abc
pqr:assert property (abc) else $error ("error");
Can you please help me to correct this?
Thanks,
Veeresh
I am writing assertions for one of the following scenarios.
______ ______ ______ ______
clk | | | | | | | |
|______| |______| |______| |______|
_____________
en | |
_____________| |____________________________
___________________ ___________________________________
data \/
___________________/\___________________________________
Data changes only on the enable on negedge. But enable changes on
posedge.
I wrote following assertion and formal tool fails.
property abc;
@(posedge clk)
disable iff (reset == LOW)
!($stable (data)) |-> (en == HIGH);
endproperty: abc
pqr:assert property (abc) else $error ("error");
Can you please help me to correct this?
Thanks,
Veeresh