2.1. Unit 2. Digital Circuits (Logic)

Size: px
Start display at page:

Download "2.1. Unit 2. Digital Circuits (Logic)"

Transcription

1 2.1 Unit 2 Digital Circuits (Logic)

2 2.2 Moving from voltages to 1's and 0's ANALOG VS. DIGITAL

3 volts volts 2.3 Analog signal Signal Types Continuous time signal where each voltage level has a unique meaning Most information types are inherently analog Digital signal Continuous signal where voltage levels are mapped into 2 ranges meaning 0 or 1 Possible to convert a single analog signal to a set of digital signals Threshold Analog time Digital time

4 Logic 0 Illegal Logic Signals and Meaning Analog Digital 5.0 V 5.0 V 2.0 V Threshold Range 0.8 V 0.0 V Each voltage value has unique meaning 0.0 V Each voltage maps to '0' or '1' (There is a small illegal range where meaning is undefined since threshold can vary based on temperature, small variations in manufacturing, etc.)

5 2.5 Analog vs. Digital USC students used to program analog computers!

6 2.6 A Brief History COMPUTERS AND SWITCHING TECHNOLOGY

7 2.7 Electronic Computers Replaced mechanical computation engines Electronic computers require some kind of "switching" technology Initially that was the vacuum tube 1945 ENIAC was one of the first, fully electronic computers Used thousands of vacuum tubes as fundamental switching (on/off) technology Weighed 30 tons, required 15,000 square feet, and maximum size number was 10 decimal digits (i.e. ±9,999,999,999) Still required some patch panels (wire plugs) to configure it

8 2.8 Vacuum Tube Technology Digital, electronic computers use some sort of voltage controlled switch (on/off) Looks like a light bulb Usually 3 nodes 1 node serves as the switch value allowing current to flow between the other 2 nodes (on) or preventing current flow between the other 2 nodes (off) Example: if the switch input voltage is 5V, then current is allowed to flow between the other nodes A Switch Input (Hi or Lo Voltage) Current can flow based on voltage of input switch B Vacuum Tube

9 2.9 Vacuum Tube Disadvantages Relatively large Especially when you need 19,000 to make 1 computer Unreliable Can burn out just like a light bulb Dissipate a lot of heat (power)

