Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
EE141 EE141-Fall 2004 Digital Integrated Circuits Administrative Stuff Homework #7 due today No new homework this week Project phase 1 due on Monday Report template posted on the web Project Lecture 18 PassPass-Transistor Logic 1 EE141 EECS141 phase 2 posted In lab next week Reports due after Spring break 2 EE141 EECS141 Class Material Last lecture SRAM design Ratioed logic Today’s lecture Decoders Decoder design Pass-transistor logic Reading Chapter 6, 12 EE141 EECS141 3 ArrayArray-Structured Memory Architecture 4 EE141 EECS141 Memory Architecture: Decoders M bits S0 S1 S2 M bits S0 Word 0 Word 1 Word 2 Storage cell Word 0 A0 Word 1 A1 Word 2 Storage cell w o rd s N SN⫺2 SN⫺1 AK⫺1 Word N⫺2 D eco d re Word N⫺2 Word N⫺1 Word N⫺1 K ⫽ log2N Input-Output (M bits) Intuitive architecture for N x M memory Too many select signals: N words == N select signals EE141 EECS141 5 EE141 EECS141 Input-Output (M bits) Decoder reduces the number of select signals K = log2N 6 1 EE141 Hierarchical Decoders Row Decoders Multi-stage implementation improves performance Collection of 2M complex logic gates Organized in regular and dense fashion ••• WL 1 (N)AND Decoder WL 0 A 0A 1 A 0A 1 A 0A 1 A 0A 1 A 2A 3 A 2A 3 A 2A 3 A 2A 3 NOR Decoder ••• NAND decoder using 2-input prepre-decoders A1 A0 7 EE141 EECS141 A0 A1 A3 A2 A2 A3 8 EE141 EECS141 Project Phase 2 WL0 WL1 Pass-Transistor Logic SRAM Array WL63 a5 a4 a3 a5 a4 a3 a2 a1 a0 9 EE141 EECS141 Pass-Transistor Logic 10 EE141 EECS141 Example: AND Gate B Inputs B Out Switch A Out B Network A B B F = AB • N transistors 0 • No static consumption EE141 EECS141 11 EE141 EECS141 12 2 EE141 NMOS-only Switch NMOS-Only Logic C = 2.5 V C = 2.5V M2 3.0 In In x 0.5 μ m/0.25μ m 1.5μ m/0.25 μm Voltage [V] VDD Out 0.5μ m/0.25 μm A = 2.5 V A = 2.5 V B Out 2.0 x B Mn M1 CL 1.0 0.0 0 0.5 1 1.5 VB does not pull up to 2.5V, but 2.5V -VTN 2 Time [ns] Threshold voltage loss causes static power consumption NMOS has higher threshold than PMOS (body effect) 13 EE141 EECS141 NMOS Only Logic: Level Restoring Transistor 14 EE141 EECS141 Restorer Sizing VDD VDD Level Restorer 3.0 •Upper limit on restorer size •Pass-transistor pull-down can have several transistors in stack Mr B X Mn A Voltage [V] M2 Out M1 2.0 W/Lr =1.75/0.25 W/L r =1.50/0.25 1.0 W/Lr =1.0/0.25 0.0 0 100 200 • Advantage: Full Swing • Restorer adds capacitance, takes away pull down current at X • Ratio problem 15 EE141 EECS141 Complementary Pass Transistor Logic W/L r =1.25/0.25 300 400 Time [ps] 500 16 EE141 EECS141 Solution 2: Transmission Gate C A A B B F Network A (a) A A B B B B F=AB A F=AB AND/NAND C B C = 2.5 V B A = 2.5 V A F=A+B A B F=A⊕ΒÝ F=A+B B OR/NOR A CL (b) A A B B C B B A B F A B EE141 EECS141 Inverse Pass-Transistor Network B A C Pass-Transistor C=0V F=A⊕ΒÝ EXOR/NEXOR 17 EE141 EECS141 18 3 EE141 Resistance of Transmission Gate PassPass-Transistor Based Multiplexer 30 2. 5 V Rn Resistance, ohms S S S S VDD Rp 20 2.5 V VDD S Rn Vou t A Rp M2 F S 0V 10 M1 R n || R p B S 0 0.0 1.0 GND 2.0 Vou t , V In1 19 EE141 EECS141 Transmission Gate XOR In2 20 EE141 EECS141 Delay in Transmission Gate Networks 2.5 2.5 V1 In B C 0 2.5 2.5 Vi Vi-1 C 0 Vn-1 Vi+1 C 0 Vn C C 0 (a) B Req M2 Req V1 In Req Vi C Vn-1 Vi+1 C C Req Vn C C A A F (b) m M1 M3/M4 Req B Req Req Req Req Req In CC C C C CC C B (c) EE141 EECS141 21 Delay Optimization 22 EE141 EECS141 Transmission Gate Full Adder P VDD A A P P A B VDD Ci A P Ci VDD Ci S Sum Generation Ci P B VDD A P Co Carry Generation Ci A Setup P Similar delays for sum and carry EE141 EECS141 23 EE141 EECS141 24 4 EE141 Next Lecture Dynamic EE141 EECS141 logic 25 5