BI1109kul8b
-
Upload
kelvin-yip -
Category
Documents
-
view
7 -
download
0
description
Transcript of BI1109kul8b
![Page 1: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/1.jpg)
YAMANI /ZAILY 1
Sequential Circuit
Introduction to Counter Asynchronous Counter - Ripple Asynchronous Down Counter Synchronous Counter – Parallel Synchronous Counter Up/Down Designing Synchronous Counter Counter with Parallel Load
![Page 2: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/2.jpg)
YAMANI /ZAILY 2
Sequential Circuit
Contents Register Introduction
Simple register Register with parallel load
Shift Register Shift Register Serial In/Serial Out Shift Register Serial In/Parallel Out Shift Register Parallel In/Serial Out Shift Register Parallel In/ Parallel Out
Two way shift register Random Access Memory
![Page 3: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/3.jpg)
YAMANI /ZAILY 3
Sequential Circuit: Counter
Introduction Counter is a circuit which cycle through state sequence Two types of counter
Synchronous counter (e.g. parallel) Asynchronous counter (e.g. ripple)
Ripple counter let some flip-flop output to be used as clock signal source for other flip-flop
Synchronous counter use the same clock signal for all flip-flop
![Page 4: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/4.jpg)
YAMANI /ZAILY 4
Sequential Circuit: Counter
Asynchronous Counter (Ripple) Asynchronous Counter : flip-flop doesn’t
change condition simultaneously because it doesn’t use single clock signal
Also known as ripple counter because clock signal input as ripple through counter
![Page 5: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/5.jpg)
YAMANI /ZAILY 5
Sequential Circuit: Counter
Asynchronous Counter (Ripple) Example: 2-bit ripple counter Output from one flip-flop is connected to clock input for the
next flip-flop MSB
![Page 6: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/6.jpg)
YAMANI /ZAILY 6
Sequential Circuit: Counter
Asynchronous Counter (Ripple) Example: 3-bit ripple counter
![Page 7: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/7.jpg)
YAMANI /ZAILY 7
Sequential Circuit: Counter
Asynchronous Counter (Ripple) Example: 4-bit ripple counter (negative edge triggered)
![Page 8: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/8.jpg)
YAMANI /ZAILY 8
Sequential Circuit: Counter
Asynchronous Down Counter The previous example is up asynchronous counter Down asynchronous counter count from large to zero and
repeat Example: 3-bit binary down counter
![Page 9: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/9.jpg)
YAMANI /ZAILY 9
Sequential Circuit: Counter
Asynchronous Down Counter Example: 3-bit binary down counter (MOD 8)
![Page 10: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/10.jpg)
YAMANI /ZAILY 10
Sequential Circuit: Counter
Synchronous Counter (Parallel) Synchronous counter: flip-flop with the same synchronous
clock signal We can build synchronous counter using process to design
sequential circuit Example: 2-bit synchronous binary counter (using T flip-
flop or JK)
![Page 11: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/11.jpg)
YAMANI /ZAILY 11
Sequential Circuit: Counter
Synchronous Counter (Parallel) Example: 2-bit synchronous binary counter (using T flip-
flop or JK) cont….
![Page 12: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/12.jpg)
YAMANI /ZAILY 12
Sequential Circuit: Counter
Synchronous Counter (Parallel) Example: 2-bit synchronous binary counter (using T flip-
flop or JK) cont….
![Page 13: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/13.jpg)
YAMANI /ZAILY 13
Sequential Circuit: Counter
Synchronous Counter (Parallel) Example: 2-bit synchronous binary counter (using T flip-
flop or JK) cont….
![Page 14: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/14.jpg)
YAMANI /ZAILY 14
Sequential Circuit: Counter
Synchronous Counter (Parallel) Example: 2-bit synchronous binary counter (using T flip-
flop or JK) cont….
![Page 15: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/15.jpg)
YAMANI /ZAILY 15
Sequential Circuit: Counter
Synchronous Counter (Parallel) Example: BCD Synchronous Counter
![Page 16: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/16.jpg)
YAMANI /ZAILY 16
Sequential Circuit: Counter
Synchronous Counter (Parallel) Example: BCD Synchronous Counter
![Page 17: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/17.jpg)
YAMANI /ZAILY 17
Sequential Circuit: Counter
Up/Down Synchronous Counter Up/Down Synchronous Counter: two way counter which
able to count up or down Up/Down control input line which determine the counter
Up/Down = 1 (count up) Up/Down = 0 (count down)
![Page 18: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/18.jpg)
YAMANI /ZAILY 18
Sequential Circuit: Counter
Up/Down Synchronous Counter Example: 3-bit Up/Down Synchronous Counter
![Page 19: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/19.jpg)
YAMANI /ZAILY 19
Sequential Circuit: Counter
Up/Down Synchronous Counter Example: 3-bit Up/Down Synchronous Counter (cont)
![Page 20: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/20.jpg)
YAMANI /ZAILY 20
Sequential Circuit: Counter
Designing Synchronous Counter See sequential logic lecture notes Example: 3-bit Gray Code Counter (using JK flip-flop)
![Page 21: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/21.jpg)
YAMANI /ZAILY 21
Sequential Circuit: Counter
Designing Synchronous Counter 3-bit Gray Code Counter: flip-flop input
![Page 22: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/22.jpg)
YAMANI /ZAILY 22
Sequential Circuit: Counter
Designing Synchronous Counter 3-bit Gray Code Counter: logic diagram
![Page 23: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/23.jpg)
YAMANI /ZAILY 23
Sequential Circuit: Counter
Counter with Parallel Load Counter with Parallel Load able to
Count at different condition Count in different sequence For increment/decrement function
![Page 24: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/24.jpg)
YAMANI /ZAILY 24
Sequential Circuit: Counter
Counter with Parallel Load Different method to get MOD-6 counter
![Page 25: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/25.jpg)
YAMANI /ZAILY 25
Sequential Circuit: Counter
Counter with Parallel Load Counter with 4-bit parallel
load
![Page 26: BI1109kul8b](https://reader035.fdocuments.us/reader035/viewer/2022062716/55cf9748550346d03390c13b/html5/thumbnails/26.jpg)
YAMANI /ZAILY 26
Sequential Logic
Contents Register Introduction
Simple register Register with parallel load
Shift Register Shift Register Serial In/Serial Out Shift Register Serial In/Parallel Out Shift Register Parallel In/Serial Out Shift Register Parallel In/ Parallel Out
Two way shift register Random Access Memory