Question

Q2. (4 pts) A certain microprocessor (uP) has a 37-bit address bus and a 32-bit wide...

Q2. (4 pts) A certain microprocessor (uP) has a 37-bit address bus and a 32-bit wide data bus. Here, similar to Q1, we are using byte packing, that is, we should be able to access each byte in the memory. Assume that you are using a memory chips organized as 128K by 8 bits.

Q2-1.Divide the 37-bit address lines into page number bits, offset bits and byte address bits.

Q2-2.How many 128K by 8 memory devices would you need to completely fill the memory space of this processor?

Q2-3.Complete the following table for the corresponding pages of memory. You should write an absolute address in hexadecimal.

Page (decimal)

Starting Address (hex)

Ending Address (hex)

0

0000000

7FFFF

50

1,000

  

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Q2-1) 37 bit address line can access 237 bytes of memory.

each page has a memory of 512KB derived from Q2-3

so offset bits would be 512KB/128KB = 4 = 22 --- SO 2 bits will be offset bits.

Byte Address Bits will be 128K = 27  * 210 = 219 -- so 17 bits will be for address bits

37-17-2 = 18 bits will be used for page number bits

Q2-2) memory space will be 237

number of 128K by 8 bits required are = 237/ 217  = 220


convert into decimal and then convert them into hexadecimal for easeQ2-3)

7FFFF - 524287

so next starting will be 524288 so for 50 page will be = 524288*50 = 26214400 conevrting into hex we get 1900000

similarly for 1000 it will be 524288 *1000 = 524288000

similarly for 1048575 it will be 524288*1048575 = 549755289600

ending in decimal is 524287 so for 50 page it will be = 524287 * 51 = 26738637 converting into hex we get

similarly for 1000 we get 524287*1001 = 524811287 into hex 1F47FC17

similarly for 1048575 we get 524287*1048576 = 549754765312 into hex 7FFFE80001

Page (decimal)

Starting Address(hex) Ending Address(hex)

0

0000000 7FFFF
50 1900000 197FFCD
1000
1F400000
1F47FC17

Hoping so you got the answer so please like and comment the answer so that we can do more

Add a comment
Know the answer?
Add Answer to:
Q2. (4 pts) A certain microprocessor (uP) has a 37-bit address bus and a 32-bit wide...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Consider the page table shown below for a system with 16-bit virtual and physical addresses and...

    Consider the page table shown below for a system with 16-bit virtual and physical addresses and with 4096-byte pages. All numbers below are given in hexadecimal. (A dash for a page frame indicates that the page is not in memory.) Page Number Physical Frame Number 0 - 1 2 2 C 3 A 4 - 5 4 6 3 7 - 8 B 9 0 How many bits are in the offset part of the address? How many hex digits...

  • Exercise l: Suppose that we have a virtual memory space of 28 bytes for a given process and physical memory of 4 page frames. There is no cache. Suppose that pages are 32 bytes in length. 1) How...

    Exercise l: Suppose that we have a virtual memory space of 28 bytes for a given process and physical memory of 4 page frames. There is no cache. Suppose that pages are 32 bytes in length. 1) How many bits the virtual address contain? How many bits the physical address contain? bs Suppose now that some pages from the process have been brought into main memory as shown in the following figure: Virtual memory Physical memory Page table Frame #...

  • Consider a virtual memory system with the following properties: 36 bit virtual byte address, 8 KB...

    Consider a virtual memory system with the following properties: 36 bit virtual byte address, 8 KB pages size, and 32 bit physical byte address. Please explain how you determined your answer. a. What is the size of main memory for this system if all addressable frames are used? b. What is the total size of the page table for each process on this processor, assuming that the valid, protection, dirty, and use bits take a total of 4 bits and...

  • 3. (15 Pts.) In this problem you are given a microprocessor with 24-bit address bus and...

    3. (15 Pts.) In this problem you are given a microprocessor with 24-bit address bus and 8-bit data bus. a. What is the addressing space of this microprocessor? 113 16 MB b. how many bytes are contained in the sub-space starting at address C00 000h and ending at address DFF FFFH? Express your answer in KB and MB. DFFFEE CoO DOU - TFFFFF in ke 20 4SKe c. You would like to interface a single 4 MB memory IC to...

  • Exercise 1. What is the size of the memory for the microprocessor if it has 24-bit...

    Exercise 1. What is the size of the memory for the microprocessor if it has 24-bit address lines (bus)? Furthermore, give the starting address and the last address of the memory. 2. List the operation modes of the ARM Cortex-M3. 3. What is the function of register R13? Register R14? Register R15? 4. On an ARM Cortex-M3, in any given mode, how many registers does a programmer see at one time? 5. Which bits of the ARM Cortex-M3 status registers...

  • A mechatronics project based on general microcontroller has 8 bit data bus and 16 bit address...

    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...

  • 6) Paging [26 pts] Suppose you have a computer system with a 38-bit logical address, page size of 16K, and 4 bytes per...

    6) Paging [26 pts] Suppose you have a computer system with a 38-bit logical address, page size of 16K, and 4 bytes per page table entry a) How many pages are there in the logical address space? Suppose we use two level paging and each page table can fit completely in a frame. [4 pts] How many pages? [2 pts] Show your calculations here: b) For the above-mentioned system, give the breakup of logical address bits clearly indicating number of...

  • please answer $5 UXIF map in the computer uses direct mapping Question 18 5 pts Suppose...

    please answer $5 UXIF map in the computer uses direct mapping Question 18 5 pts Suppose we have a byte-addressable computer using 2-way set associative mapping with 16-bit main memory addresses and 32 blocks of cache. Suppose also that each block contains 8 bytes. The size of the block offset field is bits, the bits. size of the set field is bits, and the size of the tag field is 5 pts Question 19 Suppose we have a byte-addressable computer...

  • Problem #1 (25 points) Address Space, Memory Consider a hypothetical 18-bit processor called HYP18 with all...

    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...

  • Please use the python to write Assume that a system has a 32-bit virtual address with...

    Please use the python to write Assume that a system has a 32-bit virtual address with a 4-KB page size. Write a program that is passed a virtual address (in decimal) on the command line and have it output the page number and offset for the given address. As an example, your program would run as follows: ./addresses 19986 Your program would output: The address 19986 contains: page number = 4 offset = 3602 Writing this program will require using...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT