A mechatronics project based on general microcontroller has 8 bit data bus and 16 bit address bus. It is required to have access to the following devices:
? 1 Rom of size 8 Kbytes
? 1 RAM of size 16 Kbytes
? 4 Analog to digital converter. Each one has a data bus of 1 byte and register space of 8 data bytes
? 1 Digital to analog converter that has 8 bits data.? 4 display LEDs and 4 different sound alarms.
Draw the address and memory map of the embedded system.(4+4+4+4+4 points)
Device |
A15 |
A14 |
A13 |
A12 |
A11 |
A10 |
A9 |
A8 |
A7 |
A6 |
A5 |
A4 |
A3 |
A2 |
A1 |
A0 |
Hex Address |
ROM 8K |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
Starting Address 0x0000 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
End Address 0x1FFF |
|
RAM 16K |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
Starting Address 0x4000 |
0 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
End Address 0x7FFF |
|
ADC1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
Starting Address 0xC000 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
End Address 0xC007 |
|
ADC2 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
Starting Address 0xC008 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
End Address 0xC00F |
|
ADC3 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
Starting Address 0xC010 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
1 |
1 |
End Address 0xC017 |
|
ADC4 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
0 |
Starting Address 0xC018 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
1 |
End Address 0xC01F |
|
DAC |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
Address 0xC020 |
LED/Alarm |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
0 |
0 |
1 |
Address 0xC021 |
A mechatronics project based on general microcontroller has 8 bit data bus and 16 bit address...
Problem #1 (25 points) Address Space, Memory Consider a hypothetical 18-bit processor called HYP18 with all registers, including PC and SP, being 18 bits long. The smallest addressable unit in memory is an 8-bit byte. A. (4 points) What is the size of HYP18's address space in bytes and KB? How many address lines does HYP18 require? Address space: Bytes Address space: KB (KiloBytes). Address bus lines: B. (6 points) Assume that first quarter of the address space is dedicated...
Design a computer system with an 8-bit address bus, an 8-bit data bus and it uses isolated I/O. It has: 1128 bytes of PROM starting at address 00H (H meaning in hexadecimal) constructed usin ( one 64x8 chip and multiple 32x2 chips; g (2) 96 bytes of RAM constructed 32x4 chips; (3) an output device with a READY signal at address ABH; (4) an input device with a READY signal at address CDH; (5) a bidirectional input/output device with a...
The handheld in previous question uses a microcontroller with a 12‐bit address bus. The memory chips selected have a size of 4K×4 bits. If the handheld device is to have a maximum amount of addressable memory, how many memory chips are required per device?
A computer with a 24‐bit address bus has a main memory of size 16 MB and a cache size of 64 KB. The word length is two bytes. a. What is the address format for a direct mapped cache with a line size of 32 words? b. What is the address format for a fully associative cache with a line size of 32 words? c. What is the address format for a 4‐way set associative cache with a line size...
Design a 4KB memory system that has 16-bit data bus and 16-bit address bus, using 1024x8 chips. Draw the chips, address connections, data connections, CS logic (active low).
Given a computer with 16-bit data bus and 20-bit address bus, what is the maximum memory capacity? Design the memory using the 128k × 8 memory chip shown below. zy Unwersityof North Cao Git Immersion Indwidua welcome tothe UNC Ch x Individual Assgrment 3 x C file:///C/Users/brute/Dow nloads/HW3.pd Apps Web Authentication Welcome to Moodle Welcome to the Canv Zy Home zyBooks Hw3.pdf Address Chip select Read/Write' 128K x 8 Dot RAM Ask me anything 654 PM 3/14/2017
a) A memory unit has 28-bit address lines and 64-bit input/output data lines. How many bytes of data can this memory hold? How many words does it contain, and how large is each word? b) A memory unit consists of 32M words of 16-bit each. How many bits wide address lines and input-output data lines are needed to access this memory? c) A memory unit consists of 512K bytes of data. How many bits wide address lines are needed to...
Which BUS defines the size of the processor? a. The system bus. b. The data bus. c. The address bus. d. The control bus. What are the two main parts, the 8086 CPU is divided into? a. Control Unit and Registers. b. ALU and Control Unit. c. Memory and I/O. d. Bus interface unit (BIU) and Execute unit (EU). Typically, a BUS consists of multiple communication paths or lines. Each line is capable of transmitting a signal representing binary 1...
A computer has a memory space of 16 GB. a) How many address lines are required to span this address space, assuming it is byte- addressed? b) This computer has a block of 4 GB 32-bit-wide memory built using 512 MB static RAM chips that are each 8 bits wide. How many RAM chips are required to implement the memory?
Question 3. A computer has a memory space of 16 GB. a) How many address lines are required to span this address space, assuming it is byte- addressed? b) This computer has a block of 4 GB 32-bit-wide memory built using 512 MB static RAM chips that are each 8 bits wide. How many RAM chips are required to implement the memory?