Question: Complex FSM Design ( run detector ) For this assignment you will design a FSM that will control several registers to count runs of length

Complex FSM Design (run detector)
For this assignment you will design a FSM that will control several registers to count
runs of length 4 or greater of a 4-bit input that exceed a threshold.
All the supporting
blocks are already
implemented in verilog.
Your responsibility is to
implement and validate
the FSM block.
When strtCapCmp is
asserted the machine
will capture the current
value of sig in reg4.
This will be used as a
threshold for comparing subsequent values of sig. If the value of sig exceeds the
captured value (held in reg4) for 4 or more consecutive clock cycles the counter that
forms N_abv (cnt4) will be incremented. cht2 is a 2-bit free running counter that can
be synchronously reset. Its TC (terminal count) output is true when the count is 2'b11.
mag4 is a simple unsigned magnitude comparator that asserts gt when sig>thres.
Once a run of numbers causes an increment of N_abv, it cannot be incremented again
until a value of sig is less than or equal to the captured reference value. Please draw out the FSM
Complex FSM Design ( run detector ) For this

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!