210 likes | 355 Views
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut. Lecture 4. MOS Circuits. Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut. Combination & Sequential.
E N D
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Lecture 4 MOS Circuits
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Combination & Sequential
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Combination & Sequential
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut CMOS logic style
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Example NAND gate
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut 4-input NAND gate
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Example : NOR gate
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Complex CMOS gate
Vdd And-Or-Invert (AOI) C B A B C Out = A+(B*C) ... A Out B A C Gnd How to add terms? Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Complex gate structures
Out = A+(B*C) ... Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut OAI/AOI duality Vdd And-Or-Invert (AOI) C B A B C A Out B A C Gnd How to add terms?
Vdd C B Out = A*(B+C) ... A Out B A C Gnd Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Demorgan’s law in action Or-And-Invert (OAI) A B C
Vdd C B Out = A*(B+C) ... A Out B A C Gnd Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Demorgan’s law in action Or-And-Invert (OAI) A B C
Vdd C B Out = A*(B+C) ... A Out B A C Gnd Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Demorgan’s law in action Or-And-Invert (OAI) A B C
Vdd C B Out = A*(B+C) ... A Out B A C Gnd Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Demorgan’s law in action Or-And-Invert (OAI) A B C
Out = A*(B+C) ... Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Demorgan’s law in action Vdd Or-And-Invert (OAI) C A B A C B Out A B C What is the Magic command to do this? Gnd
Vdd Vdd C B C A B A Out Out A B A C B C Gnd Gnd Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut OAI/AOI duality
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Step by step layout XNOR gate • The equation for XNOR is: • f = (a * b) + (a' * b') • using DeMorgan's law on each of the two terms gives: • f = (a'+ b')' + (a + b)' • using DeMorgan's law on the two terms together gives: • f = ((a'+ b') * (a + b))' • This could be directly implemented with a single complementary CMOS gate: the equation is in a simple negated product of sums form. This form can be implemented with the standard Or-And-Invert (OAI) style gate.
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Non-inverter input • However, using DeMorgan's law one more time on the left term gives: • f = ((a * b)' * (a + b))’ • This form uses no inverted inputs and can be implemented with two gates a NAND gate and an OAI gate. a b f
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Logic Graph
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Example CMOS
Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut Complex CMOS graph