Find Jobs
Hire Freelancers

Snoopy Cache Coherence Assignment

$25-50 USD / hour

Closed
Posted over 6 years ago

$25-50 USD / hour

Write a software simulator of an invalidate snoopy cache coherence protocol for a centralized shared memory multiprocessor with the following features: 1. 4 CPU nodes, each with private L1 data cache. 2. Cache organization: 64KBytes total capacity, 2-way set associative, 64-byte block size, 32-bit address space, uses MSI invalidate protocol described in class lecture. 3. Do not model data. Only address/tag and coherency state and bus transaction type. 4. Use OpenMP to develop your code. 5. Use one OpenMP thread for each CPU cache. 6. You do not need to model the DRAM since you are not modeling data, but only addresses and cache coherence state. 7. Simulator processes one miss at a time from start until completion. 8. Use a parallel for with an induction variable clk_count that increments on every loop iteration from a value of 1 until some very large value max_simulation_clk, large enough to complete processing all the input stimulus files posted with this assignment n Moodle. 9. Use a shared data object to represent centralized bus state. Bus state changes every clock, based on simulated cache misses and resulting cache coherent bus transactions. 10. Use a decentralized round robin priority/arbitration scheme to determine which cache can drive the bus (i.e., which cache can write the bus shared object on any given clock). Decentralized means every cpu observes its own request and requests from other cpus that want to drive the bus. They all determine in parallel the highest priority cpu that is making a request and that cpu wins priority to drive the bus. When a cpu wins the bus, it's priority is reduced to be the lowest priority cpu in the next arbitration cycle. 11. Use a synchronization barrier to make sure that every thread/cpu has already computed and driven it's request before all cpus proceed to compute the winner and the winner drives the bus.
Project ID: 15473150

About the project

2 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $47 USD/hour for this job
User Avatar
hi. i can do this project for proposed amount. i ll also need to spend some time in understanding openMP.
$50 USD in 10 days
4.9 (272 reviews)
6.9
6.9

About the client

Flag of LEBANON
Lebanon
0.0
0
Member since Oct 24, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.