??? 04/20/07 05:29 Read: times |
#137591 - I like clear terms in my latches Responding to: ???'s previous message |
I agree, but, I like the latch to look like this
( assumes q is mode BUFFER) q <= (NOT le AND NOT d AND q AND NOT clr) OR (NOT le AND d AND q AND NOT clr) OR ( le AND d AND NOT q AND NOT clr) OR ( le AND d AND q AND NOT clr) ; This covers all the hazards, I believe, and fits a 4 input LUT. Check this, Andy, and let me know whether it works OK. I use schematics, and this would simply be a sum of products description, true/complement array to 4 AND gates to a 4 input OR. I like the clear term so I can be sure what the initial conditions are. RE |