Verilog Basics 9 FSMD Basics and Example
Verilog Basics 9 FSMD Basics and Example
FSMD
FSMD
Datapath
Adders/Subtractors
FSDM
In
the design process, start first with algorithm in high level language
convert the algorithm to FSDM
Then
Then
Example
We
Both are correct Just learn how different approaches lead to different implementations.
First
Second
model
Now
to the FIRST
IMPLEMTATION
Inputs :
ld : load
m and n : numbers
Output
end
GCD Design
SECOND
IMPLEMETNATION
10
GCD In C
11
12
13
Deriving RTL
14
15
16
17
18
19
20
Control Block
21
22
FSM Implementation
23
24
25
26