10 Voltage at the gate controls the operation of the transistor 2.10 Transistor Another switching device Invented by Bell Labs in 1948 Uses semiconductor materials (silicon) Much smaller, faster, more reliable (doesn't burn out), and dissipated less power Individual Transistors (About the size of your fingertip) Source Gate +5V Drain High voltage at gate allows current to flow from source to drain Source Gate 0V Silicon Drain Silicon Low voltage at gate prevents current from flowing from source to drain Transistor is 'on' Transistor is 'off'

11 2.11 Moore's Law & Transistors Moore's Law = Number of transistors able to be fabricated on a chip will double every years (i.e. exponential growth) Achieved by shrinking the transistor structure However, we are approaching the physical limitations of this shrinking 53% compound annual growth rate over 50 years No other technology has grown so fast so long Transistors are the fundamental building block of computer HW Switching devices: Can conduct [on = 1] or notconduct [off = 0] based on an input voltage

12 2.12 How Does a Transistor Work Transistor inner workings

13 2.13 NMOS Transistor Physics Let's review what we saw in the video Transistor is started by implanting two ntype silicon areas, separated by ptype ntype silicon (extra negative charges) Source Input Drain Input ptype silicon ("extra" positive charges)

14 2.14 NMOS Transistor Physics A thin, insulator layer (silicon dioxide or just "oxide") is placed over the silicon between source and drain Source Input Drain Output Insulator Layer (oxide) ntype silicon (extra negative charges) ptype silicon ("extra" positive charges)

15 2.15 NMOS Transistor Physics A thin, insulator layer (silicon dioxide or just "oxide") is placed over the silicon between source and drain Conductive polysilicon material is layered over the oxide to form the gate input Source Input Gate Input Drain Output conductive polysilicon Insulator Layer (oxide) ntype silicon (extra negative charges) ptype silicon ("extra" positive charges)

16 2.16 NMOS Transistor Physics Positive voltage (charge) at the gate input repels the extra positive charges in the p type silicon Result is a negativecharge channel between the source input and drain Source Input negativelycharge channel Gate Input positive charge "repelled" ptype Drain Output ntype

17 2.17 NMOS Transistor Physics Electrons can flow through the negative channel from the source input to the drain output The transistor is "on" Gate Input Source Input + + Drain Output + ntype ptype Negative channel between source and drain = Current flow

18 2.18 NMOS Transistor Physics If a low voltage (negative charge) is placed on the gate, no channel will develop and no current will flow The transistor is "off" Gate Input Source Input Drain Output ntype ptype No negative channel between source and drain = No current flow

19 2.19 View of a Transistor Crosssection of transistors on an IC Moore's Law is founded on our ability to keep shrinking transistor sizes Gate/channel width shrinks Gate oxide shrinks Transistor feature size is referred to as the implementation "technology node" Electron Microscope View of Transistor CrossSection

20 Minimum Feature Size 2.20

21 2.21 Intel Processor Trends 1971 Intel transistors Max 4Kbits addressable memory 1 MHz operation 2 nd Gen. Intel Core i7 Extreme Processor for desktops launched in Q4 of 2012 #cores/#threads: 6/12 Technology node: 32nm Clock speed: 3.5 GHz Transistor count: Over one billion Cache: 15MB Addressable memory: 64GB Size: 52.5mm by 45.0mm mm 2

22 ARM Cortex A15 ARM Cortex A15 in 2011 to cores per cluster, two clusters per chip Technology node: 22nm Clock speed: 2.5 GHz Transistor count: Over one billion Cache: Up to 4MB per cluster Addressable memory: up to 1TB Size: 52.5mm by 45.0mm

23 DIGITAL LOGIC GATES 2.23

24 2.24 Transistors and Logic Transistors act as switches (on or off) A S1 S2 B Logic operations (AND / OR) formed by connecting them in specific patterns Series Connection Parallel Connection A Series Connection S1 AND S2 must be on for A to be connected to B S1 S2 Parallel Connection S1 OR S2 must be on for A to be connected to B B

25 2.25 Gates Each logical operation (AND, OR, NOT) can be implemented as an digital device called a "gate" The schematic symbols below are used to represent each logic gate Each logic gate can be built by connecting transistors in various configurations AND Gate OR Gate NOT Gate

26 2.26 AND Gates An AND gate outputs a '1' (true) if ALL inputs are '1' (true) Gates can have several inputs Behavior can be shown in a truth table (listing all possible input combinations and the corresponding output) X Y Z F X Y F X Y F=X Y F X Y Z F=X Y Z F input AND 3input AND

27 2.27 OR Gates An OR gate outputs a '1' (true) if ANY input is '1' (true) Gates can also have several inputs X Y Z F X Y F=X+Y F X Y F X Y Z F=X+Y+Z F input OR 3input OR

28 2.28 Buffer & NOT (Inverter) Gate A Buffer simply passes a digital value But strengthens it electrically (e.g. boosts 3.7V closer to 5V) A NOT (aka "inverter") gate inverts a digital signal to its opposite value (i.e. flips a bit) the "bubble" (logically performs the inversion) X F X F X F X F F = X F = X

29 2.29 Aside: How Do You Build an Inverter (1)? A simple (though maybe not ideal) method to build an inverter is to place a transistor in series with a resistor Input to inverter is input to transistor Output of inverter is node between resistor and transistor We can model the transistor as a resistor Develop an equation for Vout Vdd Vin Vout Vdd R pullup R pullup R trans Vout = Vdd R trans + R pullup Vout Vout Vin Vin R Trans GND GND

30 2.30 Aside: How Do You Build an Inverter (2)? First, estimate the resistance of R trans if Vin is 0 (low) then again if Vin is 1 (highvoltage) Use that estimate in your equation for Vout to determine the output voltage Vdd Vdd R pullup R pullup Vout = Vout = 0 R trans = 1 (Vdd) R trans = GND GND

31 2.31 NAND and NOR Gates Inverted versions of the AND and OR gate X Y Z X Y Z NAND NOR Z X Y Z X Y X Y Z X Y Z X Y Z X Y Z AND NAND OR NOR True if NOT ALL inputs are true True if NOT ANY input is true

32 2.32 XOR and XNOR Gates Exclusive OR gate. Outputs a '1' if either input is a '1', but not both. X Y F X Y Z F X Y F X Y Z F XOR XNOR F X Y X Y F X Y Z F F X Y X Y F X Y Z F True if an odd # of inputs are true = True if inputs are different True if an even # of inputs are true = True if inputs are same

33 2.33 Logic Example A B C 0 D F 1

34 2.34 Logic Example A B C 0 D F 0

35 2.35 Practice: Waveform Diagrams Waveform diagrams show digital circuit operation over time Vertical axis: Each signal can be HIGH (1) or LOW (0) Horizontal axis: time Complete the waveform for the given circuit A B C w NOT of B x A and w y B or C F x xor y A B C w x y F

36 BOOLEAN ALGEBRA INTRO 2.36

37 2.37 Boolean Algebra Intro Larger logic circuits are too complex to analyze with truth tables or schematics Instead, use mathematical notation (equations) and develop axioms and theorems to help us manipulate logical expressions/equations Axioms = Basis / assumptions used Theorems = manipulations that we can use

38 2.38 Axioms Axioms are the basis for Boolean Algebra Notice that these axioms are simply restating our definition of digital/binary logic A1/A1 = Binary variables (only 2 values possible) A2/A2 = NOT operation A3,A4,A5 = AND operation A3,A4,A5 = OR operation (A1) X = 0 if X 1 (A1 ) X = 1 if X 0 (A2) If X = 0, then X = 1 (A2 ) If X = 1, then X = 0 (A3) 0 0 = 0 (A3 ) = 1 (A4) 1 1 = 1 (A4 ) = 0 (A5) 1 0 = 0 1 = 0 (A5 ) = = 1

39 2.39 Duality Every truth statement can yields another truth statement I exercise if I have time and energy (original statement) I don t exercise if I don t have time or don t have energy (dual statement) To express the dual, swap 1 s 0 s +

40 2.40 Duality The dual of an expression is not equal to the original Original expression Taking the dual of both sides of an equation yields a new equation Dual X + 1 = 1 Original equation X 0 = 0 Dual

41 2.41 Single Variable Theorems Provide some simplifications for expressions containing: a single variable a single variable and a constant bit Each theorem has a dual (another true statement) Each theorem can be proved by writing a truth table for both sides (i.e. proving the theorem holds for all possible values of X) T1 X + 0 = X T1' X 1 = X T2 X + 1 = 1 T2' X 0 = 0 T3 X + X = X T3' X X = X T4 (X')' = X T5 X + X' = 1 T5' X X' = 0

42 2.42 Single Variable Theorem (T1) X+0 = X (T1) X 1 = X (T1 ) X Y Z OR Hold Y constant X Y Z AND Whenever a variable is OR ed with 0, the output will be the same as the variable 0 OR Anything equals that anything Whenever a variable is AND ed with 1, the output will be the same as the variable 1 AND Anything equals that anything

43 2.43 Single Variable Theorem (T2) X+1 = 1 (T2) X 0 = 0 (T2 ) X Y Z OR Hold Y constant X Y Z AND Whenever a variable is OR ed with 1, the output will be 1 1 OR anything equals 1 Whenever a variable is AND ed with 0, the output will be 0 0 AND anything equals 0

44 2.44 Single Variable Theorem (T3) X+X = X (T3) X X = X (T3 ) X Y Z OR Whenever a variable is OR ed with itself, the result is just the value of the variable X Y Z AND Whenever a variable is AND ed with itself, the result is just the value of the variable This theorem can be used to reduce two identical terms into one OR to replicate one term into two.

45 2.45 Single Variable Theorem (T4) (X ) = X (T4) (X) = X (T4) Anything inverted twice yields its original value

46 2.46 Single Variable Theorem (T5) X+X = 1 (T5) X X = 0 (T5 ) X Y Z OR Whenever a variable is OR ed with its complement, one value has to be 1 and thus the result is 1 X Y Z AND Whenever a variable is AND ed with its complement, one value has to be 0 and thus the result is 0 This theorem can be used to simplify variables into a constant or to expand a constant into a variable.

47 2.47 Practice Exercise 1: Given the circuit below, write the corresponding logic equation for Y Exercise 2: Suppose we learn S=0, simply the equation for Y using T1T5 Exercise 3: Suppose we learn S=1, simply the equation for Y using T1T5 IN0 S Y IN1

48 ISEL0 ISEL1 ISEL2 ISEL3 OSEL0 OSEL1 OSEL2 OSEL Application: Channel Selector Given 4 input, digital music/sound channels and 4 output channels Given individual select inputs that select 1 input channel to be routed to 1 output channel Input channels ICH0 OCH ICH1 ICH2 Channel Selector OCH1 OCH2 4 Output channels ICH3 OCH3 Input Channel Select Output Channel Select

