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
manakin
@manakin
27 SEP ’23 – Using two d latches controlled by 1 clock (CLK) can be used to build a D flip-flop. As will be explained in more detail in the next two casts, the D flip-flop copies D to Q on the rising edge of the clock (when CLK transitions from 0 to 1 aka rises) and remembers its last captured state (Q) otherwise.
1 reply
0 recast
0 reaction