Module 2 Flashcards
(18 cards)
Why are RISC systems advantagous for real-time systems (3)?
Shorter instructions
- > shorter interrupt handler
- > shorter response times
How is programmed I/O implemented? (3)
Separate address space for I/O registers
Additional control signal to distinguish between IO and memory
Separate IN, OUT instructions needed for accessing IO registers
What are the advantages of programmed IO on low end and high end microcontrollers? (2)
Low end: Saves limited address space for memory components only
High end: Slower IO ports are placed in a different address space than the fast memory components, removing the need to compromise system bus speed
Distinguish the von Neumann architecture from the Harvard Architecture (2)
Harvard architecture has separate instruction/data buses allowing parallel instruction fecting and data load/store
What is the Harvard architecture popular for? (1)
Signal processors
What are the 5 phases of an instruction cycle?
Fetch Decode Load Execute Store
What are the 9 principles of CISC architecture?
- Complex instructions take multiple clock cycles.
- Practically any instruction can reference memory.
- No instruction pipelining.
- Microprogrammed control unit.
- Large number of instructions.
- Instructions are of variable format and length.
- Great variety of addressing modes.
- Single set of work registers.
- Complexity handled by the microprogram and hardware.
How does polling interrupt work?
Software checks status register regularly for activity in peripheral
What is the tradeoff to be made with interrupt polling?
CPU utilisation factor vs. IO latency
What is a singe-event upset (4) and how do you mitigate it?
One or more bits are flipped in the interrupt vector
Due to electromagnetic interference in main memory, system bus or registers
causes the system to run a phantom interrupt
causing the system to crash
Give every possible interrupt vector a corresponding ISR
When is DMA needed?
Transferring large blocks of data efficiently
Describe the process for DMA (5)
An I/O device requests DMA transfer by activating a DMA - request signal (D_REQ).
This makes the DMA controller issue a bus - request signal (B_REQ) for the CPU.
The CPU finishes its present bus cycle and activates a bus - acknowledgment signal (B_ACK).
After recognizing the active B_ACK signal, the DMA controller activates a DMA - acknowledgment signal (D_
ACK), instructing the I/O device to begin data transfer.
When the transfer is completed, the DMA controller deactivates the B_REQ signal, giving buses back to the CPU.
What are four different types of digital signals?
Parallel, serial, wave, pulse
Distinguish a microprocessor from a microcontroller? (3)
Microcontrollers are newer techcnology
They are single-chip computers with memory and peripherals in their integrated circuit
whereas microprocessors use external memory and peripherals
In what situations are custom microcontollers developed? (3)
to save space
low-power systems
for high volume products
What is the downside of using custom microcontrollers? (3)
lengthy verification phase
unchangeable
unless EEPROM is used, in which case software can be changed in fixed memory space
What is a system-on-chip? (1)
core processor integrating non-digital components
What is a system in package? (2)
Several integrated circuits grouped together in one package.
They are too diverse to produce an SoC.