06 Digital Circuits
Digital circuits¶
- combinational circuits
- sequential circuits
Combinational | Sequential | |
---|---|---|
output depends on | input | input present state |
storage | ❌ | ✅ |
memory | ❌ | ✅ |
Feedback (recursive input) | ❌ | ✅ |
Applications of combinational circuits¶
- Arithmetic and logic functions
- adder
- subtractor
- comparator
- PLD (Programmable Logic Device)
- Data Transmission
- multiplexer
- de-multiplexer
- encoder
- decoder
- code conversion
- Binary
- BCD
- 7-Segment
Sequential Logic Circuit¶
output depends on present inputs and past outputs (feedback)
sequential circuit will have storage elements to store the past outputs so that they can be fed back to the input
therefore, sequential circuit can be expressed as a combinational circuit with storage and feedback element
flowchart LR
Inputs --> c[Combinational Circuit] --> Outputs --> s[Storage Element] --> c
States¶
-
Present state
-
Next state
Examples¶
- counters
- shift registers
- sequence detector
- function generator
Clock¶
is a periodic square pulse
has 3 features
- rising(+ve) edge \(( \to )\) \((\uparrow)\) not ideal, but alright for trigger because it is only for a short duration, but requires power
- level(neutral) edge — worst for trigger because large power required and duration is for \(t\) seconds
- falling(-ve) edge \((\to)\) with a bubble \((\downarrow)\) best for trigger because it is only for a short duration and requires least power
always low logic design is the best as it requires the least power
Types of Sequential Circuits¶
- +ve trigger/sensitive
- Level trigger/sensitive
- -ve trigger/sensitive
Storage elements¶
Latches | FlipFlops | |
---|---|---|
Clock | ❌ | ✅ |
Sync Type | Asynchronous | Asynchronous/Synchronous |
Trigger Type | Level | Edge |