This Exercise is based on the material covered in Real Digital Project 5, which can be found in the red tab to the right. A downloadable document for this exercise is available in the orange tab to the right. The mention of grading within the downloadable document is due to the exercise material being used as course work for an electrical engineering class at a university.
Write the following equations in logic assignment (VHDL) form.
Write VHDL statements to define circuits with the behavior defined by the truth tables below.
Write VHDL statements to define circuits with the behavior defined by the equations below.
F is a three-bit std_logic bus. Write VHDL to define the bits of F according to the equations:
Write VHDL statements to define circuits with the behavior defined by the schematics below.
Six judges are scoring a particular event, and they need a device to help them decide how well the event is received. Each judge has a single switch that they can use to enter a “like” or “dislike” vote (assume a switch outputs a '1' for “like”). Use VHDL to define a circuit that can indicate three separate conditions: A “strong majority like” of either 5 or 6 “good” votes; a “majority like” of 4 or “good” votes, and a “minority like” of exactly 3 “good” votes.
A thermometer produces a continuously varying voltage signal between 0V and 5V, where 0V represents 0 degrees, and 5V represents 100 degrees. The signal is fed to an analog-to-digital converter (ADC). The ADC produces an 8-bit binary number that is directly proportional to the temperature—“00000000” represents 0 degrees, each increasing binary number from “00000000” represents a temperature increase of 100/256 degrees, and “11111111” represents 100 degrees. Use VHDL to define a circuit that outputs a logic high signal whenever the temperature is between 50 and 60 degrees.