









































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










































Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
5
PM
2
addr^6
9
5
data
cntr
input current state
4
4
next state
rst_n
^
2-bit input and 4-bit current state constitutes 6-bit address of PM ^
9-bit wide PM contents are 5-bit output bits for control and 4-bit ^ Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
9 bit wide PM contents are 5 bit output bits for control and 4 bitnext state
Micro-programmed Sate Machine Implementation^
Number of 1s detected problem of Chapter 9 ^
Combinational cloud is replaced by PM
00
0
00
1
0
0
0
0
1
0
Program Memory
input
00
1
01 0110
0 1 0
addr
0
1
0
0
1
1
0
0 0 0
1
0
next state
out
current state
101111
1 0 1
1
1
0 0
1
1
0
0
1
input
next_state
out
current_state
input
clk
t^
t t
out t
Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
current_state
out
rst_n
R0, R1, R2, and R
Write moves data from the fifo_in to R0 that is the tail of the queue
Delete deletes the first entry at the head of the queue
y^
q
The head of the queue is available on the fifo_out
Writing into a full queue or deletion from an empty queue causes anERROR conditionERROR condition
Assertion of Write and Delete at the same time also causes anERROR condition Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
-^
-^
-^
utput signals•^ out_sel•^ write en
Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
-^
Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
Modifications to Counter-based Microcontrollers 1^
Mechanism for changing count sequence ^
Begin another sequence under control of micro ^
Begin another sequence under control of micro-program memory Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
execution:
never
load
branch
address)
branch
address
if
is
branch
address
if
is
d^
l^
l^
l^
d b
h^
dd
Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan
(unconditional
jump:
always
load
b
ranch
address)
Often counters are replaced with an ALUbased program counter register
The critical path of the design is long as it
p
g
g
goes from the counter to ROM toarchitecture to functional units generating
g
g
COND0 and COND1 to conditional MUX.
The critical path can be broken byThe
critical path can be broken by
inserting a pipeline register in the design Digital Design of Signal Processing Systems, John Wiley & Sons by Dr. Shoab A. Khan