This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: A SUM B CRY 1 1 A'B AB' AB Introduction In this lab, the expected learning objective of this lab is to gain experience using LogicWorks to build and debug logic circuits. After the completion of the lab, I will understand how to use truth tables to show the addition of two single bit numbers, use a Boolean expression to show the sum and carry functions for a half adder, and build and debug a simulation circuit of a half-adder, a 4- bit increment operation, and a 2s-complement operation. Experiment Results Task 1-1: Build and Test a 1-Bit Half-Adder Task 1-1: Task Statement In the task, I was asked to use the design given in the lab manual to build a 1-bit half adder. When finished, I was also asked to fully test the half adder and make sure that the result outputs meet the expected values. Task 1-1: Work Preformed For this task, I used the design given in the lab manual to build a half adder using the. Below, Figure 1 shows the setup of my half adder as taken from a screenshot from LogicWorks. Figure - Circuit Diagram of 1-Bit Half Adder I was also asked to connect binary switches to each input and a binary probe to each output, as seen above, to fully test the circuit. Below in Table 1 is the resulting truth table from testing the circuit with all possible combinations. B A CRY SUM HA_1 A B SUM CRY 1 1 1 A B CRY (AB) SUM (A’B+AB’) 1 1 1 1 1 1 1 Table - Truth Table for Half Adder Task 1-1: What I Learned In this task, I learned how to use LogicWorks to build a simple circuit from a given design and add binary switches and logic probes to test the circuit fully. I also learned another implementation for a1-bit half adder. Task 1-2: Imbed the 1-Bit Half Adder in a Subcircuit Task 1-2: Task Statement In this task, I was asked to imbed the 1-bit half adder from Task 1 into a subcircuit for later use. I was also asked to fully test the subcircuit. Task 1-2: Work Preformed For this task, I was asked to create a subcircuit that embedded my 1-bit half adder. I created a new device symbol with my half adder as the subcircuit. Then I used the autocreate symbol function to setup up the input and outputs for the subcircuit. After saving the subcircuit, I then started a new circuit diagram and placed my subcircuit on the canvas and connected binary probes and binary switches. Below, Figure 2 shows the circuit diagram for the described setup....
View Full Document
- Spring '08
- Subcircuit, 4-bit increment operation