49 2.49 Application: Steering Logic 4input music channels (ICHx) Select one input channel (use ISELx inputs) Route to one output channel (use OSELx inputs) ICH ICH ICH ICH 3 ISEL0 ISEL1 ISEL2 ISEL3 OSEL0 OSEL1 OSEL2 OSEL3 OCH 0 OCH 1 OCH 2 OCH 3

50 OSEL0 OSEL1 OSEL2 OSEL Application: Steering Logic 1 st Level of AND gates act as barriers only passing 1 channel OR gates combines 3 streams of 0 s with the 1 channel that got passed (i.e. ICH1) 2 nd Level of AND gates passes the channel to only the selected output ICH 0 0 Connection Point ICH1 0 OCH 0 ICH ICH1 ICH1 0 ICH1 0 0 OCH 1 ICH ICH1 0 0 OCH 2 ICH ICH1 1 ICH1 OCH 3 AND: 1 AND ICHx = ICHx 0 AND ICHx = ISEL0 ISEL1 ISEL2 ISEL3 OR: 0 + ICH = ICH AND: 1 AND ICH1 = ICH1 0 AND ICH1 = 0

51 2.51 Speed, area, and power DIGITAL DESIGN GOALS

52 2.52 Digital Design Goals When designing a circuit, we want to optimize for the following three things: Area or Circuit Size (minimize) Speed (maximize) or Delay (minimize) Power (minimize) Can usually only optimize one or two of the 3 There is a huge trade space! This is what engineering is all about!

53 2.53 Minimizing Circuit Area Approaches: Reduce the number of gates used to implement a circuit Reduce the number of inputs to each gate In general a gate with n inputs requires 2*n transistors to implement Simplify logic expressions (usually by factoring and then canceling terms) to reduce the number of gates We'll learn more about this soon

54 2.54 Maximizing Speed Speed is affected by: Levels of logic (path length) Gate type Number of inputs (fanin) to the gate Number of outputs a gate connects to (fanout) Feature size and implementation technology

55 2.55 Delay Example Levels of Logic = Max. # of gates on any path from input to output A B C 0 D Levels of Logic F 1 0 Change in D, C, or A must propagate through 4 levels of gates

56 2.56 Gate Delays Order the gate types in terms of fastest to slowest? 1 X Z Typical gate delay for a 2input NAND or NOR is under a 100 ps. 2 3 X Y X Y Z Z X Y X Y Z Z 4 X Y Z X Y Z

57 2.57 Logical Operations Summary All digital circuits can be described using AND, OR, and NOT Note: You'll learn in future courses that digital circuits can be described with any of the following sets: {AND, NOT}, {OR, NOT}, {NAND only}, or {NOR only} Normal convention: 1 = true / 0 = false A logic circuit takes some digital inputs and transforms each possible input combination to a desired output values Triviaoftheday: The Apollo Guidance Computer that controlled the lunar spacecraft in 1969 was built out of 8,400 3input NOR gates. Inputs I 0 I 1 I 2 Logic Circuit O 0 O 1 Outputs

58 2.58 Storing bits SEQUENTIAL LOGIC

59 2.59 Combinational vs. Sequential Logic All logic is categorized into 2 groups Combinational logic: Outputs = f(current inputs) Sequential Logic Outputs = f(current + past inputs) Sequential logic has the notion of memory (remembering inputs or events that happened in the past)

60 2.60 Combinational vs. Sequential Current inputs Combinational Logic Outputs Current inputs Combinational Logic Outputs Sequential Outputs (State) feedback as inputs Sequential Logic Sequential Inputs (Next State) Outputs depend only on current outputs Outputs depend on current inputs and previous inputs (previous inputs summarized via state)

61 2.61 Combinational Example: Staircase Light Switch Whether or not the light is on is only dependent on the current position of the switches Light S2 S1 S1 S2 Light S1 S2 Logic Circuit Light

62 2.62 Water Tank Problem Build a control system for a pump to keep the tank from going empty Pump Pump Sensor High Sensor Low Sensor

