1/21/2009
Binary Fractions
Floating Point Representation
COMP370 Introduction to Computer Architecture
Each position is twice the value of the position to the right. t th i ht 23 8 1 22 4 1 21 2 1 20 1 0 . . . 21 22 23 1/2 1/4 1/8 0 1 0
Adding the powers
2/4/2009
DifficultTextbookTopics
BooleanLogic
COMP370 IntroductiontoComputerArchitecture
HowtousetheBooleanIdentitiestosimplify logicequations l i ti Idon'tfullyunderstandtheimplementationof thebruteforcemethod Determiningwhichidentitylawswereusedin each
Compression Compression and and Graphics G hi
COMP370 IntrotoComputerArchitecture
Pictures
Vector Picturesaredrawnasaseriesof lines.ThehardwaredrawsalinefrompointA p topointB. Raster Pictures are represented as a matrix Raster Picturesarerepresentedasama
CharacterRepresentation
2/2/2009
GoalsforToday
Characters h
COMP370 IntroductiontoComputerArchitecture I t d ti t C t A hit t
Understandhowcharacterdataisrepresented anddisplayed. d di l d
BitsareBits
Abunchofbitscanrepresentmanythings, numbers,logicalv
Introduction
LOGIC GATES
COMP370 Introduction to Computer Architecture
Basic Logic Gates Truth Tables Logical Functions
Truth Tables Logical Expression Graphical Form G hi l F
Most Difficult Reading Topics
Logic gates and figuring out how to read them t
Number Representations
How do we represent data in a computer?
At the lowest level, a computer is an electronic
machine.
works by controlling the flow of electrons
y
g
Number Representation
Easy to recognize two conditions:
1. presence of a voltage wel
Arithmetic Circuits
Goal for Today
Arithmetic
COMP375 Computer Architecture and O d Organization i ti
Create logic gates that perform arithmetic
Elementary School
17 +7 24 010001 +000111 011000
1 Bit Adder
A one bit adder has three inputs, numbers A and
Karnaugh Maps
2/10/2009
Logic Simplification
Digital Logic
COMP370 Introduction to Computer Architecture
It is frequently possible to simplify a logical p expression. This makes it easier to understand and requires fewer gates to implement. There are sev