Computer Logic and Digital Designrahimi/cs315/slides/Chapter 1.pdf · Computer Logic and Digital...
Transcript of Computer Logic and Digital Designrahimi/cs315/slides/Chapter 1.pdf · Computer Logic and Digital...
CS 315:Computer Logic and Digital Design
• An Overview of Computer Organization• Switches and Transistors• Boolean Algebra and Logic• Binary Arithmetic and Number Systems• Combinational Logic and Circuits• Sequential Logic and Circuits• Memory Logic Design• The DataPath Unit
An Overview of Computer Organization
Chapter 1
Some Definitions
or the Type of
Structure & Function
• Structure is the way in which components relate to each other
• Function is the operation of individual components as part of the structure
Function
• All computer functions are:– Data processing– Data storage– Data movement– Control
Functional view
• Functional view of a computer
DataMovementApparatus
ControlMechanism
DataStorageFacility
DataProcessingFacility
Operations (1)• Data movement
– e.g. keyboard to screen
DataMovementApparatus
ControlMechanism
DataStorageFacility
DataProcessingFacility
Operations (2)• Storage
– e.g. Internet download to disk
DataMovementApparatus
ControlMechanism
DataStorageFacility
DataProcessingFacility
Operation (3)• Processing from/to storage
– e.g. updating bank statement
DataMovementApparatus
ControlMechanism
DataStorageFacility
DataProcessingFacility
Operation (4)• Processing from storage to I/O
– e.g. printing a bank statement
DataMovementApparatus
ControlMechanism
DataStorageFacility
DataProcessingFacility
Structure - Top Level
Computer
Main Memory
InputOutput
SystemsInterconnection
Peripherals
Communicationlines
CentralProcessing Unit
Computer
Structure - The CPU
Computer Arithmeticand Login Unit
ControlUnit
Internal CPUInterconnection
Registers
CPU
I/O
Memory
SystemBus
CPU
Structure - The Control Unit
CPU
ControlMemory
Control Unit Registers and Decoders
SequencingLogin
ControlUnit
ALU
Registers
InternalBus
Control Unit
The Von Neumann Model
The System Bus Model
The Level of Machines
The Mother Board
SystemHierarchy in a System
SystemNAND Gate Example
SystemHardware Level Description
SystemLevels of Integration
Analog vs. DigitalA-To-D Conversion
Analog vs. DigitalBinary Signals
BinaryBinary Logic Levels
BinaryBinary Numbers
Numbers with Different Bases
Binary-Coded Decimal (BCD)