blob: 7d8d0fcd9e7a2afc0e880b987c354577fbd83864 [file] [log] [blame]
primitive scs8lpa_U_DFB_SETDOM (Q, S, R, CK, D);
// same as scs8lpa_U_DFB udp but the set line is dominant.
output Q;
input S, R, CK, D;
reg Q;
table
0 1 ? ? : ? : 0; // Asserting reset
0 * ? ? : 0 : 0; // Changing reset
1 ? ? ? : ? : 1; // Asserting set (dominates reset)
* 0 ? ? : 1 : 1; // Changing set
0 ? (01) 0 : ? : 0; // rising clock
? 0 (01) 1 : ? : 1; // rising clock
0 ? p 0 : 0 : 0; // potential rising clock
? 0 p 1 : 1 : 1; // potential rising clock
0 0 n ? : ? : -; // Clock falling register output does not change
0 0 ? * : ? : -; // Changing Data
endtable
endprimitive
// bnb mar4,2003 - this is a modification of the verplex FF udp
// that was edited to work with tetramax and compiles
// with verilog-xl with no warnings