Digital Design Lab
A study of boolean algebra, digital circuits, and logic gates. Our labs and projects involved designing various digital circuits using combinatorial and sequential logic design and then testing them on a breadboard using integrated circuits.
Labs
-
Lab 1 - 7-Segment Display and Sequence Detector
ReportIn this lab we learned the difference between combinatorial and sequential logic design by designing both a 7-segment display (combinatorial) and a sequence detector (sequential). A 7-segment display is a common circuit that uses 7 separate LEDs to represent a single decimal digit. The sequence detector circuit will light up a single LED when a specified combination of numbers is entered on the seven-segment display. To design both we had to derive output equations that relate a binary input to our specified outputs.
-
Lab 2 - 3-bit Synchronous Counter
ReportWe designed a counter circuit that can be loaded with a starting number and set to count up or down in the range of 0-7. The circuit uses the 7-segment display from the previous lab to display the numbers. This lab demonstrated the transition to medium-scale integration (MSI) technology through the use of the multiplexer. MSI circuits use chips that contain hundreds of transistors each rather than only a few and greatly expanded the capabilities of digital circuits.
-
Lab 3 - Tone Generator
ReportIn this lab we generated a sequence of audible tones and played them through a speaker. To do this we designed a sequence generator to cycle through 13 different tones and a frequency generator to create the audible frequency. The frequency generator uses a timer IC to generate a 16kHz base frequency and a counter to divide the frequency for each tone. The final frequency signal is sent to a speaker.
Projects
-
Shift Register and Signature Analyzer
ReportWe designed a shift register and used that to build a signature analyzer. A register is a component that holds memory and a shift register "shifts" the data in its memory in a binary stream to its output at every clock cycle. When modified we can turn a shift register into a pseudo-random binary sequence generator. This is a fancy term to describe a device that takes a long binary number as its input and uses it to output a smaller, random binary number. This will be our signature generator - the long binary input is data and the randomly generated output is that data's unique signature.
Signature analyzers are commonly used to test that other digital circuits are working correctly by verifying that the correct sequence of bits is flowing through certain points in the circuit. Our signature analyzer design was simulated using Altera Quartus.
-
4-bit Multiplier
Report
PresentationA multiplier is a common circuit and a core component of the Arithmetic Logic Unit (ALU) found in every CPU and most microprocessors. The multipiler circuit we designed was a 4-bit by 4-bit multiplier and used the add-and-shift algorithm. This algorithm required us to use full adders and shift registers in our design. Our multiplier was simulated in Altera Quartus and also implmented on Altera UP2 programmable logic board.