Week #6 - Verilog Behavioural Modeling (Part 4) FSM
Week #6 - Verilog Behavioural Modeling (Part 4) FSM
Week #6 - Verilog Behavioural Modeling (Part 4) FSM
VERILOG BEHAVIOURAL
MODELING
(Part 4)
Binary Encoding
Assigns states by the minimum logic difference
in the state transition graph.
This normally reduces the amount of logic needed
to decode each state.
The minimum number of bits, n in the state
register for an FSM with m states is log m/log 2
00 01 10 11
00 01 11 10
Example B
module seq1011( clk, rst, inp, outp);
input clk, rst, inp;
output outp;
Example C