Module 2 Flashcards

(18 cards)

1
Q

Why are RISC systems advantagous for real-time systems (3)?

A

Shorter instructions

  • > shorter interrupt handler
  • > shorter response times
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How is programmed I/O implemented? (3)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the advantages of programmed IO on low end and high end microcontrollers? (2)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Distinguish the von Neumann architecture from the Harvard Architecture (2)

A

Harvard architecture has separate instruction/data buses allowing parallel instruction fecting and data load/store

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the Harvard architecture popular for? (1)

A

Signal processors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the 5 phases of an instruction cycle?

A
Fetch
Decode
Load
Execute
Store
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the 9 principles of CISC architecture?

A
  1. Complex instructions take multiple clock cycles.
  2. Practically any instruction can reference memory.
  3. No instruction pipelining.
  4. Microprogrammed control unit.
  5. Large number of instructions.
  6. Instructions are of variable format and length.
  7. Great variety of addressing modes.
  8. Single set of work registers.
  9. Complexity handled by the microprogram and hardware.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does polling interrupt work?

A

Software checks status register regularly for activity in peripheral

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the tradeoff to be made with interrupt polling?

A

CPU utilisation factor vs. IO latency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a singe-event upset (4) and how do you mitigate it?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When is DMA needed?

A

Transferring large blocks of data efficiently

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe the process for DMA (5)

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are four different types of digital signals?

A

Parallel, serial, wave, pulse

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Distinguish a microprocessor from a microcontroller? (3)

A

Microcontrollers are newer techcnology
They are single-chip computers with memory and peripherals in their integrated circuit
whereas microprocessors use external memory and peripherals

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In what situations are custom microcontollers developed? (3)

A

to save space
low-power systems
for high volume products

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the downside of using custom microcontrollers? (3)

A

lengthy verification phase
unchangeable
unless EEPROM is used, in which case software can be changed in fixed memory space

17
Q

What is a system-on-chip? (1)

A

core processor integrating non-digital components

18
Q

What is a system in package? (2)

A

Several integrated circuits grouped together in one package.
They are too diverse to produce an SoC.