I am having problem in filtering the changes from x->1 and x->0 on a singal which i use to generate events.
I have a simple port "a" of type in, which is connected to a DUT signal. DUT drives x on the signal "a" for some time initially
(10ns) and then drives the value 1. I declared an event as shown below. clk_r is a clock rising event. The first clk_r event is available
well after signal "a" settles with the value 1.
event a_e is rise(a$)@clk_r;
Because of the change from x->1 on the signal "a", i receive an event on a_e on the first clk_r event.
Can anyone suggest me how i can filter this unwanted event.
By default, ICC records transitions 1 -> 0 and 0 -> 1. To record transitions X -> 0 and
Consider transition 0 -> X -> 1 -> 0 -> X -> 1.In the absence of the set_toggle_includex command,
In the absence of the set_toggle_includex command,
■ The number of rise transitions is 0.
With this command,
■ The number of rise transitions is 2 (X -> 1 and X -> 1).
■ The number of fall transitions is 1 (1 -> 0).
In reply to MDK1234:
Thanks for your reply. I created a work around for my issue by using the reset signal and ignoring the initial transitions from x->1 by checking if the reset is true.
Thanks again for your reply.
In reply to jaichandra: