1 Digital Design and Computer Architecture Lecture 1 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier, 2007.

Slides:



Advertisements
Similar presentations
Number Bases Informatics INFO I101 February 9, 2004 John C. Paolillo, Instructor.
Advertisements

Lecturer: Omid Jafarinezhad Sharif University of Technology Department of Computer Engineering 1 Fundamental of Programming (C) Lecture 2 Number Systems.
CS 151 Digital Systems Design Lecture 3 More Number Systems.
CSE 171 Introduction to Digital Logic and Microprocessors Prof. Richard E. Haskell 115 Dodge Hall.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Assembly Language for Intel-Based Computers, 5 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify.
Digital Circuits. Analog and Digital Signals Noise margins in Logic Circuits VMVM.
ENGIN112 L3: More Number Systems September 8, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 3 More Number Systems.
Introduction to Number Systems
Binary, Decimal, & Hexadecimal Numbers
Prof. Hakim Weatherspoon CS 3410, Spring 2015 Computer Science Cornell University See: P&H Chapter 2.4, 3.2, B.2, B.5, B.6.
Codes and number systems Introduction to Computer Yung-Yu Chuang with slides by Nisan & Schocken ( ) and Harris & Harris (DDCA)
COMP201 Computer Systems Number Representation. Number Representation Introduction Number Systems Integer Representations Examples  Englander Chapter.
+ CS 325: CS Hardware and Software Organization and Architecture Integers and Arithmetic.
+ CS 325: CS Hardware and Software Organization and Architecture Exam 1: Study Guide.
Assembly Language for Intel-Based Computers, 5 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify.
Computer Systems 1 Fundamentals of Computing Negative Binary.
ECE 2110: Introduction to Digital Systems Signed Number Conversions.
Lecture 1. Number Systems Prof. Taeweon Suh Computer Science Education Korea University ECM585 Special Topics in Computer Design.
CSU0014 Assembly Languages Homepage: Textbook: Kip R. Irvine, Assembly Language for Intel-Based Computers,
Summer 2014 Chapter 1: Basic Concepts. Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Chapter Overview Welcome to Assembly Language.
Assembly Language for x86 Processors 7th Edition
Basic Arithmetic (adding and subtracting)
Digital Electronics and Computer Interfacing Tim Mewes 3. Digital Electronics.
ECEN2102 Digital Logic Design Lecture 1 Numbers Systems Abdullah Said Alkalbani University of Buraimi.
CSE 111 Representing Numeric Data in a Computer Slides adapted from Dr. Kris Schindler.
Logic Design Dr. Yosry A. Azzam. Binary systems Chapter 1.
Number Systems. Today Decimal Hexadecimal Binary –Unsigned Binary –1’s Complement Binary –2’s Complement Binary.
مدار منطقي مظفر بگ محمدي Course Structure & Grading Homework: 25% Midterm: 30% Final:50% There is 5% extra! ( =105!) Textbook:
Lecture 4 Last Lecture –Positional Numbering Systems –Converting Between Bases Today’s Topics –Signed Integer Representation Signed magnitude One’s complement.
Engineering 1040: Mechanisms & Electric Circuits Spring 2014 Number Systems.
1-1 Lecture 1 Class Overview and Appendix A -- Number Systems.
CPU Internal memory I/O interface circuit System bus
Introduction to Computing Dr. Nadeem A Khan. Lecture 10.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Lecture 2 Binary Values and Number Systems. The number 943 is an example of a number written in positional notation. The relative positions of the digits.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
Chapter 19 Number Systems. Irvine, Kip R. Assembly Language for Intel-Based Computers, Translating Languages English: Display the sum of A times.
التحليل والتصميم المنطقي DIGITAL DESIGN Instructor : Khalil Alsulbi Mobile : Room : 217.
1 Transistors, Boolean Algebra Lecture 2 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier, 2007.
Chapter 2 Bits, Data Types, and Operations. 2-2 Hexadecimal Notation It is often convenient to write binary (base-2) numbers as hexadecimal (base-16)
Kavita Bala CS 3410, Spring 2014 Computer Science Cornell University.
Chapter 1 Digital Design and Computer Architecture, 2nd Edition
Digital Representations ME 4611 Binary Representation Only two states (0 and 1) Easy to implement electronically %0= (0) 10 %1= (1) 10 %10= (2) 10 %11=
NUMBER SYSTEMS.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
CDA 3100 Fall2009. Special Thanks Thanks to Dr. Xiuwen Liu for letting me use his class slides and other materials as a base for this course.
Chapter 1 Computer System Architectures Chapter 1 Based on Digital Design and Computer Architecture, 2 nd Edition David Money Harris and Sarah L. Harris.
1 Digital Logic Design Lecture 2 More Number Systems/Complements.
Introduction Digital Computer Design Instructor: Kasım Sinan YILDIRIM.
In decimal we are quite familiar with placing a “-” sign in front of a number to denote that it is negative The same is true for binary numbers a computer.
Number Representation (Part 2) Computer Architecture (Fall 2006)
Number Representation 1 Lecture 2. Outcomes By the end of the session you should: – Understand what bits/bytes/words are. – Understanding conversion between.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
CSE370, Lecture 2 Lecture 2: Number Systems  Logistics Webpage is up! HW1 is posted on the web in the calender --- due.
Chapter 1 Digital Design and Computer Architecture: ARM® Edition
Design of Digital Circuits Reading: Binary Numbers
Negative Binary Numbers
Chapter 1 Digital Design and Computer Architecture, 2nd Edition
Negative Binary Numbers
CSE 102 Introduction to Computer Engineering
Computer Architecture Syllabus
University of Gujrat Department of Computer Science
TAO1221 COMPUTER ARCHITECTURE AND ORGANIZATION LAB 6
Fundamentals of Digital Logic and Number Systems
CSE 370 – Winter Number syst.; Logic functions- 1
Lecture 0: Introduction
Presentation transcript:

