Find Jobs
Hire Freelancers

Computer Architecture

$30-250 USD

W trakcie realizacji
Opublikowano około 9 lat temu

$30-250 USD

Płatne przy odbiorze
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.
Identyfikator projektu: 7427269

Informację o projekcie

5 ofert
Zdalny projekt
Aktywny 9 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
A proposal has not yet been provided
$120 USD w 3 dni
4,7 (5 opinii)
3,0
3,0
5 freelancerzy składają oferty o średniej wysokości $128 USD dla tej pracy
Awatar Użytkownika
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 w 5 dni
4,6 (4 opinii)
2,9
2,9
Awatar Użytkownika
I have read and fully understood your requirements. Please open chat to discuss further….. =================+++++++++++++++++++++++++======================
$133 USD w 3 dni
4,8 (2 opinii)
2,9
2,9
Awatar Użytkownika
A proposal has not yet been provided
$155 USD w 5 dni
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
Please a.d.d Me S.k.y.p.e I.d---sikerlop05 for more discus ===============================================================
$30 USD w 1 dzień
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
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 w 3 dni
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga SAUDI ARABIA
Saudi Arabia
0,0
0
Członek od kwi 14, 2008

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.