Memory, Storage and I/O devices Flashcards
What is the function of the memory unit
It stores binary instructions and data for the microprocessor
What must the MPU do to communicate with the memory
▶ Select the chip
▶ Identify the register
▶ Read from or write int the register.
Describe the memory unit and give an example
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 is data written and read in a memory unit
Data is written through input data DIN. The chip is enable through pin EN
The data is read through pin DOUT
Describe the Flip-Flop or Latch as a four-bit register
see slide 47
Draw two different representations of a 4 X 8 bit register
see slide 48
Draw a 4 X 8 register with chip select
see slide 50
Illustrate R/W memory model and ROM model
see slide 51
Describe memory mapping
A memory map is a pictorial representation in which memory devices are located in the entire range of addresses for each memory device
Draw a Address map for 256 register memory
SEE SLIDE 55 AND 53
Describe the address map with a diagram showing how 1K (1024x8) memory is mapped. Show all the control signals
No answer
Describe Memory word size
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.
Calculate the number of memory chips needed to design 8K byte memory if the available chip size is 1024x1
No answer
What are the two types of peripheral devices
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)
Describe the Peripheral mapped I/O:
Here MPU use 8 bit address lines to
identify an input or an output device. The MPU can address up to 256 addresses.