Professional Documents
Culture Documents
VLSI Lab Manual
VLSI Lab Manual
Lab Manual
VLSI Design Lab
Course Objectives
To learn the fundamental principles of CMOS VLSI circuit design using SYMICA
EDA CAD tool.
List of Experiments:
1. Design and simulate the schematic of CMOS logic Gates: AND, OR, NOT.
2. Design and simulate the schematic of CMOS logic universal gates: NAND and
NOR.
3. Design and simulate the schematic of CMOS logic 2:1 MUX.
4. Design and simulate the schematic of CMOS logic 2 x 4 Decoder.
5. Design and simulate the schematic of CMOS logic Half-Adder and Full Adder.
6. Write and simulate a VHDL program for the following combinational designs:
a) 2 to 4 decoder
b) 8 to 1 multiplexer
c) 4 bit binary to gray converter
7. Write and simulate a VHDL code to describe the functions of a full adder using
three modeling styles.
Course Outcomes
B A Q
0 0 0
0 1 0
1 0 0
2-input AND Gate 1 1 1
Fill information in all instance according to the model that you want to use.
Simulation:
For simulation of AND gate circuit click on simulation environment and do the setting according
to the fig.
Symbol Generation: For making symbol of AND gate, we have to delete all the input sources from
the schematic.
For saving it as a symbol right click on cell name schematic and choose new cell view from and
then save it.
For future reference you can also save the future states.
OR Gate: a logical operation which gives the value one if at least one operand has the value
one, and otherwise gives a value of zero.
Denoting a gate circuit which produces an output if there is a signal on any of its inputs .
B A Q
0 0 0
0 1 1
1 0 1
2-input OR Gate
1 1 1
Simulation:
For simulation of AND gate circuit click on simulation environment and do the setting according
to the fig.
We have choose here 45nm cmos model file. For simulating OR gate circuit click on run button.
Result:
Symbol: For making the symbol of OR gate we have to delete all input source instances from the
circuit.
For saving it as a symbol right click on cell name schematic and choose new cell view from and
then save it.
For future reference you can also save the simulation states.
NOT Gate: In digital logic, an inverteror NOT gate is a logic gate which implements logical negation.
The truth table is shown on the right.
A Q
0 1
1 0
Inverter or NOT Gate
Boolean Expression Q = not A or A Read as inverse of A gives Q
To design a NOT gate in Symica we have to make a new cell in the library. Procedure for this is as
follows
Library- new cell view-
Circuit Diagram:
Fill information in all instance according to the model that you want to use.
Simulation:
For simulation of AND gate circuit click on simulation environment and do the setting according
to the fig.
We have choose here 45nm cmos model file. For simulating NOT gate circuit click on run
button.
Result:
Symbol: For making the symbol of OR gate we have to delete all input source instances from
the circuit.
For saving it as a symbol right click on cell name schematic and choose new cell view from and
then save it.
For future reference you can also save the simulation states.
Viva Questions:
1. How many CMOS transistors are required to implement AND Gate?
2. What is difference between DC and Transient analysis?
3. What is pull-up and pull-up network in CMOS logic circuits?
4. State the advantages of implementing a CMOS based digital logic gate over
TTL and ECL logic gates.
EXPERIMENT NO : 2
B A Q
0 0 1
0 1 1
1 0 1
To design a NAND gate in Symica we have to make a new cell in the library. Procedure for this is
as follows
Fill information in all instance according to the model that you want to use.
Simulation:
For simulation of NAND gate circuit click on simulation environment and do the setting
according to the fig.
We have choose here 45nm cmos model file. For simulating and gate circuit click on run button.
Result:
Symbol: For making the symbol of NAND gate we have to delete all input source instances from
the circuit.
For saving it as a symbol right click on cell name schematic and choose new cell view from and
then save it.
For future reference you can also save the simulation states.
NOR Gate: a Boolean operator which gives the value one if and only if all operands have a value
of zero and otherwise has a value of zero.
A circuit which produces an output signal only when there are no signals on any of the input
connections.
B A Q
0 0 1
0 1 0
1 0 0
2-input NOR Gate 1 1 0
To design a NOR gate in Symica we have to make a new cell in the library. Procedure for this is as
follows
Library- new cell view-
Circuit Diagram:
Fill information in all instance according to the model that you want to use.
Simulation:
For simulation of NOR gate circuit click on simulation environment and do the setting according
to the fig.
We have choose here 45nm cmos model file. For simulating NOR gate circuit click on run
button.
Result:
Symbol: For making the symbol of NOR gate we have to delete all input source instances from
the circuit.
For saving it as a symbol right click on cell name schematic and choose new cell view from and
then save it.
For future reference you can also save the simulation states.
Viva Questions:
1. How many CMOS transistors are required to implement NOR Gate?
2. What is difference between AC and .OP analysis?
3. How to make symbol library in Symica EDA tool?
4. What is SPICE simulation?
EXPERIMENT NO : 3
To design a 2to1 MUX in Symica we have to make a new cell in the library. Procedure for this is
as follows
Fill information in all instance according to the model that you want to use.
Simulation:
For simulation of 2to1 Mux circuit click on simulation environment and do the setting according
to the fig.
We have choose here 45nm cmos model file. For simulating 2to1 Mux circuit click on run
button.
Result:
Symbol: For making the symbol of 2to1 Mux we have to delete all input source instances from
the circuit
For saving it as a symbol right click on cell name schematic and choose new cell view from and
then save it.
.
For future reference you can also save the simulation states.
Viva Questions:
1. How many CMOS transistors are required to implement 2:1 MUX?
2. How we can implement 8:1 MUX using 2:1 MUX symbol stored in the
SYMICA EDA Library?
3. What is the importance of CMOS 45nm model file used in this
experiment?
EXPERIMENT NO : 4
To design a 2to4 Decoder in Symica we have to make a new cell in the library. Procedure for
this is as follows
Library- new cell view-
Circuit Diagram:
Fill information in all instance according to the model that you want to use.
Simulation:
For simulation of 2to4 Decoder circuit click on simulation environment and do the setting
according to the fig.
We have choose here 45nm cmos model file. For simulating 2to4 Decoder circuit click on run
button.
2
Result:
Symbol: For making the symbol of 2to4 Decoder we have to delete all input source instances
from the circuit.
3
For saving it as a symbol right click on cell name schematic and choose new cell view from and
then save it.
For future reference you can also save the simulation states.
Viva Questions:
1. How many CMOS transistors are required to implement 2x4 Decoder?
2. How many AND and NOT gate are required to implement 2x4 Decoder?
3. How to set the environment variables in the symica EDA tool?
EXPERIMENT NO : 5
To design a Half Adder in Symica we have to make a new cell in the library. Procedure for this is
as follows
Library- new cell view-
Circuit Diagram:
Fill information in all instance according to the model that you want to use.
Simulation:
For simulation of Half Adder circuit click on simulation environment and do the setting
according to the fig.
We have choose here 45nm cmos model file. For simulating Half Adder circuit click on run
button.
Result:
Symbol: For making the symbol of Half Adder we have to delete all input source instances from
the circuit.
For saving it as a symbol right click on cell name schematic and choose new cell view from and
then save it.
For future reference you can also save the simulation states.
Full Adder: The full-adder circuit adds three one-bit binary numbers (C A B) and outputs two
one-bit binary numbers, a sum (S) and a carry (C1). The full-adder is usually a component in a
cascade of adders, which add 8, 16, 32, etc. binary numbers.
To design Full Adder in Symica we have to make a new cell in the library. Procedure for this is as
follows
Fill information in all instance according to the model that you want to use.
Simulation:
For simulation of Full Adder circuit click on simulation environment and do the setting
according to the fig.
We have choose here 45nm cmos model file. For simulating Full Adder circuit click on run
button.
Result:
For future reference you can also save the simulation states.
Viva Questions:
1. How many CMOS transistors are required to implement full adder?
2. How many logic gates are required to implement full adder?
3. How to implement full adder using two half adder symbols in SYMICA EDA?
EXPERIMENT NO : 6
To design a Half Subtractor in Symica we have to make a new cell in the library. Procedure for
this is as follows
Fill information in all instance according to the model that you want to use.
Simulation:
For simulation of Half Subtractor circuit click on simulation environment and do the setting
according to the fig.
We have choose here 45nm cmos model file. For simulating Half Subtractor circuit click on run
button.
Result:
For future reference you can also save the simulation states.
Full Subtractor: The full Subtractor is a combinational circuit which is used to perform subtraction
of three input bits: the minuend, subtrahend, and borrow in. The full Subtractor generates two
output bits: the difference and borrow out is set when the previous digit borrowed from.
Truth Table:
To design a Full Subtractor in Symica we have to make a new cell in the library. Procedure for
this is as follows
Library- new cell view-
Circuit Diagram:
Fill information in all instance according to the model that you want to use.
Simulation:
For simulation of Full Subtractor circuit click on simulation environment and do the setting
according to the fig.
We have choose here 45nm cmos model file. For simulating Full Subtractor circuit click on run
button.
Result:
For future reference you can also save the simulation states.
Viva Questions:
1. How many CMOS transistors are required to implement full substractor?
2. How many logic gates are required to implement full substractor?
3. How to implement full substractor using two half substractor symbols in
SYMICA EDA?