10 likes | 135 Views
010. 010. drive here. sample here. sample here. clock trigger. evaluate here. sequence @(posedge clk) sa = (!a ; a ; !a); sequence @(posedge clk) sc = (!c ; c ; !c);. property p = (sa => [2] sc); // clocked assertion. reactive. react here. FF1. FF2. b. c. a. preponed. clk.
E N D
010 010 drive here sample here sample here clock trigger evaluate here sequence @(posedge clk) sa = (!a ; a ; !a); sequence @(posedge clk) sc = (!c ; c ; !c); property p = (sa => [2] sc); // clocked assertion reactive react here FF1 FF2 b c a preponed clk active assign #0 gclk = clk; always @(posedge gclk) b = a; // FF1 always @(posedge clk) c = b; // FF2 inactive NBA observe assert (p) pass_statement; else; fail_statement; postponed