ELEN 468 Lecture 111 ELEN 468 Advanced Logic Design Lecture 11 Switch Level Models.

Slides:



Advertisements
Similar presentations
Digital Integrated Circuits© Prentice Hall 1995 Combinational Logic COMBINATIONAL LOGIC.
Advertisements

COMBINATIONAL LOGIC [Adapted from Rabaey’s Digital Integrated Circuits, ©2002, J. Rabaey et al.]
FPGA-Based System Design: Chapter 2 Copyright 2003 Prentice Hall PTR Gate Design n Static complementary logic gate structures. n Switch logic. n Other.
Transmission Gate Based Circuits
HDL Programming Fundamentals
CSET 4650 Field Programmable Logic Devices
COMP541 Transistors and all that… a brief overview
Logic Values 0:logic 0 / false 1:logic 1 / true X:unknown logic value Z:high-impedance.
Digital Integrated Circuits© Prentice Hall 1995 Devices The MOS Transistor.
S. Reda EN160 SP’07 Design and Implementation of VLSI Systems (EN1600) Lecture 21: Dynamic Combinational Circuit Design Prof. Sherief Reda Division of.
S. RossEECS 40 Spring 2003 Lecture 22 Inside the CMOS inverter, no I D current flows through transistors when input is logic 1 or logic 0, because the.
Important note regarding Pre-Lab this week This week you will finish the audio amplifier project by building the tone control and amplifier. In order to.
ECE C03 Lecture 41 Lecture 4 Combinational Logic Implementation Technologies Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.
ELEN 468 Lecture 111 ELEN 468 Advanced Logic Design Lecture 11 Switch Level Models.
Copyright 2001, Regents of University of California Lecture 18: 04/0703 A.R. Neureuther Version Date 04/03/03 EECS 42 Intro. electronics for CS Spring.
11/5/2004EE 42 fall 2004 lecture 281 Lecture #28 PMOS LAST TIME: NMOS Electrical Model – NMOS physical structure: W and L and d ox, TODAY: PMOS –Physical.
Logic Values 0:logic 0 / false 1:logic 1 / true X:unknown logic value Z:high-impedance.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #4
Computer Engineering 222. VLSI Digital System Design Introduction.
Lecture #24 Gates to circuits
Verilog.
Combinational MOS Logic Circuit
Lecture #25 Timing issues
Circuit Families Adopted from David Harris of Harvey Mudd College.
ELEN 468 Lecture 301 ELEN 468 Advanced Logic Design Lecture 30 VLSI Transistor/Gate Characteristics.
Lecture 5 – Power Prof. Luke Theogarajan
Lecture 7: Power.
© 2000 Prentice Hall Inc. Figure 6.1 AND operation.
S. RossEECS 40 Spring 2003 Lecture 24 Today we will Review charging of output capacitance (origin of gate delay) Calculate output capacitance Discuss fan-out.
Digital Integrated Circuits© Prentice Hall 1995 Combinational Logic COMBINATIONAL LOGIC.
Field-Effect Transistors 1.Understand MOSFET operation. 2. Understand the basic operation of CMOS logic gates. 3. Make use of p-fet and n-fet for logic.
Lecture 21, Slide 1EECS40, Fall 2004Prof. White Lecture #21 OUTLINE –Sequential logic circuits –Fan-out –Propagation delay –CMOS power consumption Reading:
Power, Energy and Delay Static CMOS is an attractive design style because of its good noise margins, ideal voltage transfer characteristics, full logic.
CSET 4650 Field Programmable Logic Devices
ECE 331 – Digital System Design Transistor Technologies, and Realizing Logic Gates using CMOS Circuits (Lecture #23)
Programmable Logic Architecture Verilog HDL FPGA Design Jason Tseng Week 2-3.
Switch-Level Modeling How to describe a switch-level circuit ?
MOS Transistors The gate material of Metal Oxide Semiconductor Field Effect Transistors was original made of metal hence the name. Present day devices’
EE 447 VLSI Design Lecture 8: Circuit Families.
Robocon 2007, Hong Kong University of Science & Technology Robocon 2007 Electronics Quickstart! Session 2 Prelude Logic Prepared by KI Chi Keung [chikeung.
Ratioed Circuits Ratioed circuits use weak pull-up and stronger pull-down networks. The input capacitance is reduced and hence logical effort. Correct.
Subsystem Design 2 EE213 VLSI Design This section contains some notes on logic implementation and more complex gates etc. Full details are in Pucknell.
Chapter 1 Combinational CMOS Logic Circuits Lecture # 4 Pass Transistors and Transmission Gates.
ECE442: Digital ElectronicsSpring 2008, CSUN, Zahid Static CMOS Logic ECE442: Digital Electronics.
EMT 351 Digital IC Design Lecturers: En. Rizalafande Che Ismail (Subject Coordinator) Pn. Siti Zarina Md. Naziri Blok B, Tingkat 2, Kompleks Pusat Pengajian.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Basic Concept of HDL Lecturer: Huai-Yi Hsu ( 許槐益 ) Date:
CSE477 L07 Pass Transistor Logic.1Irwin&Vijay, PSU, 2003 CSE477 VLSI Digital Circuits Fall 2003 Lecture 07: Pass Transistor Logic Mary Jane Irwin (
Advanced VLSI Design Unit 04: Combinational and Sequential Circuits.
GATE-LEVEL MODELING (Source: a Verilog HDL Primer by J. Bhasker)
EE141 © Digital Integrated Circuits 2nd Devices 1 Goal of this lecture  Present understanding of device operation  nMOS/pMOS as switches  How to design.
 Seattle Pacific University EE Logic System DesignNMOS-CMOS-1 Voltage-controlled Switches In order to build circuits that implement logic, we need.
Switch Level Modeling Part II 26 September Contents 1.Clarifications: a)nMOS and pMOS instantiations b)Testbenches for NOR gate example c)Use of.
ELEN 468 Lecture 131 ELEN 468 Advanced Logic Design Lecture 13 Synthesis of Combinational Logic II.
Bi-CMOS Prakash B.
Dynamic Logic Dynamic Circuits will be introduced and their performance in terms of power, area, delay, energy and AT2 will be reviewed. We will review.
Static CMOS Logic Seating chart updates
EECS 270: Inside Logic Gates (CMOS)
Solid-State Devices & Circuits
CMOS Logic Gates. NMOS transistor acts as a switch 2 When gate voltage is 0 V No channel is formed current does not flow easily “open switch” When gate.
Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 6.1 EE4800 CMOS Digital IC Design & Analysis Lecture 6 Power Zhuo Feng.
Introduction to CMOS Transistor and Transistor Fundamental
EE415 VLSI Design. Read 4.1, 4.2 COMBINATIONAL LOGIC.
ELEN 468 Lecture 171 ELEN 468 Advanced Logic Design Lecture 17 Midterm1 Review.
Introduction to VLSI Design© Steven P. Levitan 1998 Introduction Design Technologies.
SystemVerilog for Verification
COMBINATIONAL LOGIC.
Logic Values 0:logic 0 / false 1:logic 1 / true X:unknown logic value
COMBINATIONAL LOGIC DESIGN
Chapter 2b: Switch-Level Modeling
Logic Values 0:logic 0 / false 1:logic 1 / true X:unknown logic value
Presentation transcript:

ELEN 468 Lecture 111 ELEN 468 Advanced Logic Design Lecture 11 Switch Level Models

ELEN 468 Lecture 112 MOS Transistor Technology p substrate n well nnpp source drain gate g d s s d g

ELEN 468 Lecture 113 Switch Level Models nmoscontrol Input01xz 0z0LL 1z1HH xzxxx zzzzz pmoscontrol Input01xz 00zLL 11zHH xxzxx zzzzz L => 0 or z, H => 1 or z

ELEN 468 Lecture 114 Static CMOS Circuits module cmos_inverter ( out, in ); output out; input in; supply0 GND; supply1 PWR; pmos ( out, PWR, in ); nmos ( out, GND, in ); endmodule module cmos_inverter ( out, in ); output out; input in; supply0 GND; supply1 PWR; pmos ( out, PWR, in ); nmos ( out, GND, in ); endmodule d inout V dd drain source gate

ELEN 468 Lecture 115 Switch Level NAND Gate module nand_2 ( Y, A, B ); output Y; input A, B; supply0 GND; supply1 PWR; wire w; pmos ( Y, PWR, A ); pmos ( Y, PWR, B ); nmos ( Y, w, A ); nmos ( w, GND, B ); endmodule module nand_2 ( Y, A, B ); output Y; input A, B; supply0 GND; supply1 PWR; wire w; pmos ( Y, PWR, A ); pmos ( Y, PWR, B ); nmos ( Y, w, A ); nmos ( w, GND, B ); endmodule Y V dd A A B B

ELEN 468 Lecture 116 Pull Gates module nmos_nand_2 ( Y, A, B ); output Y; input A, B; supply0 GND; tri w; pullup ( Y ); nmos ( Y, w, A ); nmos ( w, GND, B ); endmodule module nmos_nand_2 ( Y, A, B ); output Y; input A, B; supply0 GND; tri w; pullup ( Y ); nmos ( Y, w, A ); nmos ( w, GND, B ); endmodule Y V dd A B Y A B Enhancement/Depletion mode

ELEN 468 Lecture 117 CMOS Transmission Gates module Tgate ( in, out, n_enable, p_enable ); input in, n_enable, p_enable; output out; pmos ( out, in, p_enable ); nmos ( out, in, n_enable ); endmodule module Tgate ( in, out, n_enable, p_enable ); input in, n_enable, p_enable; output out; pmos ( out, in, p_enable ); nmos ( out, in, n_enable ); endmodule inout p_enable n_enable

ELEN 468 Lecture 118 Bi-directional Gates trantranif0tranif1 input or inout output or inout Verilog primitives

ELEN 468 Lecture 119 Assign Drive Strengths nand ( pull1, strong0 ) G1( Y, A, B ); wire ( pull0, weak1 ) A_wire = net1 || net2; assign ( pull1, weak0 ) A_net = reg_b; nand ( pull1, strong0 ) G1( Y, A, B ); wire ( pull0, weak1 ) A_wire = net1 || net2; assign ( pull1, weak0 ) A_net = reg_b; Drive strength is specified through an unordered pair one value from { supply0, strong0, pull0, weak0, highz0 } the other from { supply1, strong1, pull1, weak1, highz1 } Only scalar nets may receive strength assignment When a tri0 or tri1 net is not driven, it is pulled to indicated logic value with strength of pull0 or pull1 The trireg net models capacitance holds a charge after the drivers are removed, the net has a charge strength of small, medium(default) or large capacitor

ELEN 468 Lecture 1110 Signal Strength Levels Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 Supply Drive Strong Drive Pull Drive Large Capacitor Weak Drive Medium Capacitor Weak Capacitor High Impedance Signal strength – signal’s ability to act as a logic driver determining the resultant logic value on a net Signal contention between multiple drivers of nets Charge distribution between nodes in a circuit Default – strong drive Capacitive strengths may be assigned only to trireg nets

ELEN 468 Lecture 1111 StL PuH Ambiguous Control Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 x bufif0 St0 x bufif0 Pu1

ELEN 468 Lecture 1112 Strength Reduction Dependence of output strength on input strength Combinational and pull gate – NO, except 3-state gates Transistor switch and bi-directional gates – YES In general, output strength <= input strength

ELEN 468 Lecture 1113 Transistor Switch and Bi-directional Gate Transistor switch nmos, pmos, cmos Bi-directional gate tran, tranif0, tranif1 If input ( supply0 or supply1 ) Output ( strong0, strong1 ) Otherwise Output strength = input strength

ELEN 468 Lecture 1114 Resistive MOS Devices rpmos, rnmos, rcmos, rtran, rtranif0, rtranif1 Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 Supply Drive Strong Drive Pull Drive Large Capacitor Weak Drive Medium Capacitor Weak Capacitor High Impedance

ELEN 468 Lecture 1115 Example of Resistive Device module inverterA ( out, r_out, in, ena ); output out, r_out; input in, ena; supply1 Vdd; supply0 Gnd; pullup ( out ); nmos ( out, Gnd, in ); rnmos ( r_out, out, ena ); endmodule module inverterA ( out, r_out, in, ena ); output out, r_out; input in, ena; supply1 Vdd; supply0 Gnd; pullup ( out ); nmos ( out, Gnd, in ); rnmos ( r_out, out, ena ); endmodule in out r_out ena Vdd Figure 11.16, page

ELEN 468 Lecture 1116 Signal Contention: Known Strength and Known Value Signal with greater strength dominates Same strength, different logic values wand -> and, wor -> or Otherwise -> x driver1 driver2 We0 Pu1

ELEN 468 Lecture 1117 Example: Same Strength, Different Logic Value Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 driver1 driver2 St0 St1 StX

ELEN 468 Lecture 1118 Ambiguous Strength, Known Value Rule 1: Include strengths of ambiguous signal that greater than strength of unambiguous signal Rule 2: Omit strengths of ambiguous signal <= strength of unambiguous signal, except Rule 3 Rule 3: If unambiguous and ambiguous signals have different values, take strengths range from Rule1 to strength of unambiguous signal

ELEN 468 Lecture 1119 Example of Rule 1 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 signal1signal2 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 result Rule 1: Include strengths of ambiguous signal that greater than strength of unambiguous signal

ELEN 468 Lecture 1120 Example of Rule 2 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 signal1signal2 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 result Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 Rule 2: Omit strengths of ambiguous signal <= strength of unambiguous signal, except Rule 3

ELEN 468 Lecture 1121 Example of Rule 3 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 signal2 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 result signal1 Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 Rule 3: If unambiguous and ambiguous signals have different values, take strengths range from Rule1 to strength of unambiguous signal

ELEN 468 Lecture 1122 Ambiguous Strengths, Ambiguous Values Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 x x Pu0 We1 WeH PuL 53X Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 5 3

ELEN 468 Lecture 1123 Signal Strengths for Wired Logic Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 signal2 Su1 St1 Pu1 La1 We1 Me1 Sm1 HiZ1 Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 wor signal1 Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0 wand Su0 St0 Pu0 La0 We0 Me0 Sm0 HiZ0