1 Digital Design and Computer Architecture Lecture 1 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier, 2007

2 Logistics Handouts: –Syllabus, Lecture Notes Lab 1 posted on the website: – Reading for next Monday (9/29: 點名 ) – , 1.9,

3 Overview More Logistics: –Course Objectives –Course Requirements –Schedule Digital Design –Managing Complexity –Number Systems –Logic Gates

4 Course Objectives To become a competent digital designer To learn to recognize and apply the principles of abstraction, modularity, hierarchy, and regularity in digital design To hone your debugging skills by designing, building, and testing digital circuits To design, build, and test your own clock To understand what’s under the hood of a computer To have fun while you’re doing it!

5 Course Requirements Class Participation –If you need to miss class, me beforehand Assignments: –Weekly problem sets (10%), due Monday Morning –Semester labs ( 電子鐘 15% + 組合語言程式 15%) –Reading Exams –Midterm (25%) –Final (35%) Team policy for bi-weekly discussion –(75% 個人成績 +25% 團體成績 ) for Midterm and Final –Number of team member 5~6, –Bonus for participation: +3; –leader +5

6 Syllabus Read the syllabus!

7 Digital Design General engineering principles for complex systems: –Abstraction –Discipline –The three -Y’s Hierarchy Modularity Regularity

8 Abstraction Hiding details when they aren’t important

9 Discipline Intentionally restricting your design choices (so that you can work more productively at a higher level of abstraction)

10 The Three -Y’s Hierarchy –Dividing a system into modules and submodules Modularity –Well-defined functions and interfaces Regularity –Uniformity, so modules can be easily reused

11 Digital Abstraction 1’s and 0’s bits: binary digit

12 Decimal numbers Binary numbers Number Systems

13 Decimal to binary conversion: –Convert to decimal Decimal to binary conversion: –Convert to binary Number Conversion

14 Hexadecimal Numbers Hex DigitDecimal EquivalentBinary Equivalent A B C D E F151111

15 Hexadecimal to binary conversion: –Convert 4AF 16 (0x4AF) to binary Hexadecimal to decimal conversion: –Convert 0x4AF to decimal Number Conversion

16 Bits, Bytes, Nibbles… Bits Bytes & Nibbles Bytes (how they are put in memory?)

17 Decimal Binary Addition

18 Add the following 4-bit binary numbers Binary Addition Examples

19 Signed Binary Numbers Sign and Magnitude: –1 sign bit, N-1 magnitude bits –Example: -5 = = Two’s Complement( why? ) –Same as unsigned binary, but most significant bit (msb) has value of -2 N-1 –Most positive 4-bit number: –Most negative 4-bit number:

20 “Taking the Two’s Complement” Reversing the sign of a two’s complement number Method: 1.Invert the bits 2.Add 1 Example: Reverse the sign of

21 Two’s Complement Examples Take the two’s complement of Take the two’s complement of 1010.

22 Two’s Complement Addition Add 6 + (-6) using two’s complement numbers. Add using two’s complement numbers.

23 Logic Gates

24 Two-Input Logic Gates

25 More Two-Input Logic Gates

26 Multiple-Input Logic Gates How about 4-input XOR?

27 Next Time Beneath the digital abstraction Transistors Boolean algebra