Memory, Storage and I/O devices Flashcards

1
Q

What is the function of the memory unit

A

It stores binary instructions and data for the microprocessor

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

What must the MPU do to communicate with the memory

A

▶ Select the chip
▶ Identify the register
▶ Read from or write int the register.

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

Describe the memory unit and give an example

A

A memory unit is a circuit that can store bits-high or low.
Generally voltage levels or capacitive charge.
A flip flop or a latch is a memory unit

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

How is data written and read in a memory unit

A

Data is written through input data DIN. The chip is enable through pin EN
The data is read through pin DOUT

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

Describe the Flip-Flop or Latch as a four-bit register

A

see slide 47

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

Draw two different representations of a 4 X 8 bit register

A

see slide 48

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

Draw a 4 X 8 register with chip select

A

see slide 50

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

Illustrate R/W memory model and ROM model

A

see slide 51

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

Describe memory mapping

A

A memory map is a pictorial representation in which memory devices are located in the entire range of addresses for each memory device

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

Draw a Address map for 256 register memory

A

SEE SLIDE 55 AND 53

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

Describe the address map with a diagram showing how 1K (1024x8) memory is mapped. Show all the control signals

A

No answer

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

Describe Memory word size

A

Memory devices are available in various word sizes (1,4 and 8) and the size of the memory chip is generally specified in terms of the total number of bits it can store.
For instance a memory chip of size 1024 x 4 has 1024 registers and each register has 4 bits, thus it can store a total of 4096 = 1024x4 bits.

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

Calculate the number of memory chips needed to design 8K byte memory if the available chip size is 1024x1

A

No answer

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

What are the two types of peripheral devices

A

There are two different methods by which I/O devices can be identified one uses 8-bit address and the other uses 16-bit address namely.
▶ Peripheral-Mapped I/O (8bit)
▶ Memory mapped I/O (16bit)

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

Describe the Peripheral mapped I/O:

A

Here MPU use 8 bit address lines to
identify an input or an output device. The MPU can address up to 256 addresses.

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

Describe Memory mapped I/O

A

Here the MPU uses 16 address lines to identify an I/O device; an I/O is connected as if it is a memory
register.
The MPU uses the same control signal i.e memory read and memory write and instructions as those of the memory.