Maker Pro
Maker Pro

An alternative to 74ls173's design ?

asadmasad

Jun 19, 2018
2
Joined
Jun 19, 2018
Messages
2
hi there,
so i was watching a video about building a 1 bit register(made by Ben eater i guess). he explains that we have a SR flip-flop as the storing unit and we need to add a "load" to it so we have a register.
then he starts adding some gates and he comes up with a design like the picture bellow.
176387321c45082e729b9392576f994c3cd1cadefc2161208a87d8feb72ebe92e6937fed.jpg

and then, i came up with an alternative design like this:
16acrcp.jpg

and it worked. but when i continued watching the video, he introduced the 74LS174 which has the same design as he made :
964190782fdd08f7d0551c99f00c927879817b70d18c4175dcbc77e301be95d6ca89f2b0.jpg

and now i keep thinking why is that ? i am sure that the engineers who designed this chip (and Ben) are experts and gave it a lot of thoughts. so what's the reason they made it this complicated ? is there a problem with my design ? or what ?

thank you in advance and sorry if i was not clear enough,
with regards,
Ali
 

AnalogKid

Jun 10, 2015
2,884
Joined
Jun 10, 2015
Messages
2,884
The first circuit and your version work the same only for certain combinations of input signals. In your circuit, if the load input changes while the clock input is high, the ff is clocked immediately. In the original circuit, the ff is not clocked immediately, it is clocked on the next positive edge of the clock signal. In your circuit, there is a path from the load input to the ff clock pin. In the first circuit there is not; the load signal affects the data input, not the clock input.

The inverter, OR gate, and 2 AND gates form a 2:1 multiplexer. Without that function, the circuits are very different.

ak
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
In addition to that, the internal circuit you see in the datasheet is normally labelled an "equivalent circuit" because the actual circuit may be quite different.

As a very simple example, an xor gate may be shown as having an equivalent circuit consisting of a number of gated which implement the function "either input but not both" which will have a propagation delay being the sum of three gates through which the logic passes, however the implementation on silicon can take some shortcuts to achieve the result much faster. Similarly, there may be additional gates which appear to do nothing, but serve to ensure the propagation delay is correctly managed through multiple pathways.
 

asadmasad

Jun 19, 2018
2
Joined
Jun 19, 2018
Messages
2
The first circuit and your version work the same only for certain combinations of input signals. In your circuit, if the load input changes while the clock input is high, the ff is clocked immediately. In the original circuit, the ff is not clocked immediately, it is clocked on the next positive edge of the clock signal. In your circuit, there is a path from the load input to the ff clock pin. In the first circuit there is not; the load signal affects the data input, not the clock input.

The inverter, OR gate, and 2 AND gates form a 2:1 multiplexer. Without that function, the circuits are very different.

ak
I see. thank you.

In addition to that, the internal circuit you see in the datasheet is normally labelled an "equivalent circuit" because the actual circuit may be quite different.

As a very simple example, an xor gate may be shown as having an equivalent circuit consisting of a number of gated which implement the function "either input but not both" which will have a propagation delay being the sum of three gates through which the logic passes, however the implementation on silicon can take some shortcuts to achieve the result much faster. Similarly, there may be additional gates which appear to do nothing, but serve to ensure the propagation delay is correctly managed through multiple pathways.
thanks a lot.
 
Top