blob: c4b164c76f63b365902669b4eccec7c8f2b7ff7f [file] [log] [blame]
primitive scs8lpa_U_DF_P (Q, D, CP);
output Q;
input D, CP;
reg Q;
// FUNCTION : POSITIVE EDGE TRIGGERED D FLIP-FLOP ( Q OUTPUT UDP ).
table
// D CP : Qt : Qt+1
1 (01) : ? : 1; // clocked data
0 (01) : ? : 0;
1 (x1) : 1 : 1; // reducing pessimism
0 (x1) : 0 : 0;
// ? (1x) : ? : -; // no change on falling edge
0 x : 0 : 0 ; // unkown CP, hold when D==Q==0
1 x : 1 : 1 ; // unkown CP, hold when D==Q==1
? (?0) : ? : -;
* b : ? : -; // ignore edges on data, unless CP=X
endtable
endprimitive