manakin
@manakin
This (mega) thread will follow my daily progress on “Digital Design & Computer Architecture: RISC-V Edition” by David & Sarah Harris
1 reply
0 recast
3 reactions
manakin
@manakin
Today I began Ch 3 on sequential circuits which differ from combinational circuits (covered in ch 2) as they have memory. Sequential logic compresses prior inputs into the system’s state.
1 reply
0 recast
0 reaction
manakin
@manakin
First covered a simple instance of sequential circuits called SR latches (two cross-coupled NOR gates) that experiences awkward behavior when R & S are asserted [Q & Ǭ = 0].
1 reply
0 recast
0 reaction
manakin
@manakin
The D latch solves this with two cross-coupled AND gates that limit state transitions to the cases when the SR latch produces non-awkward behavior (aka when Q ≠ Ǭ). Notice that when CLK (clock) = 0, the state doesn’t update and only depends on the previous state. When CLK = 1, D alone determines Q & Ǭ.
1 reply
0 recast
0 reaction