Full adder

Topics: Output, Central processing unit, Hardware description language Pages: 8 (502 words) Published: October 15, 2014

1. Objective:
The main objective of this project is to design and simulate the One-Bit Full-Adder Using VHDL (hardware description language); which helps us to get familiar with the designing, coding and simulation process using VHDL. 2. Discussion

2.1 One-Bit-Full-Adder
One Bit Full Adder is an important/essential component of design for all types of processor including digital processor, Arm processor, micro processer, etc. A one-bit full adder, used in this simulation process is a device that uses three binary inputs A, B, C-in and two binary outputs sum(s) and c-out. The simulation process was achieved using the VHDL (hardware description language). There are several ways to implement a 1 bit full header. This simulation uses the following implementation to achieve the expected specification for sum(s) and c-out. (1)

. (2)
The design will use the Boolean function from equation 1 and 2 and produces the final truth table that will similar to the following table:-

Where A, B and are input and S (sum) and are output and carry out representation respectively. The summation is symbolically listed below along with the block diagram in figure 2. To meet the specification, the design must use Boolean operation described in the equation 1 and 2. The visual representation for inputs and outputs are represented in block diagram in figure-2

A
+ B

S

3. Schematics:

4. Waveform:
Following figure:-3 is a waveform for One-Bit Full-Adder, generated using VHDL program. The waveform is zoomed to 100ns, showing both inputs and outputs.

Figure:- , Simulated waveform
The testing results was tested by moving the yellow line into time axis, the results is shown in Table 1 Time (ns)
A
B
Cin
Cout
S(Sum)
5
0
0
0
0
0
15
1
0
0
0
1
25
0
1
0
0
1
35
1
1
0
1
0
45
0
0
1
0
1
55
1
0
1
1
0
65
0
1
1
1
0
75
1
1
1
1
1
Table . Testing Result
The testing result was compared with truth table of the 1bit full adder. The result has been verified that the testing results are same as the results from the original truth table from figure 1.

5. Project Summery
LUT=
Slice =
IO utilization in percentage=

6. Self-Evaluation:
7. Overall project was very informative and fun to complete. We were somewhat familiar with the VHDL software from project-1, but then also we faced difficulties to write the VHDL code. We watched some tutorial video on VHDL, deed some research, and review the note from class, about conversion of project one code to solve our problems. At the end, we end up figuring out the procedure and modify the code from project one and make it functional.

8. Code
Following figure:-4, is a VHDL source code for this exercise and figure:-5 , is a code for test bench.

Figure 4.Source File Code

Figure 5.Simulation testbench Code
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Half Adder Essay
  • Computer and Adders Essay
  • 4-Bit Ripple Adder Report Essay
  • Essay on Full Disclosure
  • Full Diclosure Essay
  • Full Disclosure Principle Essay
  • Full-time and Life Essay
  • Women and Full-Time Employment Essay

Become a StudyMode Member

Sign Up - It's Free