63 2.63 Sequential Devices (Registers) AND, OR, NOT, NAND, and other gates are known as combinational logic Outputs only depend on what the inputs are right now, not one second ago This implies they have no "memory" (can't remember a value) Sequential logic devices provide the ability to retain or "remember" a value by itself (even after the input is changed or removed) Outputs can depend on the current inputs, and previous states of the circuit (stored values.) Usually have a controlling signal that indicates when the device should update the value it is remembering vs. when it should simply remember that value This controlling signal is usually the "clock" signal

64 2.64 Registers Registers are the most common sequential device Registers sample the data input (D) on the edge of a clock pulse (CP) and stores that value at the output (Q) Analogy: Taking a picture with your phone when you press a button (clock pulse) the camera samples the scene (input) and remembers/saves it as a snapshot (output). A register can only save 1 value (i.e. the last picture taken) Data Input (could be many bits) Clock pulse t = 0 ns t = 1 ns t = 5 ns t = 7 ns t = 10 ns D CP Q Block Diagram of a Register Data Output (could be many bits) The clock pulse (positive edge) here Clock pulse d(t) Some input value changing over time d(1) d(2) d(3) d(4) d(5) d(6) d(7) d(8) d(9) d(10) d(11) d(12) q(t) unk d(1) d(5) d(7) d(10) causes q(t) to sample and hold the current d(t) value

65 2.65 FlipFlops Flipflops are the building blocks of registers 1 Flipflop PER bit of input/output There are many kinds of flipflops but the most common is the D (Data) Flipflop (a.k.a. DFF) D Flipflop triggers on the clock edge and captures the Dvalue at that instant and causes Q to remember it until the next edge Positive Edge: instant the clock transition from low to high (0 to 1) PositiveEdge Triggered DFF Clock pulse d(t) Clock Signal D DFF CLK Q q(t) d(t) q(t)

66 2.66 Registers and Flipflops A register is simply a group of D flipflops that all trigger on a single clock pulse D0 D1 4bit Register D Q DFF D Q Q0 Q1 DFF CLK Q t+1 D2 D Q Q2 Steady level of 0 or 1 0 Q t 1 Q t DFF Positive Edge D t D3 D Q Q3 CP DFF

67 2.67 Pulses and Clocks Registers need an edge to trigger We can generate pulses at specific times (creating an irregular pattern) when we know the data we want has arrived Other registers in our hardware should trigger at a regular interval For that we use a clock signal Alternating high/low voltage pulse train Controls the ordering and timing of operations performed in the processor 1 cycle is usually measured from rising/positive edge to rising/positive edge Clock frequency (F) = # of cycles per second Clock Period (T) = 1 / Freq. 1 (5V) 0 (0V) Clock Pulses Clock Signal 1 cycle Op. 1 Op. 2 Op GHz = 2.8*10 9 cycles per second = ns/cycle Processor

68 2.68 Combinational vs. Sequential Sequential logic (i.e. registers) is used to store values Each register is analogous to a variable in your software program (a variable stores a number until you need it) Combinational logic is used to process bits (i.e. perform operations on values Analogous to operators (+,,*) in your software program

Floating Point Representation and Digital Logic. Lecture 11 CS301

Floating Point Representation and Digital Logic. Lecture 11 CS301 Floating Point Representation and Digital Logic Lecture 11 CS301 Administrative Daily Review of today s lecture w Due tomorrow (10/4) at 8am Lab #3 due Friday (9/7) 1:29pm HW #5 assigned w Due Monday 10/8

More information

Intro To Digital Logic

Intro To Digital Logic Intro To Digital Logic 1 Announcements... Project 2.2 out But delayed till after the midterm Midterm in a week Covers up to last lecture + next week's homework & lab Nick goes "H-Bomb of Justice" About

More information

Spiral 2 7. Capacitance, Delay and Sizing. Mark Redekopp

Spiral 2 7. Capacitance, Delay and Sizing. Mark Redekopp 2-7.1 Spiral 2 7 Capacitance, Delay and Sizing Mark Redekopp 2-7.2 Learning Outcomes I understand the sources of capacitance in CMOS circuits I understand how delay scales with resistance, capacitance

More information

CMPE12 - Notes chapter 1. Digital Logic. (Textbook Chapter 3)

CMPE12 - Notes chapter 1. Digital Logic. (Textbook Chapter 3) CMPE12 - Notes chapter 1 Digital Logic (Textbook Chapter 3) Transistor: Building Block of Computers Microprocessors contain TONS of transistors Intel Montecito (2005): 1.72 billion Intel Pentium 4 (2000):

More information

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits. CS211 Computer Architecture Digital Logic l Topics l Transistors (Design & Types) l Logic Gates l Combinational Circuits l K-Maps Figures & Tables borrowed from:! http://www.allaboutcircuits.com/vol_4/index.html!

More information

EE141Microelettronica. CMOS Logic

EE141Microelettronica. CMOS Logic Microelettronica CMOS Logic CMOS logic Power consumption in CMOS logic gates Where Does Power Go in CMOS? Dynamic Power Consumption Charging and Discharging Capacitors Short Circuit Currents Short Circuit

More information

Lecture 1: Circuits & Layout

Lecture 1: Circuits & Layout Lecture 1: Circuits & Layout Outline q A Brief History q CMOS Gate esign q Pass Transistors q CMOS Latches & Flip-Flops q Standard Cell Layouts q Stick iagrams 2 A Brief History q 1958: First integrated

More information

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing IT 204 Section 3.0 Boolean Algebra and Digital Logic Boolean Algebra 2 Logic Equations to Truth Tables X = A. B + A. B + AB A B X 0 0 0 0 3 Sum of Products The OR operation performed on the products of

More information

Introduction to Computer Engineering ECE 203

Introduction to Computer Engineering ECE 203 Introduction to Computer Engineering ECE 203 Northwestern University Department of Electrical Engineering and Computer Science Teacher: Robert Dick Office: L477 Tech Email: dickrp@ece.northwestern.edu

More information

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1 Lab 3 Revisited Zener diodes R C 6.091 IAP 2008 Lecture 4 1 Lab 3 Revisited +15 Voltage regulators 555 timers 270 1N758 0.1uf 5K pot V+ V- 2N2222 0.1uf V o. V CC V Vin s = 5 V Vc V c Vs 1 e t = RC Threshold

More information

Digital electronics form a class of circuitry where the ability of the electronics to process data is the primary focus.

Digital electronics form a class of circuitry where the ability of the electronics to process data is the primary focus. Chapter 2 Digital Electronics Objectives 1. Understand the operation of basic digital electronic devices. 2. Understand how to describe circuits which can process digital data. 3. Understand how to design

More information

ECE 250 / CPS 250 Computer Architecture. Basics of Logic Design Boolean Algebra, Logic Gates

ECE 250 / CPS 250 Computer Architecture. Basics of Logic Design Boolean Algebra, Logic Gates ECE 250 / CPS 250 Computer Architecture Basics of Logic Design Boolean Algebra, Logic Gates Benjamin Lee Slides based on those from Andrew Hilton (Duke), Alvy Lebeck (Duke) Benjamin Lee (Duke), and Amir

More information

Mark Redekopp, All rights reserved. Lecture 4 Slides. Boolean Algebra Logic Functions Canonical Sums/Products

Mark Redekopp, All rights reserved. Lecture 4 Slides. Boolean Algebra Logic Functions Canonical Sums/Products Lecture 4 Slides Boolean Algebra Logic Functions Canonical Sums/Products LOGIC FUNCTION REPRESENTATION Logic Functions A logic function maps input combinations to an output value ( 1 or ) 3 possible representations

More information

Lecture 6: Time-Dependent Behaviour of Digital Circuits

Lecture 6: Time-Dependent Behaviour of Digital Circuits Lecture 6: Time-Dependent Behaviour of Digital Circuits Two rather different quasi-physical models of an inverter gate were discussed in the previous lecture. The first one was a simple delay model. This

More information

Adders, subtractors comparators, multipliers and other ALU elements

Adders, subtractors comparators, multipliers and other ALU elements CSE4: Components and Design Techniques for Digital Systems Adders, subtractors comparators, multipliers and other ALU elements Instructor: Mohsen Imani UC San Diego Slides from: Prof.Tajana Simunic Rosing

More information

ECE/CS 250 Computer Architecture

ECE/CS 250 Computer Architecture ECE/CS 250 Computer Architecture Basics of Logic Design: Boolean Algebra, Logic Gates (Combinational Logic) Tyler Bletsch Duke University Slides are derived from work by Daniel J. Sorin (Duke), Alvy Lebeck

More information

Computer organization

Computer organization Computer organization Levels of abstraction Assembler Simulator Applications C C++ Java High-level language SOFTWARE add lw ori Assembly language Goal 0000 0001 0000 1001 0101 Machine instructions/data

More information

ECE/CS 250: Computer Architecture. Basics of Logic Design: Boolean Algebra, Logic Gates. Benjamin Lee

ECE/CS 250: Computer Architecture. Basics of Logic Design: Boolean Algebra, Logic Gates. Benjamin Lee ECE/CS 250: Computer Architecture Basics of Logic Design: Boolean Algebra, Logic Gates Benjamin Lee Slides based on those from Alvin Lebeck, Daniel Sorin, Andrew Hilton, Amir Roth, Gershon Kedem Admin

More information

CMPE12 - Notes chapter 2. Digital Logic. (Textbook Chapters and 2.1)"

CMPE12 - Notes chapter 2. Digital Logic. (Textbook Chapters and 2.1) CMPE12 - Notes chapter 2 Digital Logic (Textbook Chapters 3.1-3.5 and 2.1)" Truth table" The most basic representation of a logic function." Brute force representation listing the output for all possible

More information

School of Computer Science and Electrical Engineering 28/05/01. Digital Circuits. Lecture 14. ENG1030 Electrical Physics and Electronics

School of Computer Science and Electrical Engineering 28/05/01. Digital Circuits. Lecture 14. ENG1030 Electrical Physics and Electronics Digital Circuits 1 Why are we studying digital So that one day you can design something which is better than the... circuits? 2 Why are we studying digital or something better than the... circuits? 3 Why

More information

Gates and Logic: From Transistors to Logic Gates and Logic Circuits

Gates and Logic: From Transistors to Logic Gates and Logic Circuits Gates and Logic: From Transistors to Logic Gates and Logic Circuits Prof. Hakim Weatherspoon CS 3410 Computer Science Cornell University The slides are the product of many rounds of teaching CS 3410 by

More information

Adders, subtractors comparators, multipliers and other ALU elements

Adders, subtractors comparators, multipliers and other ALU elements CSE4: Components and Design Techniques for Digital Systems Adders, subtractors comparators, multipliers and other ALU elements Adders 2 Circuit Delay Transistors have instrinsic resistance and capacitance

More information

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure. XOR - XNOR Gates Lesson Objectives: In addition to AND, OR, NOT, NAND and NOR gates, exclusive-or (XOR) and exclusive-nor (XNOR) gates are also used in the design of digital circuits. These have special

More information

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Digital Logic

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Digital Logic Computer Science 324 Computer Architecture Mount Holyoke College Fall 2007 Topic Notes: Digital Logic Our goal for the next few weeks is to paint a a reasonably complete picture of how we can go from transistor

More information

Synchronous Sequential Logic

Synchronous Sequential Logic 1 IT 201 DIGITAL SYSTEMS DESIGN MODULE4 NOTES Synchronous Sequential Logic Sequential Circuits - A sequential circuit consists of a combinational circuit and a feedback through the storage elements in

More information

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques Time: 3 Hrs.] Prelim Question Paper Solution [Marks : 100 Q.1(a) Attempt any SIX of the following : [12]

More information

Gates and Logic: From Transistors to Logic Gates and Logic Circuits

Gates and Logic: From Transistors to Logic Gates and Logic Circuits Gates and Logic: From Transistors to Logic Gates and Logic Circuits Prof. Hakim Weatherspoon CS 3410 Computer Science Cornell University The slides are the product of many rounds of teaching CS 3410 by

More information

Fundamentals of Digital Design

Fundamentals of Digital Design Fundamentals of Digital Design Digital Radiation Measurement and Spectroscopy NE/RHP 537 1 Binary Number System The binary numeral system, or base-2 number system, is a numeral system that represents numeric

More information

Introduction to Computer Engineering. CS/ECE 252, Spring 2017 Rahul Nayar Computer Sciences Department University of Wisconsin Madison

Introduction to Computer Engineering. CS/ECE 252, Spring 2017 Rahul Nayar Computer Sciences Department University of Wisconsin Madison Introduction to Computer Engineering CS/ECE 252, Spring 2017 Rahul Nayar Computer Sciences Department University of Wisconsin Madison Chapter 3 Digital Logic Structures Slides based on set prepared by

More information

Logic Design. Chapter 2: Introduction to Logic Circuits

Logic Design. Chapter 2: Introduction to Logic Circuits Logic Design Chapter 2: Introduction to Logic Circuits Introduction Logic circuits perform operation on digital signal Digital signal: signal values are restricted to a few discrete values Binary logic

More information

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3 Digital Logic: Boolean Algebra and Gates Textbook Chapter 3 Basic Logic Gates XOR CMPE12 Summer 2009 02-2 Truth Table The most basic representation of a logic function Lists the output for all possible

More information

Lecture 9: Digital Electronics

Lecture 9: Digital Electronics Introduction: We can classify the building blocks of a circuit or system as being either analog or digital in nature. If we focus on voltage as the circuit parameter of interest: nalog: The voltage can

More information

Switches: basic element of physical implementations

Switches: basic element of physical implementations Combinational logic Switches Basic logic and truth tables Logic functions Boolean algebra Proofs by re-writing and by perfect induction Winter 200 CSE370 - II - Boolean Algebra Switches: basic element

More information

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture)

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture) COSC 243 Introduction to Logic And Combinatorial Logic 1 Overview This Lecture Introduction to Digital Logic Gates Boolean algebra Combinatorial Logic Source: Chapter 11 (10 th edition) Source: J.R. Gregg,

