IV-I VLSI LAB MANUAL (1)
IV-I VLSI LAB MANUAL (1)
LABORATORY MANUAL
B.TECH
(IV YEAR – I SEM)
2024-2025
Prepared by:
Mr.CH.Kiran Kumar, Associate Professor
Mr Suresh Kavuri , Assistant Professor
VISION
To evolve into a center of excellence in Engineering Technology through creative and innovative
practices in teaching-learning, promoting academic achievement & research excellence to produce
internationally accepted competitive and world class professionals.
MISSION
To provide high quality academic programmes, training activities, research facilities and
opportunities supported by continuous industry institute interaction aimed at employability,
entrepreneurship, leadership and research aptitude among students.
QUALITY POLICY
i
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
PSO2
To nurture the students in designing, analyzing and interpreting required in research and
development with exposure in multi disciplinary technologies in order to mould them as successful
industry ready engineers/entrepreneurs
PSO3
To empower students with all round capabilities who will be useful in making nation strong in
technology, education and research domains.
ii
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
2. Problem analysis: Identify, formulate, review research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of
mathematics, natural sciences, and engineering sciences.
3. Design / development of solutions: Design solutions for complex engineering problems and
design system components or processes that meet the specified needs with appropriate
consideration for the public health and safety, and the cultural, societal, and environmental
considerations.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and
modern engineering and IT tools including prediction and modeling to complex engineering
activities with an understanding of the limitations.
6. The engineer and society: Apply reasoning informed by the contextual knowledge to assess
societal, health, safety, legal and cultural issues and the consequent responsibilities relevant
to the professional engineering practice.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
9. Individual and team work: Function effectively as an individual, and as a member or leader
in diverse teams, and in multidisciplinary settings.
11. Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member
and leader in a team, to manage projects and in multi disciplinary environments.
12. Life- long learning: Recognize the need for, and have the preparation and ability to engage
in independent and life-long learning in the broadest context of technological change.
iii
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
LABORATORY RULES
1. You are expected to arrive on time and not depart before the end of a laboratory.
2. You must not enter a lab unless you have permission from a technician or lecturer.
3. You are expected to comply with instructions, written or oral, that the laboratory
Instructor gives you during the laboratory session.
4. You should behave in an orderly fashion always in the lab.
5. You must not stand on the stools or benches in the laboratory.
6. Keep the workbench tidy and do not place coats and bags on the benches.
7. You must ensure that at the end of the laboratory session all equipment used is stored
away where you found it.
8. You must put all rubbish such as paper outside in the corridor bins. Broken components
should be returned to the lab technician for safe disposal.
9. You must not remove test equipment, test leads or power cables from any lab without
permission.
10. Eating, smoking and drinking in the laboratories are forbidden.
11. The use of mobile phones during laboratory sessions is forbidden.
12. The use of email or messaging software for personal communications during laboratory
sessions is forbidden.
13. Playing computer games in laboratories is forbidden.
iv
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
CYCLE-I
PAGE
S.NO. EXPERIMENT NAME NO.
1 HDL code to realize all the logic gates 1
2 8
Design of Full adder using 3 modeling styles
7 22
Design of Multiplexer
CYCLE-II
1 CMOS INVERTER 40
2 NAND Gate 44
3 NOR Gate 48
4 XOR Gate 51
5 CMOS 1-Bit Full Adder 55
6 Common Source Amplifier 58
7 Differential Amplifier 62
v
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 1
HDL CODE TO REALIZE ALL LOGIC GATES
AIM: To develop the source code for logic gates by using VERILOG and obtain the simulation, synthesis,
place and route and implement into FPGA.
XILINX-VIVADO
LOGIC DIAGRAM:
A B Y=AB
A B Y=A+B
0 0 0
0 0 0
0 1 0
0 1 1
1 0 0
1 0 1
1 1 1
1 1 1
6|P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
XNOR GATE:
LOGIC DIAGRAM: TRUTH TABLE:
A B
0 0 1
0 1 0
1 0 0
1 1 1
VERILOG SOURCE CODE:
endmodule
Simulation output:
RESULT:
Thus the OUTPUT’s of all logic gates are verified by synthesizing and simulating the VERILOG
code.
7|P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 2
FULL ADDER
AIM: To develop the source code for Full adder by using VERILOG and obtain the simulation,
synthesis, place and route and implement into FPGA.
SOFTWARE REQUIRED:
XILINX-VIVADO
THEORY:
A combinational circuit that performs the addition of three bits is called a half-adder. This circuit
needs three binary inputs and produces two binary outputs. One of the input variables designates
the augends and other designates the addend. Mostly, the third input represents the carry from
the previous lower significant position. The output variables produce the sum and the carry.
The simplified Boolean functions of the two outputs can be obtained
as below: Sum S = x y z
Carry C = xy + xz + yz
Where x, y & z are the two input variables.
PROGRAM:
//Gate-level description of Full Adder using two Half
Adder //Description of Half Adder
module halfadder(s,co,x,y);
input x,y;
output s,co;
//Instatiate primitive gates
xor (s,x,y);
and (co,x,y);
endmodule
halfadder ha_1(s1,d1,x,y);
8|P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
halfadder ha_2(s,d2,s1,ci);
or or_gate(co,d2,d1);
endmodule
Behavioral Modeling:
Dataflow Modeling:
input z;
output sum;
output carry;
assign#2 p=x&y;
assign#2 q=y&z;
assign#2 r=z&x;
assign#4 sum=x^y^z;
assign#4carry =(p | q) | r;
endmodule
LOGIC DIAGRAM:
10 | P a g
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Circuit diagram:
RESULT:
Thus the logic circuit for the Full adder is designed in Verilog HDL and the output is verified.
11 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 3
DESIGN OF 2-TO-4 DECODER
AIM:
To develop the source code for decoder by using VERILOG and obtain the simulation, synthesis, place and
route and implement into FPGA.
XILINX - VIVADO
0 0 1 0 1 1 1
0 1 1 1 0 1 1
1 0 1 1 1 0 1
1 1 1 1 1 1 0
12 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
SIMULATION OUTPUT:
RESULT:
Thus the OUTPUT’s of decoder are verified by synthesizing and simulating the VERILOG code.
13 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 4
DESIGN OF 8-TO-3 ENCODER
AIM:
To develop the source code for 8-to-3 encoder by using VERILOG
ENCODER:
LOGIC DIAGRAM: TRUTH TABLE:
D0 D1 D2 D3 D4 D5 D6 D7 X Y
1 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0
0 0 1 0 0 0 0 0 0 1
0 0 0 1 0 0 0 0 0 1
0 0 0 0 1 0 0 0 1 0
0 0 0 0 0 1 0 0 1 0
0 0 0 0 0 0 1 0 1 1
0 0 0 0 0 0 0 1 1 1
SIMULATION OUTPUT:
RESULT:
Thus the OUTPUT’s of Encoded are verified by synthesizing and simulating the VERILOG code.
14 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 5
DESIGN OF 4-BIT BINARY TO GRAY CONVERTER
AIM:
To develop the source code for binary to gray converter by using VERILOG and obtained the simulation,
synthesis, place and route and implement into FPGA.
XILINX-VIVADO
TRUTH TABLE:
BCD GRAY
0000 0000
0001 0001
0010 0011
0011 0010
0100 0110
0101 0111
0110 0101
0111 0100
1000 1100
1001 1101
LOGIC DIAGRAM:
Behavioral Modeling:
reg [3:0] g;
always@(b) begin
g[3]=b[3];
g[2]=b[3]^b[2];
g[1]=b[2]^b[1];
g[0]=b[1]^b[0];
end
endmodule
Simulation output:
RESULT:
Thus the OUTPUT’s of binary to gray converter are verified by synthesizing and simulating the VERILOG
code.
16 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 6
DESIGN OF FLIP FLOPS (SR, JK, D)
AIM:
To develop the source code for FLIP FLOPS by using VERILOG and obtained the simulation, synthesis,
place and route and implement into FPGA.
XILINX-VIVADO
SR FLIPFLOP:
LOGIC DIAGRAM: TRUTH TABLE:
Q(t) S R Q(t+1)
1
S
2
3 1
3
0 0 0 0
2 Q 0 0 1 0
0 1 0 1
CP 0 1 1 X
1 0 0 1
1
1 3 1 0 1 0
3 2 Q
2 1 1 0 1
R
1 1 1 X
Behavioral Modeling:
17 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
end
else if(s==1'b0 && r==1'b1)
begin
q= 1'b0; qbar= 1'b1;
end
else if(s==1'b1 && r==1'b0)
begin
q= 1'b1; qbar= 1'b0;
end
else
begin
q=1'bx;qbar=1'bx;
end
end
endmodule
SIMULATION OUTPUT:
JK FLIPFLOP:
1 Q(t) J K Q(t+1)
K 2 9 1
8
2
3
Q 0 0 0 0
0 0 1 0
CP 0 1 0 1
1
0 1 1 1
J
1
2 9 2
3
Q 1 0 0 1
8
1 0 1 0
1 1 0 1
1 1 1 0
18 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Behavioral Modeling:
19 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
SIMULATION OUTPUT:
D FLIPFLOP:
LOGIC DIAGRAM: TRUTH TABLE:
1
D
2
3 1
2
3
Q
Q(t) D Q(t+1)
1
CP 0 0 0
1
1
3
0 1 1
Q
3 2
1 0 0
3
1 1 1
Behavioral Modeling:
20 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
else
begin
q=1'b1;
qbar=1'b0;
end
end
endmodule
SIMULATION OUTPUT:
RESULT:
Thus the OUTPUT’s of Flip flops using three modeling styles are verified by synthesizing and simulating the
VERILOG code.
21 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 7
DESIGN OF MULTIPLEXERS
particular input line is controlled by a set of selection lines. Normally, there are 2n input lines
and n selection lines whose bit combinations determine which input is selected. A multiplexer is
also called a data selector, since it selects one of many inputs and steers the binary information
to the output lines. Multiplexer ICs may have an enable input to control the operation of the
unit. When the enable input is in a given binary state (the disable state), the outputs are
disabled, and when it is in the other state (the enable state), the circuit functions as normal
multiplexer. The enable input (sometimes called strobe) can be used to expand two or more
multiplexer ICs to digital multiplexers with a larger number of inputs.The size of the multiplexer
is specified by the number 2n of its input lines and the single output line. In general, a 2n – to – 1
each AND gate. The outputs of the AND gates are applied to a single OR gate to provide the 1 –
line output.
PROCEDURE:
1) The multiplexer circuit is designed and the Boolean function is found out.
2) The Verilog Module Source for the circuit is written.
3) It is implemented in Model Sim and Simulated.
4) Signals are provided and Output Waveforms are viewed.
22 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
TRUTH TABLE:
INPUT OUTPUT
s[1] s[0] y
0 0 D[0]
0 1 D[1]
1 0 D[2]
1 1 D[3]
module
multiplexer(y,d,s);
output y;
input [3:0] d;
input [1:0] s;
wire a,b,c,e,f,g,h,i;
//Instantiate Primitive gates
not (a,s[1]);
23 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
not (b,s[0]);
and (c,d[0],b,a);
and (e,d[1],s[0],a);
and (f,d[2],b,s[1]);
and (g,d[3],s[0],s[1]);
or (h,c,e);
or (i,f,g);
or (y,h,i);
endmodule
module simulation;
reg [3:0]d;
reg [1:0]s;
wire y;
//Instantiate the 4 to 1 Multiplexer
multiplexer mux_t(y,d,s);
initial begin
s=2'b00;d[0]=1'b1;d[1]= 1'b0;d[2]= 1'b0;d[3]= 1'b0; #100
s=2'b00;d[0]= 1'b0;d[1]= 1'b1;d[2]= 1'b1;d[3]= 1'b1; #100
s=2'b01;d[0]= 1'b0;d[1]= 1'b1;d[2]= 1'b0;d[3]= 1'b0; #100
s=2'b01;d[0]= 1'b1;d[1]= 1'b0;d[2]= 1'b1;d[3]= 1'b1; #100
s=2'b10;d[0]= 1'b0;d[1]= 1'b0;d[2]= 1'b1;d[3]= 1'b0; #100
s=2'b10;d[0]= 1'b1;d[1]= 1'b1;d[2]= 1'b0;d[3]= 1'b1; #100
s=2'b11;d[0]= 1'b0;d[1]= 1'b0;d[2]= 1'b0;d[3]= 1'b1; #100
s=2'b11;d[0]= 1'b1;d[1]= 1'b1;d[2]= 1'b1;d[3]= 1'b0;
end
endmodule
24 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
WAVEFORM OF MULTIPLEXERS:
RESULT: Thus the multiplexer is designed in Verilog HDL and the output is verified.
25 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 8
RIPPLE COUNTER REALIZATION IN VERILOG HDL
module
ripplecounter(A0,A1,A2,A3,COUNT,RESET);
output A0,A1,A2,A3;
input COUNT,RESET;
//Instantiate Flip-Flop
26 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
FF F0(A0,COUNT,RESET);
FF F1(A1,A0,RESET);
FF F2(A2,A1,RESET);
FF F3(A3,A2,RESET);
endmodule
//Description of Flip-Flop
module
FF(Q,CLK,RESET);
output Q;
input CLK,RESET; reg Q;
always @(negedge CLK or negedge RESET) if(~RESET)
Q=1'b0; else
Q=(~Q); endmodule
LOGIC DIAGRAM:
4-BIT RIPPLE COUNTER:
27 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
TRUTH TABLE:
COUNT A0 A1 A2 A3
0 0 0 0 0
1 1 0 0 0
2 0 1 0 0
3 1 1 0 0
4 0 0 1 0
5 1 0 1 0
6 0 1 1 0
7 1 1 1 0
8 0 0 0 1
9 1 0 0 1
10 0 1 0 1
11 1 1 0 1
12 0 0 1 1
13 1 0 1 1
14 0 1 1 1
15 1 1 1 1
28 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
29 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
TRUTH TABLE:
COUNT A0 A1 A2 A3
0 0 0 0 0
1 1 0 0 0
2 0 1 0 0
3 1 1 0 0
4 0 0 1 0
5 1 0 1 0
6 0 1 1 0
7 1 1 1 0
8 0 0 0 1
9 1 0 0 1
10 0 0 0 0
//Description of Flip-Flop
module FF(Q,CLK,RESET);
output Q;
input CLK,RESET;
reg Q=1'b0;
always @(negedge CLK or negedge RESET)
if(~RESET)
Q=1'b0;
else
Q=(~Q);
endmodule
30 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
31 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
32 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
TRUTH TABLE:
COUNT A0 A1 A2 A3
0 0 0 0 0
1 1 0 0 0
2 0 1 0 0
3 1 1 0 0
4 0 0 1 0
5 1 0 1 0
6 0 1 1 0
7 1 1 1 0
8 0 0 0 1
9 1 0 0 1
10 0 1 0 1
11 1 1 0 1
12 0 0 0 0
Module
MOD12(A0,A1,A2,A3,COUNT);
output A0,A1,A2,A3;
input COUNT;
wire RESET;
//Instantiate Flip-Flop
FF F0(A0,COUNT,RESET);
FF F1(A1,A0,RESET);
FF F2(A2,A1,RESET);
FF F3(A3,A2,RESET);
//Instantiate Primitive gates
nand (RESET,A2,A3);
endmodule
//Description of Flip-Flop
module FF(Q,CLK,RESET);
output Q;
input CLK,RESET;
reg Q=1'b0;
always @(negedge CLK or negedge RESET) if(~RESET)
Q=1'b0;
33 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
else
Q=(~Q);
endmodule
module simulation;
reg COUNT;
wire A0,A1,A2,A3;
//Instantiate MOD12 Counter
MOD12 MOD12_TEST(A0,A1,A2,A3,COUNT);
always
#10 COUNT=~COUNT;
initial
begin
COUNT=1'b0;
end
endmodule
34 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
RESULT:
Thus the ripple counter is designed in Verilog HDL and the output is verified.
35 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 9
Sequence Detector (Finite State Machine- Mealy and Moore Machines)
AIM:
To develop the source code for Sequence Detector (Finite State Machine- Mealy and Moore Machines)
by using VERILOG and obtain the simulation, synthesis, place and route and implement into FPGA.
SOFTWARE REQUIRED:
XILINX- VIVADO
MOORE FSM:
LOGIC DIAGRAM:
Behavioral Modeling:
module moorefsm(a,clk,z);
input a;
input clk;
output z;
reg z;
parameter st0=0,st1=1,st2=2,st3=3;
reg[0:1]moore_state;
initial
begin
moore_state=st0;
end
always @ (posedge(clk))
case(moore_state)
st0:
begin
z=1;
if(a)
moore_state=st2;
end
36 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
st1:
begin
z=0;
if(a)
moore_state=st3;
end
st2:
begin
z=0;
if(~a)
moore_state=st1;
else
moore_state=st3;
end
st3:
begin
z=1;
if(a)
moore_state=st0;
end
endcase
endmodule
Simulation output:
MEALY FSM:
37 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
TRUTH TABLE:
Behavioral Modeling:
parameter st0=0,st1=1,st2=2,st3=3;
reg[0:1]mealy_state;
initial
begin
mealy_state=st0;
end
always @ (posedge(clk))
case(mealy_state)
st0:
begin
if(a) begin
z=1;
mealy_state=st3; end
else
z=0;
end
st1:
begin
if(a) begin
z=0;
mealy_state=st0; end
else
38 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
z=1;
end
st2:
begin
if(a) begin
z=1;
mealy_state=st1; end
else
z=0;
end
st3:
begin
z=0;
if(a) begin
mealy_state=st1; end
else
mealy_state=st2;
end
endcase
endmodule
SIMULATION OUTPUT:
RESULT:
Thus the OUTPUT’s of Moore and Mealy FSM is verified by synthesizing and simulating the VHDL
and VERILOG code.
39 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
CYCLE -II
EXPERIMENT: I
DESIGN AND IMPLEMENTATION OF AN INVERTER
40 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Schematic Capture:
Procedure:
1. Connect the Circuit as shown in the circuit diagram using Pyxis Schematic tool
2. Enter into Simulation mode.
3. Setup the Analysis and library.
4. Setup the required analysis.
5. Probe the required Voltages
6. Run the simulation.
7. Observe the waveforms in EZ wave.
8. Draw the layout using Pysis Layout.
9. Perform Routing using IRoute
10. Perform DRC, LVS, PEX.
41 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Schematic Symbol:
42 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
43 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 2
NAND GATE
AIM: To create a library and build a schematic of a NAND GATE, to create a symbol for the
Inverter, To build an Inverter Test circuit using your Inverter, To set up and run simulations
on the Inverter Test design.
Schematic Diagram
44 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
PROCEDURE:
1. Connect the Circuit as shown in the circuit diagram using Pyxis schematic.
2. Create a simulation schematic for simulation.
3. Add necessary nets in outputs to view waveforms.
4. Run the Simulation and observe results in EZwave.
5. Draw the Layout for the circuit using Pyxis Layout.
7. Run the physical verification (DRC, LVS, PEX) using Calibre tool .
8. Run the post layout simulation by adding the .dspf file generated in PEX.
9. Observe the post layout results.
Symbol Creation:
45 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
46 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Simulation Output:
47 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 3
NOR GATE
AIM: To design and simulate the CMOS NOR gate
TOOLS: Mentor Graphics: Pyxis Schematic, Pyxis Layout, Eldo, Ezwave, Calibre
CIRCUIT DIAGRAM:
48 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
SIMULATION CIRCUIT:
PROCEDURE:
1. Connect the Circuit as shown in the circuit diagram using Pyxis schematic.
2. Create a simulation schematic for simulation.
3. Add necessary nets in outputs to view waveforms.
4. Run the Simulation and observe results in EZwave.
5. Draw the Layout for the circuit using Pyxis Layout.
7. Run the physical verification (DRC, LVS, PEX) using Calibre tool .
8. Run the post layout simulation by adding the .dspf file generated in PEX.
9. Observe the post layout results.
49 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Simulation Output:
Layout:
50 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 4
XOR GATE
AIM: To create a library and build a schematic of an XOR gate, to create a symbol for the
XOR, to build an inverter test circuit using your XOR, to set up and run simulations on the
XOR_test design.
PROCEDURE:
1. Connect the Circuit as shown in the circuit diagram using Pyxis schematic.
2. Create a simulation schematic for simulation.
3. Add necessary nets in outputs to view waveforms.
4. Run the Simulation and observe results in EZwave.
5. Draw the Layout for the circuit using Pyxis Layout.
51 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
7. Run the physical verification (DRC, LVS, PEX) using Calibre tool .
8. Run the post layout simulation by adding the .dspf file generated in PEX.
9. Observe the post layout results.
Symbol Creation:
52 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
PROCEDURE:
1. Connect the Circuit as shown in the circuit diagram using Pyxis schematic.
2. Create a simulation schematic for simulation.
3. Add necessary nets in outputs to view waveforms.
4. Run the Simulation and observe results in EZwave.
5. Draw the Layout for the circuit using Pyxis Layout.
7. Run the physical verification (DRC, LVS, PEX) using Calibre tool .
8. Run the post layout simulation by adding the .dspf file generated in PEX.
9. Observe the post layout results
Simulation output:
53 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
LAYOUT:
54 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 5
CMOS 1-BIT FULL ADDER
Schematic Diagram:
PROCEDURE:
1. Connect the Circuit as shown in the circuit diagram using Pyxis schematic.
2. Create a simulation schematic for simulation.
3. Add necessary nets in outputs to view waveforms.
4. Run the Simulation and observe results in EZwave.
5. Draw the Layout for the circuit using Pyxis Layout.
7. Run the physical verification (DRC, LVS, PEX) using Calibre tool .
8. Run the post layout simulation by adding the .dspf file generated in PEX.
9. Observe the post layout results
55 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Layout:
56 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Simulation Output:
57 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 6
COMMON SOURCE AMPLIFIER
Circuit Diagram:
58 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Simulation Circuit:
PROCEDURE:
1. Connect the Circuit as shown in the circuit diagram using Pyxis schematic.
2. Create a simulation schematic for simulation.
3. Add necessary nets in outputs to view waveforms.
4. Run the Simulation and observe results in EZwave.
5. Draw the Layout for the circuit using Pyxis Layout.
7. Run the physical verification (DRC, LVS, PEX) using Calibre tool .
8. Run the post layout simulation by adding the .dspf file generated in PEX.
9. Observe the post layout results.
59 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
AC Analysis:
60 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Layout:
61 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
EXPERIMENT: 7
DIFFERENTIAL AMPLIFIER
62 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
Simulation Circuit:
PROCEDURE:
1. Connect the Circuit as shown in the circuit diagram using Pyxis schematic.
2. Create a simulation schematic for simulation.
3. Add necessary nets in outputs to view waveforms.
4. Run the Simulation and observe results in EZwave.
5. Draw the Layout for the circuit using Pyxis Layout.
7. Run the physical verification (DRC, LVS, PEX) using Calibre tool .
8. Run the post layout simulation by adding the .dspf file generated in PEX.
9. Observe the post layout results.
63 | P a g e
MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY DEPT.OF ECE
RESULTS:
AC Analysis result:
Transient Analysis
Result:
64 | P a g e