In digital design, you may not have the access to the internal nodes of a FF. In some of the standard cell libs, there is no latch available. Occasionally, you'll need To do the conversion.
to be honest
In the circuit from ebuddy the latch functionallity is comming from the mux.
The FF is more or less just in to fullfill your question,
but it isn't needed at all and you could also remove it
So for me this solution did not convert a FF into a Latch, you just add a latch to the FF.
;-)
to be honest
In the circuit from ebuddy the latch functionallity is comming from the mux.
The FF is more or less just in to fullfill your question,
but it isn't needed at all and you could also remove it
So for me this solution did not convert a FF into a Latch, you just add a latch to the FF.
;-)
Well, in the solution I proposed, the memory element is the FF, not the mux.
This kind of question is more an interview question than a practical question. The OP is asking for a latch from FF. So if the solution does not have FF, then the answer is most likely not the one expected by the interviewer.