More information

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output of

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output of EE 2449 Experiment 11 Jack Levine and Nancy Warter-Perez CALIFORNIA STATE UNIVERSITY LOS ANGELES Department of Electrical and Computer Engineering EE-2449 Digital Logic Lab EXPERIMENT 11 SEQUENTIAL CIRCUITS

More information

Chapter 2: Boolean Algebra and Logic Gates

Chapter 2: Boolean Algebra and Logic Gates Chapter 2: Boolean Algebra and Logic Gates Mathematical methods that simplify binary logics or circuits rely primarily on Boolean algebra. Boolean algebra: a set of elements, a set of operators, and a

More information

Lecture A: Logic Design and Gates

Lecture A: Logic Design and Gates Lecture A: Logic Design and Gates Syllabus My office hours 9.15-10.35am T,Th or gchoi@ece.tamu.edu 333G WERC Text: Brown and Vranesic Fundamentals of Digital Logic,» Buy it.. Or borrow it» Other book:

More information

Gates and Logic: From switches to Transistors, Logic Gates and Logic Circuits

Gates and Logic: From switches to Transistors, Logic Gates and Logic Circuits Gates and Logic: From switches to Transistors, Logic Gates and Logic Circuits Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University See: P&H ppendix C.2 and C.3 (lso, see C.0 and

More information

4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra

4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra 4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra To design a digital circuit that will perform a required function, it is necessary to manipulate and combine the various input signals in certain

More information

Chapter 1 :: From Zero to One

Chapter 1 :: From Zero to One Chapter 1 :: From Zero to One Digital Design and Computer Architecture David Money Harris and Sarah L. Harris Copyright 2007 Elsevier 1- Chapter 1 :: Topics Background The Game Plan The Art of Managing

More information

0 volts. 2 volts. 5 volts

0 volts. 2 volts. 5 volts CS101 Binary Storage Devices and Boolean Logic Now that we have discussed number representation, why do computers use the binary representation and not something we are more familiar with, like decimal?

More information

Chapter 9. Estimating circuit speed. 9.1 Counting gate delays

Chapter 9. Estimating circuit speed. 9.1 Counting gate delays Chapter 9 Estimating circuit speed 9.1 Counting gate delays The simplest method for estimating the speed of a VLSI circuit is to count the number of VLSI logic gates that the input signals must propagate

More information

E40M. Binary Numbers. M. Horowitz, J. Plummer, R. Howe 1

E40M. Binary Numbers. M. Horowitz, J. Plummer, R. Howe 1 E40M Binary Numbers M. Horowitz, J. Plummer, R. Howe 1 Reading Chapter 5 in the reader A&L 5.6 M. Horowitz, J. Plummer, R. Howe 2 Useless Box Lab Project #2 Adding a computer to the Useless Box alows us

More information

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

ESE 570: Digital Integrated Circuits and VLSI Fundamentals ESE 570: Digital Integrated Circuits and VLSI Fundamentals Lec 17: March 23, 2017 Energy and Power Optimization, Design Space Exploration, Synchronous MOS Logic Lecture Outline! Energy and Power Optimization

More information

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table. The Laws of Boolean Boolean algebra As well as the logic symbols 0 and 1 being used to represent a digital input or output, we can also use them as constants for a permanently Open or Closed circuit or

More information

EE115C Digital Electronic Circuits Homework #4

EE115C Digital Electronic Circuits Homework #4 EE115 Digital Electronic ircuits Homework #4 Problem 1 Power Dissipation Solution Vdd =1.0V onsider the source follower circuit used to drive a load L =20fF shown above. M1 and M2 are both NMOS transistors

More information

Memory, Latches, & Registers

Memory, Latches, & Registers Memory, Latches, & Registers 1) Structured Logic Arrays 2) Memory Arrays 3) Transparent Latches 4) How to save a few bucks at toll booths 5) Edge-triggered Registers L13 Memory 1 General Table Lookup Synthesis

