Find Jobs
Hire Freelancers

Computer Architecture

$30-250 USD

Em Andamento
Publicado há aproximadamente 9 anos

$30-250 USD

Pago na entrega
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.
ID do Projeto: 7427269

Sobre o projeto

5 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
A proposal has not yet been provided
$120 USD em 3 dias
4,7 (5 avaliações)
3,0
3,0
5 freelancers estão ofertando em média $128 USD for esse trabalho
Avatar do Usuário
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 em 5 dias
4,6 (4 avaliações)
2,9
2,9
Avatar do Usuário
I have read and fully understood your requirements. Please open chat to discuss further….. =================+++++++++++++++++++++++++======================
$133 USD em 3 dias
4,8 (2 avaliações)
2,9
2,9
Avatar do Usuário
A proposal has not yet been provided
$155 USD em 5 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Please a.d.d Me S.k.y.p.e I.d---sikerlop05 for more discus ===============================================================
$30 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
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 em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) SAUDI ARABIA
Saudi Arabia
0,0
0
Membro desde abr. 14, 2008

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.