Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You can do it with a FF and a mux.
What kind of flipflop?
If you have a SR flipflop, the common method is to ad a couple of aditional gates* in front that share a common hold input.
* AND-gates or OR-gates depends on the SR flipflop topology.
how to do it? can u give me some details?
How do I do it? Give it a try on this.
ff i_ff (.clk(!CLK), .d(D), .q(Q));
mux i_mux (.inp0(Q), .inp1(D), .out(OUT), .s(CLK));
how to do it? can u give me some details?
How do I do it? Give it a try on this.
ff i_ff (.clk(!CLK), .d(D), .q(Q));
mux i_mux (.inp0(Q), .inp1(D), .out(OUT), .s(CLK));
ok, thank u!
Hi,
can we use only the mux
mux i_mux (.inp0(OUT), .inp1(D), .out(OUT), .s(CLK));
??
regards
Yes, as a matter of fact you can.
Check this out: https://www.asic-world.com/images/digital/mux_latch.gif
But I think it's mux to latch, not flipflop to latch...
How do I do it? Give it a try on this.
ff i_ff (.clk(!CLK), .d(D), .q(Q));
mux i_mux (.inp0(Q), .inp1(D), .out(OUT), .s(CLK));
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.
;-)
regards