More information

Digital Electronics. Delay Max. FF Rate Power/Gate High Low (ns) (MHz) (mw) (V) (V) Standard TTL (7400)

Digital Electronics. Delay Max. FF Rate Power/Gate High Low (ns) (MHz) (mw) (V) (V) Standard TTL (7400) P57/67 Lec9, P Digital Electronics Introduction: In electronics we can classify the building blocks of a circuit or system as being either analog or digital in nature. If we focus on voltage as the circuit

More information

Computer Organization: Boolean Logic

Computer Organization: Boolean Logic Computer Organization: Boolean Logic Representing and Manipulating Data Last Unit How to represent data as a sequence of bits How to interpret bit representations Use of levels of abstraction in representing

More information

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Total Power. Energy and Power Optimization. Worksheet Problem 1

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Total Power. Energy and Power Optimization. Worksheet Problem 1 ESE 570: Digital Integrated Circuits and VLSI Fundamentals Lec 16: March 20, 2018 Energy and Power Optimization, Design Space Exploration Lecture Outline! Energy and Power Optimization " Tradeoffs! Design

More information

Unit 8A Computer Organization. Boolean Logic and Gates

Unit 8A Computer Organization. Boolean Logic and Gates Unit 8A Computer Organization Boolean Logic and Gates Announcements Bring ear buds or headphones to lab! 15110 Principles of Computing, Carnegie Mellon University - CORTINA 2 Representing and Manipulating

More information

Chapter 2 Boolean Algebra and Logic Gates

Chapter 2 Boolean Algebra and Logic Gates Chapter 2 Boolean Algebra and Logic Gates The most common postulates used to formulate various algebraic structures are: 1. Closure. N={1,2,3,4 }, for any a,b N we obtain a unique c N by the operation

More information

Latches. October 13, 2003 Latches 1

Latches. October 13, 2003 Latches 1 Latches The second part of CS231 focuses on sequential circuits, where we add memory to the hardware that we ve already seen. Our schedule will be very similar to before: We first show how primitive memory

More information

Where Does Power Go in CMOS?

Where Does Power Go in CMOS? Power Dissipation Where Does Power Go in CMOS? Dynamic Power Consumption Charging and Discharging Capacitors Short Circuit Currents Short Circuit Path between Supply Rails during Switching Leakage Leaking

More information

of Digital Electronics

of Digital Electronics 26 Digital Electronics 729 Digital Electronics 26.1 Analog and Digital Signals 26.3 Binary Number System 26.5 Decimal to Binary Conversion 26.7 Octal Number System 26.9 Binary-Coded Decimal Code (BCD Code)

More information

control in out in out Figure 1. Binary switch: (a) opened or off; (b) closed or on.

control in out in out Figure 1. Binary switch: (a) opened or off; (b) closed or on. Chapter 2 Digital Circuits Page 1 of 18 2. Digital Circuits Our world is an analog world. Measurements that we make of the physical objects around us are never in discrete units but rather in a continuous

More information

Introduction to Digital Logic

Introduction to Digital Logic Introduction to Digital Logic Lecture 7: Design Goals (Metrics) 2-Level Logic Negative Logic Warmup Consider F(w,x,y,z). Show the algebraic form of m4 and M4? Use Boolean algebra to find the minimal SOP

More information

CSCB58:Computer Organization

CSCB58:Computer Organization CSC58:Computer Organization Instructor: rian Harrington brian.harrington@utsc.utoronto.ca * Original slides by Steve Engels Why take CSC58? To better understand computers! See what's going on "under the

More information

MC9211 Computer Organization

MC9211 Computer Organization MC92 Computer Organization Unit : Digital Fundamentals Lesson2 : Boolean Algebra and Simplification (KSB) (MCA) (29-2/ODD) (29 - / A&B) Coverage Lesson2 Introduces the basic postulates of Boolean Algebra

More information

