Question: a ) An embedded system using a microcontroller ( Eg: Motorola 6 8 HC 1 2 microcontroller ) with 1 6 address lines has a

a) An embedded system using a microcontroller(Eg: Motorola 68HC12 microcontroller) with 16 address lines
has a byte addressable/organized memory. The main memory is of the maximum allowable limit. It has a
direct mapped data cache, with 8 lines, with each line consisting of 16 bytes. How many bits of address are
used for the tag fields? What is the size of the cache (used only for storing data)
b) In an IoT system, which utilizes cache, If we want an average memory access time of 6.5 ns, if cache
access time is 5ns, and the main memory access time is 80 ns, what cache hit rate must we achieve for the
cache implementation to be worthwhile?
c) Mention the steps involved in a Write back, write allocate cache when the STR R1,[R2] instruction is
executed . Assume that the instruction cause write miss.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!