Instructor: Randy H. Katz Fall Lecture #17. Warehouse Scale Computer
|
|
- Reynold Bryant
- 5 years ago
- Views:
Transcription
1 CS 61C: Great Ideas in Computer Architecture Introduc)on to Hardware: Representa)ons and State Instructor: Randy H. Katz 11/6/13 Fall Lecture #17 1 So4ware Parallel Requests Assigned to computer e.g., Search Katz Parallel Threads Assigned to core e.g., Lookup, Ads Parallel InstrucTons >1 one Tme e.g., 5 pipelined instructons Parallel Data >1 data one Tme e.g., Add of 4 pairs of words Hardware descriptons All one Tme Programming Languages You are Here! Harness Parallelism & Achieve High Performance Hardware Warehouse Scale Computer Core Memory Input/Output InstrucTon Unit(s) Cache Memory Core 2 Computer (Cache) Core FuncTonal Unit(s) A 0 +B 0 A 1 +B 1 A 2 +B 2 A 3 +B 3 Smart Phone Today Logic Gates 1
2 Machine Interpreta4on Levels of RepresentaTon/ InterpretaTon High Level Language Program (e.g., C) Compiler Assembly Language Program (e.g., MIPS) Assembler Machine Language Program (MIPS) Hardware Architecture DescripCon (e.g., block diagrams) Architecture Implementa4on Logic Circuit DescripCon (Circuit SchemaCc Diagrams) temp = v[k]; v[k] = v[k+1]; v[k+1] = temp; lw $t0, 0($2) lw $t1, 4($2) sw $t1, 0($2) sw $t0, 4($2) Anything can be represented as a number, i.e., data or instructons ! 3 Agenda Switching Networks, Transistors Gates and Truth Tables for Circuits Boolean Algebra Logisim State Machines And in Conclusion, 4 2
3 Agenda Switching Networks, Transistors Gates and Truth Tables for Circuits Boolean Algebra Logisim State Machines And in Conclusion, 5 Hardware Design Next several weeks: how a modern processor is built, startng with basic elements as building blocks Why study hardware design? Understand capabilites and limitatons of hw in general and processors in partcular What processors can do fast and what they can t do fast (avoid slow things if you want your code to run fast!) Background for more in depth hw courses (CS 152) Hard to know what will need for next 30 years There is just so much you can do with standard processors: you may need to design own custom hw for extra performance Even some commercial processors today have customizable hardware! 6 3
4 Synchronous Digital Systems Hardware of a processor, such as the MIPS, is an example of a Synchronous Digital System Synchronous: All operatons coordinated by a central clock Digital: Heartbeat of the system! Represent all values by two discrete values Electrical signals are treated as 1 s and 0 s 1 and 0 are complements of each other High /low voltage for true / false, 1 / 0 7 Switches: Basic Element of Physical ImplementaTons ImplemenTng a simple circuit (arrow shows acton if wire changes to 1 or is asserted): A Z Close switch (if A is 1 or asserted) and turn on light bulb (Z) A Z Open switch (if A is 0 or unasserted) and turn off light bulb (Z) Z A 8 4
5 Switches (cont d) Compose switches into more complex ones (Boolean functons): AND A B Z A and B A OR Z A or B B 9 Historical Note Early computer designers built ad hoc circuits from switches Began to notce common pa@erns in their work: ANDs, ORs, Master s thesis (by Claude Shannon) made link between work and 19 th Century MathemaTcian George Boole Called it Boolean in his honor Could apply math to give theory to hardware design, minimizaton, 10 5
6 Transistors High voltage (V dd ) represents 1, or true Low voltage ( or Ground) represents 0, or false Let threshold voltage (V th ) decide if a 0 or a 1 If switches control whether voltages can propagate through a circuit, can build a computer Our switches: CMOS transistors Fall 11/6/ Lecture #17 11 CMOS Transistor Networks Modern digital systems designed in CMOS MOS: Metal- Oxide on Semiconductor C for complementary: use pairs of normally- open and normally- closed switches Used to be called COS- MOS for complementary- symmetry - MOS CMOS transistors act as voltage- controlled switches Similar, though easier to work with, than relay switches from earlier era Use energy primarily when switching 12 6
7 n-channel transitor open when voltage at Gate is low closes when: voltage(gate) > voltage (Threshold) (High resistance when gate voltage Low, Low resistance when gate voltage High) CMOS Transistors Three terminals: source, gate, and drain Switch acton: if voltage on gate terminal is (some amount) higher/lower than source terminal then conductng path established between drain and source terminals (switch is closed) Source Gate Drain Source Source Gate Drain Gate Note circle symbol to indicate NOT or complement p-channel transistor closed when voltage at Gate is low opens when: voltage(gate) > voltage (Threshold) (Low resistance when gate voltage Low, High resistance when gate voltage High) 13 Drain CMOS Circuit Rules Don t pass weak values => Use Complementary Pairs N- type transistors pass weak 1 s (V dd - V th ) N- type transistors pass strong 0 s (ground) Use N- type transistors only to pass 0 s (N for negatve) Converse for P- type transistors: Pass weak 0s, strong 1s Pass weak 0 s (V th ), strong 1 s (V dd ) Use P- type transistors only to pass 1 s (P for positve) Use pairs of N- type and P- type to get strong values Never leave a wire undriven Make sure there s always a path to V dd or gnd Never create a path from V dd to gnd (ground) Fall 11/6/ Lecture #
8 Administrivia 15 Agenda Switching Networks, Transistors Gates and Truth Tables for Circuits Boolean Algebra Logisim State Machines And in Conclusion, 16 8
9 p-channel transistor closed when voltage at Gate is low opens when: voltage(gate) > voltage (Threshold) X MOS Networks what is the relationship between x and y? 3v x y 0v n-channel transitor open when voltage at Gate is low closes when: voltage(gate) > voltage (Threshold) Y (gnd) (Vdd) Called an invertor or not gate 17 MOS Networks n-channel transitor open when voltage at Gate is low closes when voltage(gate) > voltage (Source) + ε X what is the relationship between x and y? 3v 0v p-channel transistor closed when voltage at Gate is low opens when voltage(gate) < voltage (Source) ε Y x (gnd) (Vdd) y (Vdd) (gnd) Called an invertor or not gate 18 9
10 P = ½ C V 2 f Dynamic Energy (when switching) is proportonal to Capacitance * Voltage 2 Since pulse is 0 - > 1 - > 0 or 1 - > 0 - > 1, Energy of a single transiton is proportonal to ½ *Capacitance * Voltage 2 Power is just energy per transiton Tmes frequency of transitons: proportonal to ½ * Capacitance * Voltage 2 * Frequency 11/6/13 Fall Lecture #9 19 X Two Input Networks what is the Y relationship between x, y and z? x y z 3v 0v Z X Y x y z 3v 0v Z 20 10
11 Two Input Networks: Peer InstrucTon 3v 0v 3v 0v 11/6/13 X X Y Y what is the relationship between x, y and z? x y z Called NAND gate (NOT AND) Z Z Fall Lecture #17 x y z A B C volts volts volts volts 21 3v 0v X Two Input Networks Y what is the relationship between x, y and z? x y z Called NAND gate (NOT AND) Z 3v X Y Called NOR gate (NOT OR) x y z Z 0v 11/6/13 Fall Lecture #
12 Truth Tables List outputs for all possible inputs A B C D F Y 0 23 a! b! y! 0! 0! 0! 0! 1! 1! 1! 0! 1! 1! 1! 0! Truth Table Example #1: y= F(a,b): 1 iff a b Y = A B + A B Y = A + B XOR 24 12
13 A1 A0 B1 B0 Truth Table Example #2: 2- bit Adder + C2 C1 C0 How Many Rows? 25 Truth Table Example #3: 32- bit Unsigned Adder How Many Rows? 26 13
14 Truth Table Example #4: 3- input Majority Circuit Y = A B C + A B C + A B C + A B C This is called Sum of Products form; Just another way to represent the TT as a logical expression Y = B C + A (B C + B C) Y = B C + A (B + C) More simplified forms (fewer gates and wires) 27 CombinaTonal Logic Symbols Common combinatonal logic systems have standard symbols called logic gates Buffer, NOT A Z AND, NAND A B OR, NOR A B Z Z Easy to implement with CMOS transistors (the switches we have available and use most) 28 14
15 Agenda Switching Networks, Transistors Gates and Truth Tables for Circuits Boolean Algebra Logisim if there is Tme State Machines And in Conclusion, 29 Boolean Algebra Use plus for OR logical sum Use product for AND (a b or implied via ab) logical product Hat to mean complement (NOT) Thus ab + a + c = a b + a + c = (a AND b) OR a OR (NOT c ) 30 15
16 Boolean Algebra: Circuit & Algebraic SimplificaTon 31 Laws of Boolean Algebra X X = 0 X 0 = 0 X 1 = X X X = X X Y = Y X (X Y) Z = Z (Y Z) X (Y + Z) = X Y + X Z X Y + X = X X Y + X = X + Y X Y = X + Y X + X = 1 X + 1 = 1 X + 0 = X X + X = X X + Y = Y + X (X + Y) + Z = Z + (Y + Z) X + Y Z = (X + Y) (X + Z) (X + Y) X = X (X + Y) X = X Y X + Y = X Y Complementarity Laws of 0 s and 1 s IdenTTes Idempotent Laws CommutaTvity AssociaTvity DistribuTon UniTng Theorem United Theorem v. 2 DeMorgan s Law 32 16
17 Boolean Algebraic SimplificaTon Example 33 Boolean Algebraic SimplificaTon Example a b c y
18 Agenda Switching Networks, Transistors Gates and Truth Tables for Circuits Boolean Algebra Logisim State Machines And in Conclusion, 35 Logisim Free schematc capture/logic simulaton program in Java A graphical tool for designing and simulatng logic circuits Search and download version 2.7.1, online tutorial ozark.hendrix.edu/~burch/logisim/ Drawing interface based on toolbar Color- coded wires aid in simulatng and debugging a circuit Wiring tool draws horizontal and vertcal wires, automatcally connectng to components and to other wires. Circuit layouts used as "subcircuits" of other circuits, allowing hierarchical circuit design Included circuit components: inputs and outputs, gates, multplexers, arithmetc circuits, flip- flops, RAM memory 36 18
19 Logisim Wires Blue wires: value at that point is "unknown Gray wires: not connected to anything OK when in process of building a circuit When finished => wires not be blue or gray If connected, all wires should be green Bright green a 1 Dark green a 0 37 Common Mistakes in Logisim ConnecTng wires together Using input for output ConnecTng to edge without connectng to actual input Unexpected directon of input 38 19
20 Agenda Switching Networks, Transistors Gates and Truth Tables for Circuits Boolean Algebra Logisim State Machines And in Conclusion, 39 Type of Circuits Synchronous Digital Systems consist of two basic types of circuits: CombinaTonal Logic (CL) circuits Output is a functon of the inputs only, not the history of its executon E.g., circuits to add A, B (ALUs) Last lecture was CL SequenTal Logic (SL) Circuits that remember or store informaton aka State Elements E.g., memories and registers (Registers) Today s lecture is SL 40 20
21 Design Hierarchy system datapath control code registers multiplexer comparator state registers combinational logic register logic switching networks 41 A Conceptual MIPS Datapath 42 21
22 Uses for State Elements Place to store values for later re- use: Register files (like $1- $31 on the MIPS) Memory (caches, and main memory) Help control flow of informa)on between combina)onal logic blocks State elements hold up the movement of informaton at input to combinatonal logic blocks to allow for orderly passage 43 Accumulator Example Why do we need to control the flow of informaton? X i SUM S Want: S=0; for (i=0;i<n;i++) S = S + X i Assume: Each X value is applied in succession, one per cycle Aer n cycles the sum is present on S 44 22
23 First Try: Does this work? Feedback No! Reason #1: How to control the next iteraton of the for loop? Reason #2: How do we say: S=0? 45 Second Try: How About This? Register is used to hold up the transfer of data to adder Rough Tming High (1) Low (0) High (1) Low (0) High (1) Low (0) Time Square wave clock sets when things change Rounded Rectangle per clock means could be 1 or 0 Xi must be ready before clock edge due to adder delay 46 23
24 Model for Synchronous Systems CollecTon of CombinaTonal Logic blocks separated by registers Feedback is optonal Clock signal(s) connects only to clock input of registers Clock (CLK): steady square wave that synchronizes the system Register: several bits of state that samples on rising edge of CLK (positve edge- triggered) or falling edge (negatve edge- triggered) 47 Register Internals n instances of a Flip- Flop Flip- flop name because the output flips and flops between 0 and 1 D is data input, Q is data output Also called D- type Flip- Flop 48 24
25 Camera Analogy Timing Terms Want to take a portrait Tming right before and aer taking picture Set up )me don t move since about to take picture (open camera shu@er) Hold )me need to hold stll aer shu@er opens untl camera shu@er closes Time click to data Tme from open shu@er untl can see image on output (viewfinder) 49 Hardware Timing Terms Setup Time: when the input must be stable before the edge of the CLK Hold Time: when the input must be stable a4er the edge of the CLK CLK- to- Q Delay: how long it takes the output to change, measured from the edge of the CLK 50 25
26 FSM Maximum Clock Frequency What is the maximum frequency of this circuit? Hint: Frequency = 1/Period Max Delay = Setup Time + CLK- to- Q Delay + CL Delay 51 Pipelining to Improve Performance: BEFORE (1/2) Timing High (1) Low (0) High (1) Low (0) High (1) Low (0) High (1) Low (0) Note: delay of 1 clock cycle from input to output. Clock period limited by propagaton delay of adder/shier 52 26
27 Pipelining to Improve Performance InserTon of register allows higher clock frequency (2/2) More outputs per second Timing Ready before clock edge: setup Tme Delay for Adder CombinaTonal Logic Delay for Setup + Clk to Q Delay for Shier CombinaTonal Logic Delay for Setup + Clk to Q 53 Another Great (Theory) Idea: Finite State Machines (FSM) You may have seen FSMs in other classes (e.g., CS70) Same basic idea FuncTon can be represented with a state transiton diagram With combinatonal logic and registers, any FSM can be implemented in hardware 54 27
28 Example: 3 Ones FSM FSM to detect the occurrence of 3 consecutve 1 s in the Input Draw the FSM Assume state transitons are controlled by the clock: On each clock cycle the machine checks the inputs and moves to a new state and produces a new output 55 Hardware ImplementaTon of FSM Register needed to hold a representaton of the machine s state. Unique bit pa@ern for each state. CombinaTonal logic circuit is used to implement a functon maps from present state (PS) and input to next state (NS) and output. The register is used to break the feedback path between Next State (NS) and Prior State (PS), controlled by the clock +! =! 56 28
29 Hardware for FSM: CombinaTonal Logic Can look at its functonal specificaton, truth table form Truth table PS" Input" NS" Output" " 01" 01" 0 01" 1" " 0 1" 57 Hardware for FSM: CombinaTonal Logic Truth table PS" Input" NS" Output" " 01" 01" 0 01" 1" " 0 1" 58 29
30 Hardware for FSM: CombinaTonal Logic AlternaTve Truth Table format: list only cases where value is a 1.Then restate as logic equatons using PS1, PS0, Input Truth table PS" Input" NS" Output" " 01" 01" 0 01" 1" " 0 1" 59 Truth table PS" " 01" 1 1 Input" 1" 1" 1" NS" 0 01" Hardware for FSM: CombinaTonal Logic AlternaTve Truth Table format: list only cases where value is a 1.Then restate as logic equatons using PS1, PS0, Input Output" 1" NS bit 0 is 1 PS" Input" 0 1" NS bit 1 is 1 PS" Input" 01" 1" Output is 1 PS" Input" 1 1" 60 30
31 Truth table PS" " 01" 1 1 Input" 1" 1" 1" NS" 0 01" Hardware for FSM: CombinaTonal Logic AlternaTve Truth Table format: list only cases where value is a 1.Then restate as logic equatons using PS1, PS0, Input Output" 1" NS0 = PS1 PS0 Input NS0 = ~PS1 ~PS0 Input NS1 = PS1 PS0 Input NS1 = ~PS1 PS0 Input Output= PS1 PS0 Input Output= PS1 ~PS0 Input NS bit 0 is 1 PS" Input" 0 1" NS bit 1 is 1 PS" Input" 01" 1" Output is 1 PS" Input" 1 1" 61 And in Conclusion, MulTple Hardware RepresentaTons Analog voltages quantzed to represent logic 0 and logic 1 Transistor switches form gates: AND, OR, NOT, NAND, NOR Truth table mapped to gates for combinatonal logic design Boolean algebra for gate minimizaton State Machines Finite State Machines: made from Stateless combinatonal logic and Stateful Memory Logic (aka Registers) Clocks synchronize D- FF change (Setup and Hold Tmes important!) Pipeline long- delay CL for faster clock cycle Split the cri)cal path 62 31
CS 61C: Great Ideas in Computer Architecture Synchronous Digital Systems. Anything can be represented as a number, i.e., data or instrucrons
CS 61C: Great Ideas in Computer rchitecture Synchronous Digital Systems Instructors: Krste sanovic & Vladimir Stojanovic hbp://inst.eecs.berkeley.edu/~cs61c/sp15 1 Parallel Requests ssigned to computer
More informationCS61C : Machine Structures
inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture 23! Introduction to Synchronous Digital Systems (SDS) Switches, Transistors, Gates!!!Senior Lecturer SOE Dan Garcia!!!www.cs.berkeley.edu/~ddgarcia!
More informationCS 61C: Great Ideas in Computer Architecture Lecture 10: Finite State Machines, Func/onal Units. Machine Interpreta4on
CS 61C: Great Ideas in Computer Architecture Lecture 10: Finite State Machines, Func/onal Units Instructor: Sagar Karandikar sagark@eecs.berkeley.edu hep://inst.eecs.berkeley.edu/~cs61c 1 Levels of RepresentaJon/
More informationCS 61C: Great Ideas in Computer Architecture Finite State Machines, Functional Units
CS 61C: Great Ideas in Computer Architecture Finite State Machines, Functional Units Instructors: Vladimir Stojanovic and Nicholas Weaver http://inst.eecs.berkeley.edu/~cs61c/sp16 1 Machine Interpretation
More informationUC Berkeley CS61C : Machine Structures
CS61C L22 Representations of Combinatorial Logic Circuits (1) inst.eecs.berkeley.edu/~cs61c UC Berkeley CS61C : Machine Structures Lecture 22 Representations of Combinatorial Logic Circuits 27-3-9 TA David
More informationUC Berkeley CS61C : Machine Structures
inst.eecs.berkeley.edu/~cs61c UC Berkeley CS61C : Machine Structures Lecture 22 Representations of Combinatorial Logic Circuits Lecturer SOE Dan Garcia www.cs.berkeley.edu/~ddgarcia 100 MPG Car contest!
More informationYou are Here! Processor Design Process. Agenda. Agenda 10/25/12. CS 61C: Great Ideas in Computer Architecture Single Cycle MIPS CPU Part II
/26/2 CS 6C: Great Ideas in Computer Architecture Single Cycle MIPS CPU Part II /25/2 ructors: Krste Asanovic, Randy H. Katz hcp://inst.eecs.berkeley.edu/~cs6c/fa2 Fall 22 - - Lecture #26 Parallel Requests
More informationUC Berkeley CS61C : Machine Structures
inst.eecs.berkeley.edu/~cs61c UC Berkeley CS61C : Machine Structures Lecture 25 Representations of Combinational Logic Circuits Senior Lecturer SOE Dan Garcia www.cs.berkeley.edu/~ddgarcia Conway s Life
More informationa b y UC Berkeley CS61C : Machine Structures Hello Helo,world!
CS61C L23 Representations of Combinatorial Logic Circuits (1) inst.eecs.berkeley.edu/~cs61c UC Berkeley CS61C : Machine Structures Lecture 23 Representations of Combinatorial Logic Circuits 2006-10-20
More informationChapter 3 Digital Logic Structures
Chapter 3 Digital Logic Structures Transistor: Building Block of Computers Microprocessors contain millions of transistors Intel Pentium 4 (2): 48 million IBM PowerPC 75FX (22): 38 million IBM/Apple PowerPC
More informationChapter 3. H/w s/w interface. hardware software Vijaykumar ECE495K Lecture Notes: Chapter 3 1
Chapter 3 hardware software H/w s/w interface Problems Algorithms Prog. Lang & Interfaces Instruction Set Architecture Microarchitecture (Organization) Circuits Devices (Transistors) Bits 29 Vijaykumar
More informationDigital Logic Circuits
Digital Logic Circuits Let s look at the essential features of digital logic circuits, which are at the heart of digital computers. Learning Objectives Understand the concepts of analog and digital signals
More informationCombinational logic. ! Regular logic: multiplexers, decoders, LUTs and FPGAs. ! Switches, basic logic and truth tables, logic functions
Combinational logic! Switches, basic logic and truth tables, logic functions! Algebraic expressions to gates! Mapping to different gates! Discrete logic gate components (used in labs and 2)! Canonical
More informationLecture 02: Digital Logic Review
CENG 3420 Lecture 02: Digital Logic Review Bei Yu byu@cse.cuhk.edu.hk CENG3420 L02 Digital Logic. 1 Spring 2017 Review: Major Components of a Computer CENG3420 L02 Digital Logic. 2 Spring 2017 Review:
More informationChapter 3 Digital Logic Structures
Chapter 3 Digital Logic Structures Transistor: Building Block of Computers Microprocessors contain millions of transistors Intel Pentium 4 (2000): 48 million IBM PowerPC 750FX (2002): 38 million IBM/Apple
More informationChapter 1: Digital logic
Chapter 1: Digital logic I. Overview In PHYS 252, you learned the essentials of circuit analysis, including the concepts of impedance, amplification, feedback and frequency analysis. Most of the circuits
More informationEE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad
A. M. Niknejad University of California, Berkeley EE 100 / 42 Lecture 24 p. 1/21 EE 42/100 Lecture 24: Latches and Flip Flops ELECTRONICS Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad University of California,
More informationEECS150 - Digital Design Lecture 2 - Synchronous Digital Systems Review Part 1. Outline
EECS5 - Digital Design Lecture 2 - Synchronous Digital Systems Review Part January 2, 2 John Wawrzynek Electrical Engineering and Computer Sciences University of California, Berkeley http://www-inst.eecs.berkeley.edu/~cs5
More information0 A. Review. Lecture #16. Pipeline big-delay CL for faster clock Finite State Machines extremely useful You!ll see them again in 150, 152 & 164
CS61C L15 Representations of Combinatorial Logic Circuits (1) inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures Lecture #16 Representations of Combinatorial Logic Circuits CPS today! 2005-10-26
More informationCOMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC CSCD211- DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF GHANA
COMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC LOGIC Logic is a branch of math that tries to look at problems in terms of being either true or false. It will use a set of statements to derive new true
More information2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.
2 Logic Gates A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs. THE INVERTER The inverter (NOT circuit) performs the operation called inversion
More information6.111 Lecture # 19. Controlling Position. Some General Features of Servos: Servomechanisms are of this form:
6.111 Lecture # 19 Controlling Position Servomechanisms are of this form: Some General Features of Servos: They are feedback circuits Natural frequencies are 'zeros' of 1+G(s)H(s) System is unstable if
More informationChapter # 1: Introduction
Chapter # : Randy H. Katz University of California, erkeley May 993 ฉ R.H. Katz Transparency No. - The Elements of Modern Design Representations, Circuit Technologies, Rapid Prototyping ehaviors locks
More informationIES Digital Mock Test
. The circuit given below work as IES Digital Mock Test - 4 Logic A B C x y z (a) Binary to Gray code converter (c) Binary to ECESS- converter (b) Gray code to Binary converter (d) ECESS- To Gray code
More informationComputer Architecture (TT 2012)
Computer Architecture (TT 212) Laws of Attraction aniel Kroening Oxford University, Computer Science epartment Version 1., 212 . Kroening: Computer Architecture (TT 212) 2 . Kroening: Computer Architecture
More informationLecture 2: Digital Logic Basis
Lecture 2: Digital Logic Basis Xufeng Kou School of Information Science and Technology ShanghaiTech University 1 Outline Truth Table Basic Logic Operation and Gates Logic Circuits NOR Gates and NAND Gates
More informationCPE/EE 427, CPE 527 VLSI Design I: Homeworks 3 & 4
CPE/EE 427, CPE 527 VLSI Design I: Homeworks 3 & 4 1 2 3 4 5 6 7 8 9 10 Sum 30 10 25 10 30 40 10 15 15 15 200 1. (30 points) Misc, Short questions (a) (2 points) Postponing the introduction of signals
More informationDigital Design and System Implementation. Overview of Physical Implementations
Digital Design and System Implementation Overview of Physical Implementations CMOS devices CMOS transistor circuit functional behavior Basic logic gates Transmission gates Tri-state buffers Flip-flops
More informationECE/CoE 0132: FETs and Gates
ECE/CoE 0132: FETs and Gates Kartik Mohanram September 6, 2017 1 Physical properties of gates Over the next 2 lectures, we will discuss some of the physical characteristics of integrated circuits. We will
More informationCS302 - Digital Logic Design Glossary By
CS302 - Digital Logic Design Glossary By ABEL : Advanced Boolean Expression Language; a software compiler language for SPLD programming; a type of hardware description language (HDL) Adder : A digital
More informationComputer Systems and Networks. ECPE 170 Jeff Shafer University of the Pacific. Digital Logic
ECPE 170 Jeff Shafer University of the Pacific Digital Logic 2 Homework Review 2.33(d) Convert 26.625 to IEEE 754 single precision floa9ng point: Format requirements for single precision (32 bit total
More informationCS61c: Introduction to Synchronous Digital Systems
CS61c: Introduction to Synchronous Digital Systems J. Wawrzynek March 4, 2006 Optional Reading: P&H, Appendix B 1 Instruction Set Architecture Among the topics we studied thus far this semester, was the
More informationUnit 3 Digital Circuits (Logic)
Unit 3 Digital Circuits (Logic) 1 2 A Brief History COMPUTERS AND SWITCHING TECHNOLOGY 3 Mechanical Computers Primarily gearbased Difference Engine and Analytic Engine designed and partially implemented
More informationDigital Microelectronic Circuits ( ) CMOS Digital Logic. Lecture 6: Presented by: Adam Teman
Digital Microelectronic Circuits (361-1-3021 ) Presented by: Adam Teman Lecture 6: CMOS Digital Logic 1 Last Lectures The CMOS Inverter CMOS Capacitance Driving a Load 2 This Lecture Now that we know all
More informationNumber system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished
Number system: the system used to count discrete units is called number system Decimal system: the number system that contains 10 distinguished symbols that is 0-9 or digits is called decimal system. As
More informationFormal Foundation of Digital Design
Chapter 2: Switching Algebra and Logic Circuits 78 22 Digital Logic Design @ Department of Computer Engineering KKU. Formal Foundation of Digital Design In 854 George Boole published An investigation into
More informationLecture 15 Analysis of Combinational Circuits
Lecture 15 Analysis of Combinational Circuits Designing Combinational Logic Circuits A logic circuit having 3 inputs, A, B, C will have its output HIGH only when a majority of the inputs are HIGH. Step
More informationQUIZ. What do these bits represent?
QUIZ What do these bits represent? 1001 0110 1 QUIZ What do these bits represent? Unsigned integer: 1101 1110 Signed integer (2 s complement): Fraction: IBM 437 character: Latin-1 character: Huffman-compressed
More informationDigital Electronic Concepts
Western Technical College 10662137 Digital Electronic Concepts Course Outcome Summary Course Information Description Career Cluster Instructional Level Total Credits 4.00 Total Hours 108.00 This course
More informationCourse Overview. Course Overview
Course Overview Where does this course fit into the Electrical Engineering curriculum? Page 5 Course Overview Where does this course fit into the Computer Engineering curriculum? Page 6 3 Course Content
More information! Review: Sequential MOS Logic. " SR Latch. " D-Latch. ! Timing Hazards. ! Dynamic Logic. " Domino Logic. ! Charge Sharing Setup.
ESE 570: Digital Integrated Circuits and VLSI Fundamentals Lec 9: March 29, 206 Timing Hazards and Dynamic Logic Lecture Outline! Review: Sequential MOS Logic " SR " D-! Timing Hazards! Dynamic Logic "
More informationLecture 0: Introduction
Introduction to CMOS VLSI Design Lecture : Introduction David Harris Steven Levitan Harvey Mudd College University of Pittsburgh Spring 24 Fall 28 Administrivia Professor Steven Levitan TA: Bo Zhao Syllabus
More informationLayers. Layers. Layers. Transistor Manufacturing COMP375 1
VLSI COMP375 Computer Architecture Middleware other CS classes Machine Language Microcode Logic circuits Transistors Middleware Machine Language - earlier Microcode Logic circuits Transistors Middleware
More informationTopic 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. NMOS Transistors in Series/Parallel Connection
NMOS Transistors in Series/Parallel Connection Topic 6 CMOS Static & Dynamic Logic Gates Peter Cheung Department of Electrical & Electronic Engineering Imperial College London Transistors can be thought
More informationEECS150 - Digital Design Lecture 2 - CMOS
EECS150 - Digital Design Lecture 2 - CMOS August 29, 2002 John Wawrzynek Fall 2002 EECS150 - Lec02-CMOS Page 1 Outline Overview of Physical Implementations CMOS devices Announcements/Break CMOS transistor
More informationFirst Optional Homework Problem Set for Engineering 1630, Fall 2014
First Optional Homework Problem Set for Engineering 1630, Fall 014 1. Using a K-map, minimize the expression: OUT CD CD CD CD CD CD How many non-essential primes are there in the K-map? How many included
More informationEE 42/100 Lecture 24: Latches and Flip Flops. Rev A 4/14/2010 (8:30 PM) Prof. Ali M. Niknejad
A. M. Niknejad University of California, Berkeley EE 100 / 42 Lecture 24 p. 1/15 EE 42/100 Lecture 24: Latches and Flip Flops ELECTRONICS Rev A 4/14/2010 (8:30 PM) Prof. Ali M. Niknejad University of California,
More informationCS152 Computer Architecture and Engineering Lecture 3: ReviewTechnology & Delay Modeling. September 3, 1997
CS152 Computer Architecture and Engineering Lecture 3: ReviewTechnology & Delay Modeling September 3, 1997 Dave Patterson (httpcsberkeleyedu/~patterson) lecture slides: http://www-insteecsberkeleyedu/~cs152/
More informationEECS150 - Digital Design Lecture 15 - CMOS Implementation Technologies. Overview of Physical Implementations
EECS150 - Digital Design Lecture 15 - CMOS Implementation Technologies Mar 12, 2013 John Wawrzynek Spring 2013 EECS150 - Lec15-CMOS Page 1 Overview of Physical Implementations Integrated Circuits (ICs)
More informationEECS150 - Digital Design Lecture 9 - CMOS Implementation Technologies
EECS150 - Digital Design Lecture 9 - CMOS Implementation Technologies Feb 14, 2012 John Wawrzynek Spring 2012 EECS150 - Lec09-CMOS Page 1 Overview of Physical Implementations Integrated Circuits (ICs)
More informationChapter 3 Describing Logic Circuits Dr. Xu
Chapter 3 Describing Logic Circuits Dr. Xu Chapter 3 Objectives Selected areas covered in this chapter: Operation of truth tables for AND, NAND, OR, and NOR gates, and the NOT (INVERTER) circuit. Boolean
More informationThe book has excellent descrip/ons of this topic. Please read the book before watching this lecture. The reading assignment is on the website.
5//22 Digital Logic Design Introduc/on to Computer Architecture David Black- Schaffer Contents 2 Combina3onal logic Gates Logic Truth tables Truth tables Gates (Karnaugh maps) Common components: Mul/plexors,
More informationObjective Questions. (a) Light (b) Temperature (c) Sound (d) all of these
Objective Questions Module 1: Introduction 1. Which of the following is an analog quantity? (a) Light (b) Temperature (c) Sound (d) all of these 2. Which of the following is a digital quantity? (a) Electrical
More information! Sequential Logic. ! Timing Hazards. ! Dynamic Logic. ! Add state elements (registers, latches) ! Compute. " From state elements
ESE 570: Digital Integrated Circuits and VLSI Fundamentals Lec 19: April 2, 2019 Sequential Logic, Timing Hazards and Dynamic Logic Lecture Outline! Sequential Logic! Timing Hazards! Dynamic Logic 4 Sequential
More informationDigital Systems Principles and Applications TWELFTH EDITION. 3-3 OR Operation With OR Gates. 3-4 AND Operations with AND gates
Digital Systems Principles and Applications TWELFTH EDITION CHAPTER 3 Describing Logic Circuits Part -2 J. Bernardini 3-3 OR Operation With OR Gates An OR gate is a circuit with two or more inputs, whose
More informationLab Report: Digital Logic
Lab Report: Digital Logic Introduction The aim of the Digital Logic Lab was to construct a simple 4-bit Arithmetic Logic Unit (ALU) in order to demonstrate methods of using Boolean Algebra to manipulate
More informationElectronics. Digital Electronics
Electronics Digital Electronics Introduction Unlike a linear, or analogue circuit which contains signals that are constantly changing from one value to another, such as amplitude or frequency, digital
More informationCMOS Digital Integrated Circuits Lec 11 Sequential CMOS Logic Circuits
Lec Sequential CMOS Logic Circuits Sequential Logic In Combinational Logic circuit Out Memory Sequential The output is determined by Current inputs Previous inputs Output = f(in, Previous In) The regenerative
More informationLecture 3: Logic circuit. Combinational circuit and sequential circuit
Lecture 3: Logic circuit Combinational circuit and sequential circuit TRAN THI HONG HONG@IS.NAIST.JP Content Lecture : Computer organization and performance evaluation metrics Lecture 2: Processor architecture
More informationIntroduction (concepts and definitions)
Objectives: Introduction (digital system design concepts and definitions). Advantages and drawbacks of digital techniques compared with analog. Digital Abstraction. Synchronous and Asynchronous Systems.
More informationEECS150 - Digital Design Lecture 19 CMOS Implementation Technologies. Recap and Outline
EECS150 - Digital Design Lecture 19 CMOS Implementation Technologies Oct. 31, 2013 Prof. Ronald Fearing Electrical Engineering and Computer Sciences University of California, Berkeley (slides courtesy
More informationLayers. Layers. Layers. Transistor Manufacturing COMP375 1
Layers VLSI COMP370 Intro to Computer Architecture t Applications Middleware other CS classes High level languages Machine Language Microcode Logic circuits Gates Transistors Silicon structures Layers
More informationModule -18 Flip flops
1 Module -18 Flip flops 1. Introduction 2. Comparison of latches and flip flops. 3. Clock the trigger signal 4. Flip flops 4.1. Level triggered flip flops SR, D and JK flip flops 4.2. Edge triggered flip
More informationCS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON
CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING UNIVERSITY OF WISCONSIN MADISON Instructor: Andy Phelps TAs: Newsha Ardalani, Peter Ohmann, and Jai Menon Midterm Examination 2 In Class (50 minutes) Wednesday,
More informationLogic diagram: a graphical representation of a circuit
LOGIC AND GATES Introduction to Logic (1) Logic diagram: a graphical representation of a circuit Each type of gate is represented by a specific graphical symbol Truth table: defines the function of a gate
More informationCHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT
CHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT CHAPTER CONTENTS 3.1 Introduction to Basic Gates 3.2 Analysing A Combinational Logic Circuit 3.3 Design A Combinational Logic Circuit From Boolean Expression
More informationTiming analysis can be done right after synthesis. But it can only be accurately done when layout is available
Timing Analysis Lecture 9 ECE 156A-B 1 General Timing analysis can be done right after synthesis But it can only be accurately done when layout is available Timing analysis at an early stage is not accurate
More informationCombinational Logic Circuits. Combinational Logic
Combinational Logic Circuits The outputs of Combinational Logic Circuits are only determined by the logical function of their current input state, logic 0 or logic 1, at any given instant in time. The
More informationLecture 6: Electronics Beyond the Logic Switches Xufeng Kou School of Information Science and Technology ShanghaiTech University
Lecture 6: Electronics Beyond the Logic Switches Xufeng Kou School of Information Science and Technology ShanghaiTech University EE 224 Solid State Electronics II Lecture 3: Lattice and symmetry 1 Outline
More informationR & D Electronics DIGITAL IC TRAINER. Model : DE-150. Feature: Object: Specification:
DIGITAL IC TRAINER Model : DE-150 Object: To Study the Operation of Digital Logic ICs TTL and CMOS. To Study the All Gates, Flip-Flops, Counters etc. To Study the both the basic and advance digital electronics
More informationCS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam
CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam MIDTERM EXAMINATION 2011 (October-November) Q-21 Draw function table of a half adder circuit? (2) Answer: - Page
More informationIntroduction to CMOS VLSI Design (E158) Lecture 5: Logic
Harris Introduction to CMOS VLSI Design (E158) Lecture 5: Logic David Harris Harvey Mudd College David_Harris@hmc.edu Based on EE271 developed by Mark Horowitz, Stanford University MAH E158 Lecture 5 1
More informationName: Class: Date: 1. As more electronic systems have been designed using digital technology, devices have become smaller and less powerful.
Name: Class: Date: DE Midterm Review 2 True/False Indicate whether the statement is true or false. 1. As more electronic systems have been designed using digital technology, devices have become smaller
More informationReference. Wayne Wolf, FPGA-Based System Design Pearson Education, N Krishna Prakash,, Amrita School of Engineering
FPGA Fabrics Reference Wayne Wolf, FPGA-Based System Design Pearson Education, 2004 CPLD / FPGA CPLD Interconnection of several PLD blocks with Programmable interconnect on a single chip Logic blocks executes
More informationAssociate In Applied Science In Electronics Engineering Technology Expiration Date:
PROGRESS RECORD Study your lessons in the order listed below. Associate In Applied Science In Electronics Engineering Technology Expiration Date: 1 2330A Current and Voltage 2 2330B Controlling Current
More informationTopic Notes: Digital Logic
Computer Science 220 Assembly Language & Comp. Architecture Siena College Fall 20 Topic Notes: Digital Logic Our goal for the next couple of weeks is to gain a reasonably complete understanding of how
More informationElectronic Circuits EE359A
Electronic Circuits EE359A Bruce McNair B206 bmcnair@stevens.edu 201-216-5549 1 Memory and Advanced Digital Circuits - 2 Chapter 11 2 Figure 11.1 (a) Basic latch. (b) The latch with the feedback loop opened.
More informationCopyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Computing Layers
Chapter 3 Digital Logic Structures Original slides from Gregory Byrd, North Carolina State University Modified by Chris Wilcox, Sanjay Rajopadhye Colorado State University Computing Layers Problems Algorithms
More informationChapter # 1: Introduction
Chapter # : Introduction Contemporary Logic Design Randy H. Katz University of California, erkeley May 994 No. - The Process Of Design Design Implementation Debug Design Initial concept: what is the function
More informationANALOGUE AND DIGITAL ELECTRONICS STUDENT S WORKBOOK U3: DIGITAL ELECTRONICS
NLOGUE ND DIGITL ELECTRONICS STUDENT S WORKBOOK U3: DIGITL ELECTRONICS Joaquim Crisol Llicència D, Generalitat de Catalunya NILE Norwich, pril of 211 Table of contents Table of contents 3 DIGITL ELECTRONICS....
More informationDepartment of Electronics and Communication Engineering
Department of Electronics and Communication Engineering Sub Code/Name: BEC3L2- DIGITAL ELECTRONICS LAB Name Reg No Branch Year & Semester : : : : LIST OF EXPERIMENTS Sl No Experiments Page No Study of
More informationCOMPUTER ARCHITECTURE AND ORGANIZATION
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING COMPUTER ARCHITECTURE AND ORGANIZATION (CSE18R174) LAB MANUAL Name of the Student:..... Register No Class Year/Sem/Class :. :. :... 1 This page is left intentionally
More informationDIGITAL ELECTRONICS QUESTION BANK
DIGITAL ELECTRONICS QUESTION BANK Section A: 1. Which of the following are analog quantities, and which are digital? (a) Number of atoms in a simple of material (b) Altitude of an aircraft (c) Pressure
More informationENGIN 112 Intro to Electrical and Computer Engineering
ENGIN 112 Intro to Electrical and Computer Engineering Lecture 28 Timing Analysis Overview Circuits do not respond instantaneously to input changes Predictable delay in transferring inputs to outputs Propagation
More informationUnit level 4 Credit value 15. Introduction. Learning Outcomes
Unit 20: Unit code Digital Principles T/615/1494 Unit level 4 Credit value 15 Introduction While the broad field of electronics covers many aspects, it is digital electronics which now has the greatest
More informationCombinational Logic Design CH002
Combinational Logic Design CH002 Figure 2.1 Circuit as a black box with inputs, outputs, and specifications Figure 2.2 Elements and nodes Figure 2.3 Combinational logic circuit Figure 2.4 Two OR implementations
More informationDAV Institute of Engineering & Technology Department of ECE. Course Outcomes
DAV Institute of Engineering & Technology Department of ECE Course Outcomes Upon successful completion of this course, the student will intend to apply the various outcome as:: BTEC-301, Analog Devices
More informationCHAPTER 6 PHASE LOCKED LOOP ARCHITECTURE FOR ADC
138 CHAPTER 6 PHASE LOCKED LOOP ARCHITECTURE FOR ADC 6.1 INTRODUCTION The Clock generator is a circuit that produces the timing or the clock signal for the operation in sequential circuits. The circuit
More informationReading. Lecture 17: MOS transistors digital. Context. Digital techniques:
Reading Lecture 17: MOS transistors digital Today we are going to look at the analog characteristics of simple digital devices, 5. 5.4 And following the midterm, we will cover PN diodes again in forward
More informationEE241 - Spring 2004 Advanced Digital Integrated Circuits. Announcements. Borivoje Nikolic. Lecture 15 Low-Power Design: Supply Voltage Scaling
EE241 - Spring 2004 Advanced Digital Integrated Circuits Borivoje Nikolic Lecture 15 Low-Power Design: Supply Voltage Scaling Announcements Homework #2 due today Midterm project reports due next Thursday
More informationThis Figure here illustrates the operation for a 2-input OR gate for all four possible input combinations.
Course: B.Sc. Applied Physical Science (Computer Science) Year & Sem.: IInd Year, Sem - IIIrd Subject: Computer Science Paper No.: IX Paper Title: Computer System Architecture Lecture No.: 5 Lecture Title:
More informationChapter 4: FLIP FLOPS. (Sequential Circuits) By: Siti Sabariah Hj. Salihin ELECTRICAL ENGINEERING DEPARTMENT EE 202 : DIGITAL ELECTRONICS 1
Chapter 4: FLIP FLOPS (Sequential Circuits) By: Siti Sabariah Hj. Salihin ELECTRICAL ENGINEERING DEPARTMENT 1 CHAPTER 4 : FLIP FLOPS Programme Learning Outcomes, PLO Upon completion of the programme, graduates
More informationLab 2 Revisited Exercise
Lab 2 Revisited Exercise +15V 100k 1K 2N2222 Wire up led display Note the ground leads LED orientation 6.091 IAP 2008 Lecture 3 1 Comparator, Oscillator +5 +15 1k 2 V- 7 6 Vin 3 V+ 4 V o Notice that power
More information! Is it feasible? ! How do we decompose the problem? ! Vdd. ! Topology. " Gate choice, logical optimization. " Fanin, fanout, Serial vs.
ESE 570: Digital Integrated Circuits and VLSI Fundamentals Design Space Exploration Lec 18: March 28, 2017 Design Space Exploration, Synchronous MOS Logic, Timing Hazards 3 Design Problem Problem Solvable!
More informationClassification of Digital Circuits
Classification of Digital Circuits Combinational logic circuits. Output depends only on present input. Sequential circuits. Output depends on present input and present state of the circuit. Combinational
More informationIntroduction. Reading: Chapter 1. Courtesy of Dr. Dansereau, Dr. Brown, Dr. Vranesic, Dr. Harris, and Dr. Choi.
Introduction Reading: Chapter 1 Courtesy of Dr. Dansereau, Dr. Brown, Dr. Vranesic, Dr. Harris, and Dr. Choi http://csce.uark.edu +1 (479) 575-6043 yrpeng@uark.edu Why study logic design? Obvious reasons
More informationCourse Outline Cover Page
College of Micronesia FSM P.O. Box 159 Kolonia, Pohnpei Course Outline Cover Page Digital Electronics I VEE 135 Course Title Department and Number Course Description: This course provides the students
More informationPreface... iii. Chapter 1: Diodes and Circuits... 1
Table of Contents Preface... iii Chapter 1: Diodes and Circuits... 1 1.1 Introduction... 1 1.2 Structure of an Atom... 2 1.3 Classification of Solid Materials on the Basis of Conductivity... 2 1.4 Atomic
More informationDIGITAL LOGIC CIRCUITS
LOGIC APPLICATIONS DIGITAL LOGIC CIRCUITS Noticed an analogy between the operations of switching devices, such as telephone switching circuits, and the operations of logical connectives What happens when
More informationLecture 16. Complementary metal oxide semiconductor (CMOS) CMOS 1-1
Lecture 16 Complementary metal oxide semiconductor (CMOS) CMOS 1-1 Outline Complementary metal oxide semiconductor (CMOS) Inverting circuit Properties Operating points Propagation delay Power dissipation
More information