Fig. 1 CMOS Transistor Circuits (a) Inverter Out = NOT In, (b) NOR-gate C = NOT (A or B)

Fig. 1 CMOS Transistor Circuits (a) Inverter Out = NOT In, (b) NOR-gate C = NOT (A or B) 1 Introduction to Transistor-Level Logic Circuits 1 By Prawat Nagvajara At the transistor level of logic circuits, transistors operate as switches with the logic variables controlling the open or closed

More information

CSC9R6 Computer Design. Practical Digital Logic

CSC9R6 Computer Design. Practical Digital Logic CSC9R6 Computer Design Practical Digital Logic 1 References (for this part of CSC9R6) Hamacher et al: Computer Organization App A. In library Floyd: Digital Fundamentals Ch 1, 3-6, 8-10 web page: www.prenhall.com/floyd/

More information

CPS311 Lecture: Introduction to Digital Logic

CPS311 Lecture: Introduction to Digital Logic Objectives: CPS311 Lecture: Introduction to Digital Logic 1. Ability to read simple logic diagrams 2. Ability to design simple combinatorial circuits 3. To introduce basic building blocks of more complex

More information

Logic Gates and Boolean Algebra

Logic Gates and Boolean Algebra Logic Gates and oolean lgebra The ridge etween Symbolic Logic nd Electronic Digital Computing Compiled y: Muzammil hmad Khan mukhan@ssuet.edu.pk asic Logic Functions and or nand nor xor xnor not 2 Logic

More information

MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3

MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3 MOSIS REPORT Spring 2010 MOSIS Report 1 MOSIS Report 2 MOSIS Report 3 MOSIS Report 1 Design of 4-bit counter using J-K flip flop I. Objective The purpose of this project is to design one 4-bit counter

More information

Gates and Flip-Flops

Gates and Flip-Flops Gates and Flip-Flops Chris Kervick (11355511) With Evan Sheridan and Tom Power December 2012 On a scale of 1 to 10, how likely is it that this question is using binary?...4? What s a 4? Abstract The operation

More information

Combinational Logic Trainer Lab Manual

Combinational Logic Trainer Lab Manual Combinational Logic Trainer Lab Manual Control Inputs Microprocessor Data Inputs ff Control Unit '0' Datapath MUX Nextstate Logic State Memory Register Output Logic Control Signals ALU ff Register Status

More information

Digital Circuits. 1. Inputs & Outputs are quantized at two levels. 2. Binary arithmetic, only digits are 0 & 1. Position indicates power of 2.

Digital Circuits. 1. Inputs & Outputs are quantized at two levels. 2. Binary arithmetic, only digits are 0 & 1. Position indicates power of 2. Digital Circuits 1. Inputs & Outputs are quantized at two levels. 2. inary arithmetic, only digits are 0 & 1. Position indicates power of 2. 11001 = 2 4 + 2 3 + 0 + 0 +2 0 16 + 8 + 0 + 0 + 1 = 25 Digital

More information

Review: Additional Boolean operations

Review: Additional Boolean operations Review: Additional Boolean operations Operation: NAND (NOT-AND) NOR (NOT-OR) XOR (exclusive OR) Expressions: (xy) = x + y (x + y) = x y x y = x y + xy Truth table: x y (xy) x y (x+y) x y x y 0 0 1 0 1

More information

Clock signal in digital circuit is responsible for synchronizing the transfer to the data between processing elements.

Clock signal in digital circuit is responsible for synchronizing the transfer to the data between processing elements. 1 2 Introduction Clock signal in digital circuit is responsible for synchronizing the transfer to the data between processing elements. Defines the precise instants when the circuit is allowed to change

More information

Name: Answers. Mean: 83, Standard Deviation: 12 Q1 Q2 Q3 Q4 Q5 Q6 Total. ESE370 Fall 2015

Name: Answers. Mean: 83, Standard Deviation: 12 Q1 Q2 Q3 Q4 Q5 Q6 Total. ESE370 Fall 2015 University of Pennsylvania Department of Electrical and System Engineering Circuit-Level Modeling, Design, and Optimization for Digital Systems ESE370, Fall 2015 Final Tuesday, December 15 Problem weightings

More information

Sequential vs. Combinational

Sequential vs. Combinational Sequential Circuits Sequential vs. Combinational Combinational Logic: Output depends only on current input TV channel selector (-9) inputs system outputs Sequential Logic: Output depends not only on current

More information

ALU, Latches and Flip-Flops

ALU, Latches and Flip-Flops CSE14: Components and Design Techniques for Digital Systems ALU, Latches and Flip-Flops Tajana Simunic Rosing Where we are. Last time: ALUs Plan for today: ALU example, latches and flip flops Exam #1 grades

More information

Every time has a value associated with it, not just some times. A variable can take on any value within a range

Every time has a value associated with it, not just some times. A variable can take on any value within a range Digital Logic Circuits Binary Logic and Gates Logic Simulation Boolean Algebra NAND/NOR and XOR gates Decoder fundamentals Half Adder, Full Adder, Ripple Carry Adder Analog vs Digital Analog Continuous»

More information

CS311 Lecture: Introduction to Digital Logic

CS311 Lecture: Introduction to Digital Logic CS311 Lecture: Introduction to Digital Logic Objectives: last revised August 15, 2007 1. Ability to read simple logic diagrams 2. Ability to design simple combinatorial circuits 3. To introduce basic building

More information

CPS311 Lecture: Introduction to Combinatorial Logic

CPS311 Lecture: Introduction to Combinatorial Logic Objectives: CPS311 Lecture: Introduction to Combinatorial Logic 1. Ability to read simple logic diagrams 2. Ability to design simple combinatorial circuits 3. To introduce basic building blocks of more

More information

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS What will we learn? 2 Logic functions and circuits Boolean Algebra Logic gates and Synthesis CAD tools and VHDL Read Section 2.9 and 2.0 Terminology 3 Digital

More information

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4 Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4 4.1.1 Signal... 4 4.1.2 Comparison of Analog and Digital Signal... 7 4.2 Number Systems... 7 4.2.1 Decimal Number System... 7 4.2.2 Binary

More information

For smaller NRE cost For faster time to market For smaller high-volume manufacturing cost For higher performance

For smaller NRE cost For faster time to market For smaller high-volume manufacturing cost For higher performance University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences EECS5 J. Wawrzynek Spring 22 2/22/2. [2 pts] Short Answers. Midterm Exam I a) [2 pts]

More information

Week-I. Combinational Logic & Circuits

