this is for holding javascript data
Alec Aivazis edited figures/2.11/caption.tex
over 9 years ago
Commit id: 48cc67d39fcbdad7ec71037cce3a3d45da84ffd1
deletions | additions
diff --git a/figures/2.11/caption.tex b/figures/2.11/caption.tex
index a8a1b0c..783092b 100644
--- a/figures/2.11/caption.tex
+++ b/figures/2.11/caption.tex
...
Replace this text Section 2.5 expanded on the use of megafunctions further to perform the same function as in 2.4 but display the various values in decimal. In order to perform this, I connected the result of the squaring megafunction to a series of 5 megafunctions which divide an 8-bit input by a 4-bit number which I set to 10. I then connected the remainder of each to its own 7-segnment display to show the tens place associated with
your caption that function. I also connected the DIP switches to 2 dividing megafunctions which divide a 8-bit number by a 4-bit number and displayed the input as a decimal on the last two 7-segment displays present on the FPGA.