Find Jobs
Hire Freelancers

Computer Architecture

$30-250 USD

Folyamatban
Kiadva ekkor: körülbelül 9 évvel ezelőtt

$30-250 USD

Teljesítéskor fizetve
Q1. Suppose that your processor has 4MB data cache and its block size is 64B. Physical address to access the memory is 52-bit wide (addr[51:0]). For each of the following cache structures, calculate TAG size. a) A direct-mapped cache implementation b) A 4-Way set associative cache implementation c) A fully associative cache implementation Q2. The following memory addresses are used consecutively by a running program (from left to right) (20 points) 2, 5, 6, 9, 21, 18, 20, 57, 10, 11, 5, 43, 6, 7, 10, 18 In each of the following Cache Structures, compute the number of hits, misses and the final value of each stored in each cache location. Each word is 1-byte. (a) Direct-mapped cache with four-word blocks and a total size of 16 words. (b) Fully-associative cache with four-word blocks and a total size of 16 words. (LRU replacement) Q3. Write a program to emulate the behavior of uniprocessor cache in any programming language of your choice (C++ or Java). The program gets the following parameters as input: BS: Cache block size (e.g. 8 means each block includes 8 words) CB: Number of cache blocks MMB: Number of main memory blocks WS: Size of each word in terms of bytes (e.g. 4 means that each word includes 4 bytes) AS: Associativity (Value of \\\\\\\'1\\\\\\\' denotes a direct mapped cache. Value of \\\\\\\'2\\\\\\\' denotes to 2-way set associative cache and 4 denotes to fully associative cache). AT: A sequence of memory address. Note that LRU method is used for cache replacement of fully-associative and set associative caches. You may need to maintain the status of how recently each block was used in a \\\\\"status array\\\\\" of usage of cache data. You can use this program to verify your answers to Question2. Note: 1- You should show the details for each questions (show steps). 2- without any plagiarism.
Projektazonosító: 7427269

A projektről

5 ajánlat
Távolról teljesíthető projekt
Aktiválva: 9 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
Neki odaítélve:
Felhasználó avatár
A proposal has not yet been provided
$120 USD 3 napon belül
4,7 (5 értékelés)
3,0
3,0
5 szabadúszó adott átlagosan $128 USD összegű árajánlatot erre a munkára
Felhasználó avatár
I have seen and understand all your requirements. I have very strong expertise in it although I have a great experience in it, I have intelligence, energy and integrity. Once give me work, I assure you , you'll surely like my work. Please open chat window to discuss further.
$200 USD 5 napon belül
4,6 (4 értékelés)
2,9
2,9
Felhasználó avatár
I have read and fully understood your requirements. Please open chat to discuss further….. =================+++++++++++++++++++++++++======================
$133 USD 3 napon belül
4,8 (2 értékelés)
2,9
2,9
Felhasználó avatár
A proposal has not yet been provided
$155 USD 5 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
Please a.d.d Me S.k.y.p.e I.d---sikerlop05 for more discus ===============================================================
$30 USD 1 napon belül
0,0 (0 értékelés)
0,0
0,0
Felhasználó avatár
Hi,Sir! We are computer science engineers with a back ground of architecture and we would love to work on your project, lets discuss it further via chat Thanks Kind regards Robin.
$263 USD 3 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

SAUDI ARABIA zászlója
Saudi Arabia
0,0
0
Tagság kezdete: ápr. 14, 2008

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.