Week-I. Combinational Logic & Circuits Week-I Combinational Logic & Circuits Overview Binary logic operations and gates Switching algebra Algebraic Minimization Standard forms Karnaugh Map Minimization Other logic operators IC families and

More information

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002 CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING 18-322 DIGITAL INTEGRATED CIRCUITS FALL 2002 Final Examination, Monday Dec. 16, 2002 NAME: SECTION: Time: 180 minutes Closed

More information

Contents. Chapter 2 Digital Circuits Page 1 of 30

Contents. Chapter 2 Digital Circuits Page 1 of 30 Chapter 2 Digital Circuits Page 1 of 30 Contents Contents... 1 2 Digital Circuits... 2 2.1 Binary Numbers... 2 2.2 Binary Switch... 4 2.3 Basic Logic Operators and Logic Expressions... 5 2.4 Truth Tables...

More information

ENGG 1203 Tutorial_9 - Review. Boolean Algebra. Simplifying Logic Circuits. Combinational Logic. 1. Combinational & Sequential Logic

ENGG 1203 Tutorial_9 - Review. Boolean Algebra. Simplifying Logic Circuits. Combinational Logic. 1. Combinational & Sequential Logic ENGG 1203 Tutorial_9 - Review Boolean Algebra 1. Combinational & Sequential Logic 2. Computer Systems 3. Electronic Circuits 4. Signals, Systems, and Control Remark : Multiple Choice Questions : ** Check

More information

Combinational logic systems

Combinational logic systems Combinational logic systems Learners should be able to: (a) recognise 1/0 as two-state logic levels (b) identify and use NOT gates and 2-input AND, OR, NAND and NOR gates, singly and in combination (c)

More information

ALU A functional unit

ALU A functional unit ALU A functional unit that performs arithmetic operations such as ADD, SUB, MPY logical operations such as AND, OR, XOR, NOT on given data types: 8-,16-,32-, or 64-bit values A n-1 A n-2... A 1 A 0 B n-1

More information

CHAPTER1: Digital Logic Circuits Combination Circuits

CHAPTER1: Digital Logic Circuits Combination Circuits CS224: Computer Organization S.KHABET CHAPTER1: Digital Logic Circuits Combination Circuits 1 PRIMITIVE LOGIC GATES Each of our basic operations can be implemented in hardware using a primitive logic gate.

More information

From Physics to Logic

From Physics to Logic From Physics to Logic This course aims to introduce you to the layers of abstraction of modern computer systems. We won t spend much time below the level of bits, bytes, words, and functional units, but

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 6 Following the slides of Dr. Ahmed H. Madian محرم 1439 ه Winter

More information

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL. 2017-18 XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL HALF ADDER 1. The circuit that performs addition within the Arithmetic and Logic Unit of the CPU are called adders. 2. A unit that adds two

More information

Introduction to Computer Engineering. CS/ECE 252, Fall 2012 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison

Introduction to Computer Engineering. CS/ECE 252, Fall 2012 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison Introduction to Computer Engineering CS/ECE 252, Fall 2012 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison Chapter 3 Digital Logic Structures Slides based on set prepared by

More information

Digital Electronics I

Digital Electronics I References Digital Electronics I Katz, R.H. (2004). Contemporary logic design. Benjamin/Cummings. Hayes, J.P. (1993). Introduction to digital logic design. Addison-Wesley. Horowitz, P. & Hill, W. (1989).

More information

Digital Integrated Circuits A Design Perspective

Digital Integrated Circuits A Design Perspective Semiconductor Memories Adapted from Chapter 12 of Digital Integrated Circuits A Design Perspective Jan M. Rabaey et al. Copyright 2003 Prentice Hall/Pearson Outline Memory Classification Memory Architectures

More information

Lecture 7: Logic design. Combinational logic circuits

Lecture 7: Logic design. Combinational logic circuits /24/28 Lecture 7: Logic design Binary digital circuits: Two voltage levels: and (ground and supply voltage) Built from transistors used as on/off switches Analog circuits not very suitable for generic

More information

14:332:231 DIGITAL LOGIC DESIGN. Organizational Matters (1)

14:332:231 DIGITAL LOGIC DESIGN. Organizational Matters (1) 4:332:23 DIGITAL LOGIC DESIGN Ivan Marsic, Rutgers University Electrical & Computer Engineering Fall 23 Organizational Matters () Instructor: Ivan MARSIC Office: CoRE Building, room 7 Email: marsic@ece.rutgers.edu

More information

EC-121 Digital Logic Design

EC-121 Digital Logic Design EC-121 Digital Logic Design Lecture 2 [Updated on 02-04-18] Boolean Algebra and Logic Gates Dr Hashim Ali Spring 2018 Department of Computer Science and Engineering HITEC University Taxila!1 Overview What

More information

Chapter 2 Combinational Logic Circuits

Chapter 2 Combinational Logic Circuits Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 3 Additional Gates and Circuits Overview Part 1 Gate Circuits and Boolean Equations Binary Logic and Gates Boolean Algebra

More information

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary Number System Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary BOOLEAN ALGEBRA BOOLEAN LOGIC OPERATIONS Logical AND Logical OR Logical COMPLEMENTATION

More information

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits EE40 Lec 15 Logic Synthesis and Sequential Logic Circuits Prof. Nathan Cheung 10/20/2009 Reading: Hambley Chapters 7.4-7.6 Karnaugh Maps: Read following before reading textbook http://www.facstaff.bucknell.edu/mastascu/elessonshtml/logic/logic3.html

More information

E40M Capacitors. M. Horowitz, J. Plummer, R. Howe

E40M Capacitors. M. Horowitz, J. Plummer, R. Howe E40M Capacitors 1 Reading Reader: Chapter 6 Capacitance A & L: 9.1.1, 9.2.1 2 Why Are Capacitors Useful/Important? How do we design circuits that respond to certain frequencies? What determines how fast

More information

Mark Redekopp, All rights reserved. Lecture 1 Slides. Intro Number Systems Logic Functions

Mark Redekopp, All rights reserved. Lecture 1 Slides. Intro Number Systems Logic Functions Lecture Slides Intro Number Systems Logic Functions EE 0 in Context EE 0 EE 20L Logic Design Fundamentals Logic Design, CAD Tools, Lab tools, Project EE 357 EE 457 Computer Architecture Using the logic

More information

Chapter 1: Logic systems

Chapter 1: Logic systems Chapter 1: Logic systems 1: Logic gates Learning Objectives: At the end of this topic you should be able to: identify the symbols and truth tables for the following logic gates: NOT AND NAND OR NOR XOR

More information