Lecture 2A RTL Design Methodology Transition From Pseudocode & Interface To A Corresponding Block Diagram
Lecture 2A RTL Design Methodology Transition From Pseudocode & Interface To A Corresponding Block Diagram
Transition from
Pseudocode & Interface
to a Corresponding Block Diagram
Structure of a Typical Digital
System
Data Inputs Control & Status Inputs
Control
Signals
Datapath Controller
(Execution (Control
Unit) Unit)
Status
Signals
Data Outputs Control & Status Outputs
Hardware Design with RTL VHDL
Pseudocode Interface
Datapath Controller
Block ASM
diagram chart
clk done
reset n
n dout
din Statistics
2
dout_mode
go
Interface Table
n
n en1
en reset
n+m rst
clk A gt1
n+m
clk
n no_1 A>B
esum n B
en reset
rst
clk 1 0 s2
clk
sum
n+m en2
reset enc en reset
en rst
rst clk clk
clk
clk A gt2
no_2 m
n+m n A>B
n B i
1 0 s3
>> m = k-1
en3
en reset
rst
n clk A gt3
clk
avr n no_3 A>B zi
no_1 no_2 no_3 B
n n n
00 01 10 11 dout_mode
2
n dout
Block diagram of the Datapath
Interface with the division into
the Datapath and the Controller
din dout_mode clk reset go
n 2
gt1
gt2
gt3
Datapath zi Controller
en1
en2
en3
esum
enc
s2
s3
dout
done