Question: Write a Verilog program which implements and tests a four element cache with four bit memory addresses in three configurations: 1. Direct mapped, 2. Two-way

 Write a Verilog program which implements and tests a four element

Write a Verilog program which implements and tests a four element cache with four bit memory addresses in three configurations: 1. Direct mapped, 2. Two-way set associative, and 3. Fully associative. The program reads a memory trace to test the configurations and report the number of of hits and misses. A LRU mechanism must be implemented for both the two-way and fully associative configurations. Write a Verilog program which implements and tests a four element cache with four bit memory addresses in three configurations: 1. Direct mapped, 2. Two-way set associative, and 3. Fully associative. The program reads a memory trace to test the configurations and report the number of of hits and misses. A LRU mechanism must be implemented for both the two-way and fully associative configurations

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!