Certify66
← Back to Digital Techniques / Electronic Instrument Systems
Section 5.6

Basic Computer Structure

Familiarisation with computer terminology, the CPU, memory and input/output blocks, the three buses, and which memory types keep their contents without power.

Notes

Basic computer structure, summary notes

Main ideas
  • A computer has four functional blocks: input, the central processing unit (CPU), memory, and output. The CPU itself contains the arithmetic and logic unit (ALU), the control unit and the registers.
  • Three buses interconnect them: the ADDRESS bus (unidirectional, CPU → memory, selects a location), the DATA bus (bidirectional, carries the contents) and the CONTROL bus (read/write, clock, interrupt, reset).
  • The width of the address bus fixes how much memory can be addressed, n address lines reach 2ⁿ locations. The width of the data bus fixes how many bits move at a time.
  • RAM is volatile read/write working memory and loses its contents at power-off. Static RAM holds data in flip-flops; dynamic RAM stores it as charge and must be refreshed.
  • The ROM family is non-volatile: ROM is masked at manufacture, PROM is one-time programmable, EPROM is erased by ultraviolet light, EEPROM and Flash are erased and rewritten electrically, which is what makes on-aircraft data loading possible.
  • Software is loaded and configuration-controlled; the aircraft data loader writes to non-volatile memory so the loaded part number survives a power cycle.
  • ⚠ Exam trap: "volatile" refers to loss of data at power-off, not to how quickly it can be changed. EEPROM is electrically erasable but still non-volatile.
Key formulas
Addressable locations
locations = 2ⁿ for n address lines
Bus directions
address = unidirectional · data = bidirectional · control = mixed
Byte multiples
1 byte = 8 bits · 1 kB = 1024 bytes
Solved examples
  1. A processor has a 16-bit address bus and an 8-bit data bus. How much memory can it address, and in what size chunks?

    2¹⁶ = 65 536 locations. With an 8-bit data bus each location holds one byte, so the addressable memory is 64 kB, transferred one byte at a time.

  2. A fault report says an LRU "lost its configuration after a power interruption". Which memory type is implicated?

    The configuration was being held in volatile memory (RAM) instead of a non-volatile device such as EEPROM or Flash, either a battery/keep-alive supply has failed or the write to non-volatile memory did not complete.

Mind map

Computer structure concept map

Basic Computer Structure

Quiz

Basic computer structure quiz

Basic Computer Structure, quiz (Level 1)

Ref 5.6Pass 75%
  1. 1. CPU stands for:

    Central processing unit
    Computer power unit
    Control panel unit
  2. 2. The three buses in a computer are address, data and:

    Control
    Power
    Clock
  3. 3. Which memory loses its contents when power is switched off?

    RAM
    ROM
    Flash
  4. 4. ROM stands for:

    Read only memory
    Rapid operating memory
    Reset output module
  5. 5. The address bus is used to:

    Select which memory location is being used
    Carry the data itself
    Supply the clock signal
  6. 6. The part of the computer that performs calculations is the:

    Arithmetic and logic unit
    Data bus
    Input/output section
  7. 7. One byte is made up of:

    8 bits
    2 bits
    16 bits
  8. 8. Software can be loaded onto an aircraft LRU because it uses:

    Electrically erasable non-volatile memory
    Volatile RAM only
    Mechanical switches