Computer-Science
Von Neumann Architecture
- Uses one memory location for both data and instructions.
- Requests next instruction/data from memory with unidirectional address bus.
- Data or instructions are sent to the CPU via the data bisectional bus. The SPU can send data to be stored in memory via this.
The CPU
- ALU
- Performs calculations.
- Control Unit (CU)
- Fetches and decodes instructions.
- Issue control signals to hardware.
- Regulate timing using clock.
- Clock
- Rapidly alternate between 1 and 0 to sync all CPU operations.
- Registers
- Used to store small amounts of data that are needed during processing such as
- The address of the next instruction.
- The current instruction.
- Result of calculations.
- Special registers include:
- Program Counter.
- Memory Address Register.
- Current Instruction Register.
- Memory Buffer Register.
- Status Register.
- Accumulator.
- Bus
- Collection of parallel wires to pass data between components.
Fetch, Decode, Execute Cycle
- Fetch
- The address of the next instructions is fetched from the program counter register.
- The program counter is incremented by 1 to point to the next instruction.
- The instruction is fetched from memory.
- Instruction is put in current instruction register.
- Decode
- The instruction is decoded by the control unit
- Execute
- Instruction is executed.
Memory and Storage
SSD
- Uses flash memory consisting of parallelly wired NOR gates or serially wired NAND gates.
- Comprised of floating gate transistors.
- Current is passed along the bit and word line to activate flow of electrons from source to drain.
Magnetic
- Contains platters/discs.
- Coated in a special magnetic coating.
- Binary data represented by changing magnetic orientation.
- Read write head for each side of the plater.
Optical
- Data ais stored on a single spiral track.
- Disk rotates at a high speed.
- Laser head moves across the radius of disc.
- Made of pits and land.
- Change form pit to land or vice versa is a 1 as light is reflected differently.