this is for holding javascript data
Alec Aivazis edited figures/4-2/caption.tex
about 9 years ago
Commit id: 6eacb9459f74edeb3915fab5cb595a151923e794
deletions | additions
diff --git a/figures/4-2/caption.tex b/figures/4-2/caption.tex
index 206bae1..a35e00c 100644
--- a/figures/4-2/caption.tex
+++ b/figures/4-2/caption.tex
...
In Section 2, I constructed a circuit to debounce the push-button input. By attaching the button to a state-machine with logic as shown below, I was able to output the correct digital signal as well as sustain the for a redefined time. The debouncing element had an output pin which was labeled \textit{statecnt} which I hooked up to a synchronous counter. When the counter reaches its max value, it causes the \textit{done} pin on the debouncer to go high which terminates the output.
I then attached it to the same positive edge trigger discussed in section \ref{sect:4-1}.