0% found this document useful (0 votes)
41 views

Practical Work 6

This document outlines a practical work assignment for a course on CMOS integrated circuit design and fabrication. The assignment involves students designing layouts and simulations for 2-input XOR and XNOR logic gates using Microwind software. For each gate, students are to produce the static CMOS logic diagram, stick diagram layout, final layout, timing diagram from simulation, and truth table. They will also measure the optimized layout area. The document provides theory on complementary CMOS gates, XOR gate logic, and design rules for wells, diffusion, polysilicon, contacts, and metals. It includes a rubric for evaluating students' practical skills.

Uploaded by

Kalai Shan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Practical Work 6

This document outlines a practical work assignment for a course on CMOS integrated circuit design and fabrication. The assignment involves students designing layouts and simulations for 2-input XOR and XNOR logic gates using Microwind software. For each gate, students are to produce the static CMOS logic diagram, stick diagram layout, final layout, timing diagram from simulation, and truth table. They will also measure the optimized layout area. The document provides theory on complementary CMOS gates, XOR gate logic, and design rules for wells, diffusion, polysilicon, contacts, and metals. It includes a rubric for evaluating students' practical skills.

Uploaded by

Kalai Shan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

ELECTRICAL ENGINEERING DEPARTMENT

PRACTICAL WORK 6

DEC 50143: CMOS INTEGRATED CIRCUIT DESIGN AND


FABRICATION

PROGRAM: DTK
CLO2: Construct the layout design of CMOS circuits using layout design software
based on specific CMOS layout design rules.

CLO3: Demonstrate elements of environmental sustainability in implementing reduce


and reuse techniques in design parameters and design consideration through practical
work

(LD2) Practical Skills

___________________________________________________________________________

Prepared by: Checked by: Verified by


Name: Name: Name:

Date: 19.08.2022 Date: 19.08.2022 Date: 19.08.2022


ELECTRICAL ENGINEERING DEPARTMENT

ACADEMIC SESSION: I 2022/2023

DEC 50143 – CMOS INTEGRATED CIRCUIT DESIGN AND


FABRICATION
(PRACTICAL EVALUATION FORM, RESULTS,
DISCUSSIONS AND REFLECTION)

PRACTICAL WORK 6 LAYOUT DESIGN AND SIMULATION OF XOR AND


(CLO2/PLO5; CLO3/PLO7) XNOR LOGIC GATE

LECTURER NAME

GROUP NO.

STUDENT ID NAME

(1)

(2)

(3)

DATE SUBMIT : DATE RETURN :


TITLE: LAYOUT DESIGN AND SIMULATION OF BASIC LOGIC GATES

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:

3.1 Complementary CMOS

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.

Figure 3.2: XOR gate logic

A B F
0 0 0
0 1 1
1 0 1
1 1 0

Figure 3.3: XOR truth table

b) From the truth table, the logic function for XOR gate is given by

𝐹 = 𝐴 ⊕ 𝐵 = 𝐴𝐵̅ + 𝐴̅𝐵

4 PROCEDURE:

Part 1: Designing the layout of 2-input XOR gate

a) Based on the Boolean equation of XOR gate, draw the CMOS static logic diagram
of XOR gate.

Figure 4.1: XOR gate static logic diagram


b) From the CMOS static logic diagram, you have drawn in 4 (a), draw a stick diagram
of 2-input XOR gate using Euler’s path method.

Figure 4.2: : 2-input XOR gate stick diagram

c) Open the Microwind Editor window.

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.

Use: NMOS size - W=6, L=2


PMOS size - W=12, L=2

f) The layout of 2-input XOR gate is shown in Figure 4.3.

Figure 4.3: 2-input XOR gate layout


Part 2: Simulating the layout of 2-input XOR gate.

a) Add clock to input A and input B of the layout. To observe the output, add Visible
Node icon at the output.

b) Save your layout.

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.

Figure 4.4: 2-input XOR gate timing diagram

d) Produce a truth table of 2-input XOR gate based on the timing diagram produced in
step 3.

e) Measure the optimized area of the layout (the unit is λ2).

Part 3: Designing and simulating the layout of 2-input XNOR gate

Repeat Step in Part 1 and Part 2 for 2-input XNOR gate.


5 RESULTS (20 marks)

In your report, include the following:


1. 2-input XOR gate:
a) CMOS static logic diagram (2 marks)
b) Stick diagram (2 marks)
c) Layout (2 marks)
d) Timing diagram (1 mark)
e) Truth table (1 mark)
f) Optimized layout area = _________ 𝜆 x _________ 𝜆
_________ 𝜆 2 (2 marks)
2. 2-input XNOR gate:
a) CMOS static logic diagram (2 marks)
b) Stick diagram (2 marks)
c) Layout (2 marks)
d) Timing diagram (1 mark)
e) Truth table (1 mark)
f) Optimized layout area = _________ 𝜆 x _________ 𝜆
_________ 𝜆 2 (2 marks)

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)

Give a conclusion obtained from the practical work 6


(Conclude in detail the findings and the outcomes of this practical work.)
END OF PRACTICAL WORK
Appendix A : Design Rules

1. Nwell Design Rules

r101 Minimum well size : 12 λ


r102 Between wells : 12 λ
r110 Minimum surface : 144 λ2

2. Diffusion Design Rules

r201 Minimum N+ and P+ diffusion width : 4 λ


r202 Between two P+ and N+ diffusions : 4 λ
r203 Extra nwell after P+ diffusion : 6 λ
r204 Between N+ diffusion and nwell : 6 λ
r205 Border of well after N+ polarization 2 λ
r206 Distance between Nwell and P+ polarization 6
λ
r210 Minimum surface : 24 λ2

3. Polysilicon Design Rules

r301 Polysilicon width : 2 λ


r302 Polysilicon gate on diffusion: 2 λ
r303 Polysilicon gate on diffusion for high
voltage MOS: 4 λ
r304 Between two polysilicon boxes : 3 λ
r305 Polysilicon vs. other diffusion : 2 λ
r306 Diffusion after polysilicon : 4 λ
r307 Extra gate after polysilicium : 3 λ
r310 Minimum surface : 8 λ2
4. Contact Design Rules

r401 Contact width : 2 λ


r402 Between two contacts : 5 λ
r403 Extra diffusion over contact: 2 λ
r404 Extra poly over contact: 2 λ
r405 Extra metal over contact: 2 λ
r406 Distance between contact & poly gate: 3 λ

5. Metal & Via Design Rules

r501 Metal width : 4 λ


r502 Between two metals : 4 λ
r510 Minimum surface : 32 λ2

r601 Via width : 2 λ


r602 Between two Via: 5 λ
r603 Between Via and contact: 0 λ
r604 Extra metal over via: 2 λ
r605 Extra metal2 over via: 2 λ

When r603=0, stacked via over


contact is allowed
PRACTICAL EVALUATION FORM
PRACTICAL WORK 5

A. RUBRIC FOR PRACTICAL SKILL MARKS – 70%


Excellent Moderate Poor
Aspects Weight S1: S2: S3:
(5) (3) (1)

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.

F Layout Design – input / output / Produce good Produce Produce acceptable


floorplan floorplan and input / appropriate floorplan and input /
___x 2 ___/10 ___/10 ___/10
output layout design. floorplan and input / output layout design.
output layout
design.

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%

You might also like