mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
62 lines
2.0 KiB
Markdown
62 lines
2.0 KiB
Markdown
---
|
|
title: "sequential-circuits"
|
|
aliases:
|
|
tags:
|
|
- cosc204
|
|
---
|
|
|
|
|
|
[combinatorial-logic-circuits](notes/combinatorial-logic-circuit.md) always produce the same outputs given the same input. Sequential curcuits on the other hand, produce different outputs depending on past history and the inputs.
|
|
|
|

|
|
|
|
There are two main types of sequential circuit
|
|
- Sychronous
|
|
- this is when changes of state occur in time with a clock cycle
|
|
- changes of input occur between clock pulses
|
|
- state changes occur at the clock pulses
|
|
- Asynchronous
|
|
- state changes occur as the inputs occur
|
|
- event driven
|
|
|
|
# Main circuits
|
|
## SR latch
|
|
The set reset latch is the most basic and simple sequential circuit. It is anychronous
|
|
|
|

|
|
|
|
The ouput is remembered and changed basic on previous output.
|
|
- When S (set) is pulsed Q is one and Q̄ is zero
|
|
- When R (reset) is pulsed Q is set to zero and Q̄ is set to one
|
|
|
|
## D Flip FLop
|
|
|
|

|
|
|
|
The D flip flop is basically an SR connected to a clock. Making it synchronous.
|
|
|
|
Instead of switching when you set or reset. The outputs change when the clock pulses. Depending on the value of the D(ata) input.
|
|
|
|
[circuit simulation](https://tinyurl.com/2cafc57y)
|
|
|
|
## T Flip Flop
|
|
|
|

|
|
|
|
The T flip flop swtiches between the two outputs Q and Q̄ when
|
|
- T(oggle) is held high
|
|
- And the clock is cycled (from off to on to off)
|
|
|
|
## JK Flip Flop
|
|
|
|

|
|
|
|
The JK flip flop is a combination of the d flip flop and the t flip flop.
|
|
|
|
|
|
|
|
|
|
|
|
## Video demonstration of some sequential circuits
|
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/I0-izyq6q5s?start=84" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|