Hardware Reference
In-Depth Information
Figure 5.24
Exercise 5.17: Flag Monitor
Develop an FSM for a circuit that monitors a l ag such that, if the l ag remains constant
within a given time window, the output copies the measured (constant) l ag value.
This is illustrated in i gure 5.24; if
l ag_in
has no transitions at all while
window
is high,
then
l ag_out
gets the value of
l ag_in
; otherwise, it keeps the same value that it had
when the time window started.