Unit 2 - Chapter 5 Flashcards
Functional Units
It is important to study computers as collections of functional units or subsystems that perform tasks such as instruction procession, information storage, computation and data transfer.
Computer organization
the branch of computer science that studies computers in terms of their major functional units.
Reminder about transistors
transistors are grouped into gates, and gates into circuits
Von Neumann Architecture
the structure and organization of virtually all modern computers are based on a single theoretical model of computer design called the Von Neumann Architecture
Von Neumann
created programing as we know today by proposing the design for a stored program computer in 1946
The Von Neumann Architecture is based the following three characteristics.
- Four Major subsystems called memory, input/output, arithmetic/logical unit ( ALU), and the control unit. The ALU and the control unit are often bundled together in what is called the Central Processing Unit ( or CPU).
- The stored program concept, in which the instructions to be executed by the computer are represented as binary values and stored in memory.
- The sequential execution of instructions, in which one instruction at a time is fetched from memory and passed to the control unit, where it is decoded and executed.
Memory
the functional unit of a computer that stores and retrieves the instructions and the data being executed.
Random Access Memory ( RAM)
Computer memory uses an access technique called random access and the memory unit is frequently referred to as random access memory ( RAM)
Characteristics of RAM
- Memory is divided into fixed-size units called cells
- ** Each cell is associated with a unique identifier called an address.
- ** All accesses to memory are to a specified address, and we must always fetch and store a complete cell _ that is, all the bits in that cell. The cell is the minimum unit of access. The time it takes to fetch or store the contents of a cell is the same for all the cells in memory.
Read-Only memory ( ROM)
Random access memory into which information has been prerecorded during manufacture. This information cannot be modified or removed, only fetched. ROM is used to hold important system instructions and data in a place where a user cannot accidentally or intentionally overwrite them.
The cell size
the number of bits per cell also called the memory width.
The value 2^n is called
the maximum theoretical memory size or the address space of the computer
2^n representas
the maximum theoretical memory size; a computer with N address bit does not necessarily come equipped with 2^n memory cells. It simply means that its memory can be expanded to 2^n
When dealing with memory, it is important to keep in mind the distinction between
an address and the contents of that address.
The 2 basic memory operations are
fetching and storing
value = Fetch ( address) meaning…
Fetch a copy of the contents of the memory all with the specified address and return those contents as the result of the operation. The original contents of the memory cell that was accessed and unchanged. This is called a nondestructive fetch.
Store ( address,value) meaning…
Store the specified value into the memory cell specified by the address. The previous contents of the cell are lost. This is termed a destructive store.
In RAM => The time to carry either a fetch or a store operation
is the same for all 2^n addresses.
Fetching and store are only allowed
to an entire cell. The cell is the minimum accessible unito of memory.
If we want to modify a single bit of memory…
we first need to fetch the entire cell containing that bit, change the one bit, and then store the entire cell.