Vous êtes sur la page 1sur 9

Logic Design with

1
MOSFETs - 3
Lecture# 04
VLSI Design
2 Complex Logic Gate in CMOS
XOR and XNOR Gates

 We often use XOR and XNOR gates, which have logic functions
 𝑎⊕𝑏 𝑎⋅𝑏 𝑎⋅𝑏
 𝑎⊕𝑏 𝑎⋅𝑏 𝑎⋅𝑏
 In order to implement XOR
 We consider compliment function (for implementing using CMOS)

 Design XOR using CMOS AOI schematic logic

COMSATS University Islamabad Dr. Sohaib Ayyaz Qazi


3 Complex Logic Gate in CMOS
XOR and XNOR Gates
 Class Exercise 1
 Design an XNOR gate using below equation
 Make an AOI expression first and then design the schematic
 𝑎⊕𝑏 𝑎⋅𝑏 𝑎⋅𝑏

COMSATS University Islamabad Dr. Sohaib


4 Transmission Gates (TG)
 Bi-directional switches
 Use both nMOS and pMOS to efficiently transfer logic 1 and 0
 TGs can be used to implement multiplexors
 Drawback ?

𝑋 𝑋

𝐴 𝐵 𝐴·𝑋
𝐴 𝐵

𝑋
𝑋

COMSATS University Islamabad Dr. Sohaib Ayyaz Qazi


5 Transmission Gates (TG)
 Simple 2 to 1 mux using TG (𝑍 𝐴𝑆̅ 𝐵𝑆)

𝐴 0 𝑺 𝒁
𝑍 0 A
𝐵 1
1 B
𝑆 𝑆
𝑆
𝐴𝑆̅
𝐴
𝐴
𝑺 𝑻𝑮𝟎 TG1 Z
𝑆̅ 𝑍 𝑆̅ 𝑍 0 Closed Open A

1 Open Closed B
𝐵
𝐵
𝐵𝑆
𝑆 𝑆

COMSATS University Islamabad Dr. Sohaib Ayyaz Qazi


6 Transmission Gates (TG)
 Class Exercise 2
 Design 4 – to – 1 Mux
 Write Equation for Mux
 Make Truth Table
 Make Diagram of Mux using TGs

COMSATS University Islamabad Dr. Sohaib Ayyaz Qazi


7 Transmission Gates (TG)
 OR Gate

 Static CMOS logic allows us to implement NOR GATE


 We can implement OR directly using a combination
 TG and PMOS
 OR Gate logic function
𝐴̅
 𝑌 𝐴 𝐵

𝐴𝐴̅
𝐴 𝑌 𝐴𝐴̅ 𝐴̅𝐵
𝐴 𝐵

𝐴̅𝐵
𝐵

𝐴̅
8 Transmission Gates (TG)
 2 Input XOR Gate

 How many MOSFETs are used here?


 Inverters x2 4 MOSFETs
 TG x2 4 MOSFETs
 Total Eight MOSFETs 𝐴
𝐵 𝐴̅𝐵

𝐴̅
𝐴 𝑌 𝐴𝐵 𝐴̅𝐵

𝐵 𝐴𝐵
𝐵
𝐴
9 Conclusion

 That was it for static CMOS logic


 Which allowed to implement combinational and
sequential logics
 Later in the course we will discuss
 Dynamic CMOS Logics

COMSATS University Islamabad Dr. Sohaib Ayyaz Qazi

Vous aimerez peut-être aussi