CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Digital Design II.

Slides:



Advertisements
Similar presentations
Computer Science 210 Computer Organization Introduction to Logic Circuits.
Advertisements

컴퓨터구조론 교수 채수환. 교재 Computer Systems Organization & Architecture John D. Carpinelli, 2001, Addison Wesley.
Give qualifications of instructors: DAP
Logic Circuits Design presented by Amr Al-Awamry
Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
Cosc 2150: Computer Organization Chapter 3: Boolean Algebra and Digital Logic.
CS 151 Digital Systems Design Lecture 15 Magnitude Comparators and Multiplexers.
CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Sequential Circuits.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Digital Design.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Combinational Logic Chapter 4.
ITEC 352 Lecture 5 Low level components(3). Low level components Review Multiplexers Demultiplexer Minterm/Maxterm Karnaugh Map.
Decoders and Multiplexers Prof. Sin-Min Lee Department of Computer Science San Jose State University.
CS231 Fundamentals1 Fundamentals What kind of data do computers work with? – Deep down inside, it’s all 1s and 0s What can you do with 1s and 0s? – Boolean.
Combinational and Sequential Logic Circuits.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
ECE 3130 – Digital Electronics and Design
+ CS 325: CS Hardware and Software Organization and Architecture Combinational Circuits 1.
Digital Logic Operations and Functions. Basic Logic Operations Logic, as you know it, involves in a making of digital system. Logic, as you know it, involves.
IKI a-Combinatorial Components Bobby Nazief Semester-I The materials on these slides are adopted from those in CS231’s Lecture Notes.
Computer Organization & Programming Chapter4 Combinatorial Components.
The Digital Logic Level
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
DLD Lecture 15 Magnitude Comparators and Multiplexers
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
IT253: Computer Organization Lecture 7: Logic and Gates: Digital Design Tonga Institute of Higher Education.
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
CMP 100 Introduction to Computing Lecture Binary Numbers & Logic Operations.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 7 Dr. Shi Dept. of Electrical and Computer Engineering.
1  2004 Morgan Kaufmann Publishers Performance is specific to a particular program/s –Total execution time is a consistent summary of performance For.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
Introduction to Computing Systems and Programming Digital Logic Structures.
Multiplexers & Decoders By: Jason Pitts CS 147 Spring 2010.
1 Lecture 24 Transistors A look ahead Course summary.
President UniversityErwin SitompulDigital Systems 7/1 Lecture 7 Digital Systems Dr.-Ing. Erwin Sitompul President University
Combinational Logic Analysis. Basic Combinational Logic Circuits AND-OR logic AND-OR logic AND-OR logic produces an SOP expression. AND-OR logic produces.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
MSI Circuits.
Addition and multiplication1 Arithmetic is the most basic thing you can do with a computer, but it’s not as easy as you might expect! These next few lectures.
L OGIC G ATES Computer Organization – week 3. W HAT ’ S ALU? 1. ALU stands for: Arithmetic Logic Unit 2. ALU is a digital circuit that performs Arithmetic.
CSE 140 Lecture 12 Combinational Standard Modules
CSCI-100 Introduction to Computing
Digital Logic Design 1st Exam Solution
Lecture 9 Logistics Last lecture Today HW3 due Wednesday
Jeremy R. Johnson Wed. Sept. 29, 1999
Fundamentals & Ethics of Information Systems IS 201
CSE 140 Lecture 12 Combinational Standard Modules
Basics Combinational Circuits Sequential Circuits
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
ASIC 120: Digital Systems and Standard-Cell ASIC Design
Computer Science 210 Computer Organization
Logic operations.
CS M51A/EE M16 Winter’05 Section 1 Logic Design of Digital Systems Lecture 15 March 9 W’05 Yutao He 4532B Boelter Hall
Lecture 8 Logistics Last lecture Last last lecture Today
Week 7: Gates and Circuits: PART II
Digital Logic.
Logic operations.
Logic Gates.
Digital Logic.
DIGITAL ELECTRONICS B.SC FY
Electronics for Physicists
Digital System Design Combinational Logic
ECE2030 HW-6.
Presentation transcript:

CS 300 – Lecture 3 Intro to Computer Architecture / Assembly Language Digital Design II

Free Food! Today: Presidents BBQ 1 week: Math dept (Keck's place) 2 weeks: CIS dept (My place) I encourage all of you to come!

Homework 2 It's in the wiki

Homework 1 Due tomorrow. Morning. I need details! One line answers probably won't cut it. A little analysis is important.

Essential Skills * Rewriting of boolean equations using Boolean Algebra * Creating SOP equations * Conversion between truth tables, equations, and circuits

Circuit Minimization One of the big ideas in circuit design is the use of boolean algebra to rewrite equations to ones that use fewer gates or have less delay. The main minimization equation is AB + AB' = A(B+B') = A Let's construct a truth table for a "Full Adder" and then minimize the "Carry". We won't learn how to minimize in a systematic way – computers can do this better than you!

Universality Turing described a "universal machine" – a computer that is as simple as possible and yet can do anything that more complex computers can. In digital logic, there is a similar idea: a universal gate. This can be used to construct ANY machine – no other gates are needed.

A Universal Logic Gate Nand: X Y Output ( 1 = True, 0 = False) How do we make And, Or, and Not from this?

SOP and Hardware Using NAND is particularly useful when a circuit is in SOP form. What does SOP look like using only NAND gates? We'll stick with AND/OR but the actual circuits are generally with NAND only. A PLA is a device that implements large SOP circuits in a very compact manner A ROM is a direct encoding of a truth table

Binary Numbers Everyone here should already know their Base-2 numbers. If you can't do 4 bit numbers fast you're not a true CS major!

Bigger Structures (Design Patterns) There are a number of common structures that occur in combinatory circuits. Multiplexer: (MUX) Select from a number of different inputs: lots of inputs, a control, and an output that matches one input Demultiplexer (DeMux): This is the opposite of a MUX – send a single input to a bunch of different places depending on a control. Send "0" when the output is not selected.

A 4-1 MUX MUX Output Select A B C D

A Shifter Let's design a 1 bit shifter using a MUX. When the control is 0, we get the data unaltered. When control is 1, we get left shifted data. We'll design this with a 16 bit input – our "word" size. How do you convert a 1 bit MUX to a 16 bit MUX? Does this go slower than the 1 bit MUX?

Algorithm Design Hardware algorithms are similar to software ones but we judge them differently: * Number of gates * Overall delay There are algorithms for all sorts of numeric operations.

Divide and Conquer D&C is a classic schema for algorithm design. Why? Let's look at the design of an important and common circuit: a barrel shifter. Shifter Shifted Output (16 bits) Shift Count How many bits? Input: 16 bits