Practical Work 6
Practical Work 6
PRACTICAL WORK 6
PROGRAM: DTK
CLO2: Construct the layout design of CMOS circuits using layout design software
based on specific CMOS layout design rules.
___________________________________________________________________________
LECTURER NAME
GROUP NO.
STUDENT ID NAME
(1)
(2)
(3)
1 OBJECTIVES:
i) to design the layout of the following logic gates 2-input XOR/XNOR gate
ii) to simulate the layout of each gate in (i)
2 EQUIPMENT/TOOLS:
PC Set & Microwind software.
3 THEORY:
A static CMOS gate is a combination of two networks, called the pull-up network (PUN)
and the pull-down network (PDN) (Figure 3.1). The function of the PUN is to provide a
connection between the output and VDD anytime the output of the logic gate is meant
to be 1 (based on the inputs). Similarly, the function of the PDN is to connect the output
to VSS when the output of the logic gate is meant to be 0. The PUN and PDN networks
are constructed in a mutually exclusive fashion such that one and only one of the
networks is conducting in steady state. In this way, once the transients have settled, a
path always exists between VDD and the output F, realizing a high output (“one”), or,
alternatively, between VSS and F for a low output (“zero”). This is equivalent to stating
that the output node is always a low-impedance node in steady state.
Figure 3.1: Complementary logic gate as a combination of a PUN (pull-up network) and a
PDN (pull-down network)
3.2 XOR gate
a) The output of XOR gate is high when either of inputs A or B is high, but the output
is low if both A and B are low/high.
A B F
0 0 0
0 1 1
1 0 1
1 1 0
b) From the truth table, the logic function for XOR gate is given by
𝐹 = 𝐴 ⊕ 𝐵 = 𝐴𝐵̅ + 𝐴̅𝐵
4 PROCEDURE:
a) Based on the Boolean equation of XOR gate, draw the CMOS static logic diagram
of XOR gate.
d) Select the Foundry file from File menu. Select “cmos012.rul” file.
e) Draw the layout of 2 input XOR gate based on the stick diagram in Figure 4.2.
a) Add clock to input A and input B of the layout. To observe the output, add Visible
Node icon at the output.
c) Simulate the gate layout. Get the timing diagram of the 2-input XOR gate. The
timing diagram for 2-input XOR gate is shown in figure 4.4.
d) Produce a truth table of 2-input XOR gate based on the timing diagram produced in
step 3.
6 DISCUSSION (5 marks)
What is a design rule check (DRC) and why is it important in designing the integrated
circuit layout? (5 marks)
7 CONCLUSION (5 marks)
A Technology feature Use correct Use incorrect Did not use any
technology feature for technology feature technology feature. ___x 1 ___/10 ___/10 ___/10
the transistor layout. for the transistor
layout.
B Design rule Follow lambda design Follow lambda Follow lambda design
rule for minimum design rule for rule for ONLY a few ___x 1 ___/10 ___/10 ___/10
width and spacing for MANY of the of the polygons.
ALL polygons. polygons.
C Transistor size Use correct PMOS Use acceptable Use incorrect PMOS
___x 2 ___/10 ___/10 ___/10
and NMOS transistor PMOS and NMOS and NMOS transistor
size. transistor size. size.
Use correct number Use correct metal Use incorrect metal
D Metal layers of metal layers and layers but incorrect layers and width. ___x 2 ___/10 ___/10 ___/10
width. width.
E ‘No DRC error’ display Able to produce ‘No Able to produce ‘No Not able to produce
DRC error’ Able to DRC error’ display ‘No DRC error’ ___x 2 ___/10 ___/10 ___/10
produce ‘No DRC for some of the display at ALL.
error’ layouts.
G Layout simulation Able to produce the Able to produce the Not able to produce
simulation of ALL simulation or some any simulation for ___x 2 ___/10 ___/10 ___/10
layouts correctly. of the layouts ALL of the layouts.
correctly.
H Layout size (end product) Produce small layout Produce acceptable Produce large layout
___x 2 ___/10 ___/10 ___/10
size (end product). layout size (end size (end product).
product).
PERCENTAGE = 70%