Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Vlsilab13
1. Ex No :1a
DESIGN & SIMULATION OF COMBINATIONAL LOGIC CIRCUITS
(Structural modeling)Date :
AIM:
To Design the following Combinational Circuits using verilog HDL and Simulate using Xilinx
foundation Series ISE version9.1
a) Half Adders
b) Full adder
c) Parallel adder
d) Multiplexer
e) Demultiplexer
f) 2-bit Magnitude Comparator
TOOLS REQUIRED:
Simulation Tool: Xilinx ISE 9.1 Simulator
DESIGN:
a) Half adder
Circuit Diagram& Truth Table
1
2. A & B- Inputs
S-Sum
C-Carry
Verilog Module
Output Waveform
2
TRUTH TABLE
Input Output
A B S C
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
3. b) Full Adder
Circuit Diagram& Truth Table
A & B- Inputs
Ci-Input Carry
S-Sum
Co-Output Carry
Verilog Module
i) Without Instantiation
3
TRUTH TABLE
Input Output
A B Cin Sum Carry
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
10. Output Wave form
PROCEDURE:
i) Open the application software Xilinx window.
ii) Open a new project
a). Give the project name, check for configuration ‘Spartan 3E’ in next window.
b). Open new source verilog module, give the file name.
c). Give the name for input and output variables of the program.
d). Click Finish.
iii) Type the program to be synthesized.
iv) Save the program.
v) Run the synthesis tool.
vi) After completion of successful synthesis, click and view the RTL schematic.
vii) RTL schematic view window is open and synthesized circuit is seen on the screen.
10
11. VIVA QUESTIONS:
1. What are Min val & Max val Specifications in Gate Level Modeling?
2. What is Wire
3. Give the Verilog Data types?
4. What is Hardware Description Language
5. Give the Different types of modeling. Arrange them in descending order from highest
level of abstraction to lowest
RESULT:
11
Preparation /40
Output & Result /30
Viva /30
Total /100