Preview

CA Assignment 2

Satisfactory Essays
Open Document
Open Document
428 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
CA Assignment 2
CA Assignment 2

1. a) All arrays are read simultaneously. A cache read is a hit.

LRU:

Cache power usage= (4*5) + 20 +1 = 41 units.

FIFO:
Cache power usage= (4*5) + 20 = 40 units.

Random Replacement Policy: Replacement array is not accessed.

Cache power usage= (4*5) + 20= 40units.

b) Cache Read Miss

LRU: Cache power usage= (4*5) + 4 = 24units

FIFO: Cache power usage= (4*5) + 1= 21units

Random: Cache power usage= (4*5) = 20 units

c)

LRU:
Cache power usage= (4*5) + 26 = 46 units.
FIFO:
Cache power usage= (4*5) + 25 = 45 units.

Random Replacement Policy:

Cache power usage=(4*5) + 25 = 45units.

B11.

B12. Virtual Page accessed
TLB (hit or miss)
Page table (hit or fault)
1
miss fault 5 hit X
9
miss fault 14 miss fault
10
miss hit 6 miss hit
15
miss hit 12 miss hit
7
miss hit 2 miss fault

C1.

a) Data dependencies:
1. Data dependency for register R1 from LD to DASSI.
2. Data dependency for Register R1 from DADDI to SD.
3. Data dependency for Register R2 from DADDI to DSUB.
4. Data dependency for Register R4 from DSUB to BNEZ.

b)

Clock Cycle number

Instruction
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
LD
IF
ID
EX
MEM
WB

DADDI IF
S
S
ID
EX
MEM
WB

SD

IF
S
S
ID
EX
MEM
WB

DADDI

IF
ID
EX
MEM
WB

DSUB

IF
S
S
ID
EX
MEM
WB

BNEZ

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Microsoft. (2012, April 26). Window Server Creating A Site Link Design. Retrieved from Tech Net.Microsoft.com: http://technet.microsoft.com/en-us/library/cc732837(v=ws.10).aspx…

    • 670 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1330 Unit 4 Case Study

    • 359 Words
    • 2 Pages

    Let’s take an average page fault service time of 25 ms and a memory access time of 100 ns, then the effective access time in ns is effective access time = (1-p)*(100) +p(25 ms)…

    • 359 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Nt1310 Unit 5 Lab

    • 361 Words
    • 2 Pages

    1. What is the temperature and the frequency of the CPU processor in the following time intervals:…

    • 361 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Samuel Aggor CSC 1100 3/3/16 Assignment 5 Problem 1 a. Output: 3.94 b. Output: 6.67 c. Output: 15.00 d. Output: -35.00 e. Output: 0 Problem 2 a. Output: 62 b. Output: 20160 c. Output: 20 213837312 d. Output: 1 Problem 3 a. Func1 has two parameters. Func1 is an integer function. b. Func2 has three parameters. Func2 is a double function.…

    • 188 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Bcom 275 Assignment 1.1

    • 569 Words
    • 3 Pages

    The first misunderstanding is the most recent. I am a commercial insurance agent and I was speaking to a farm owner on his farm policy. The misunderstanding happened when I was trying to explain was co-insurance is on a building. In this example, I was the sender and the farmer was the receiver.…

    • 569 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Gac04 Final Project

    • 1522 Words
    • 7 Pages

    has an energy content of 145,000 Btu, the energy rate is (3.2 gallons per minute)(145,000…

    • 1522 Words
    • 7 Pages
    Good Essays
  • Good Essays

    Unit 6 Assignment 2

    • 878 Words
    • 4 Pages

    Without going into details regarding the theory of project risk management we present still, the definition of this concept as it is proposed by the Project Management Institute professionals who, in The Project Management Body of Knowledge Guide, [Duncan, W., R.,…

    • 878 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Acc 557 Assignment 2

    • 1149 Words
    • 5 Pages

    An international education company which send students to the U.S.A from Turkey. The exact definition of the company is based on Summer Work And Travel program. Let’s find the definition out with the help of 5W1H questions.…

    • 1149 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Assignment 2 Unit 29

    • 1973 Words
    • 8 Pages

    In this assignment the author will explain the contribution of complementary psychological theories to the understanding of two specific behaviours,…

    • 1973 Words
    • 8 Pages
    Powerful Essays
  • Better Essays

    1. PUE (Power usage effectiveness), the ratio of total facility energy to IT equipment energy within a data computer, which measures how much of the power is actually used by the computing equipment. It is an important place to start when considering how to reduce data center power consumption because it is one of the most effective metrics for measuring data center energy efficiency. PUE is calculated by taking the total power of consumed by a data center facility then dividing by the power consumed by the IT equipment. In practical terms, a PUE value of 1 means that all power going into the data center is being used to power IT equipment. Anything above a value of 1 means there is data center overhead required to support the IT load. Having a holistic understanding of a data center's energy consumption is a key first step in being able to determine the appropriate steps necessary to consider how to reduce data center power consumption. Therefore, the understanding how efficiently a data center operates is critical to ensure cost-effective operation. Since we pay for every watt of power entering the data center, every watt of overhead represents an additional cost. Reducing this overhead will reduce the overall operating costs for the data center. That is the reason why a data center manager should strive for in order to minimize cost of an operation.…

    • 1404 Words
    • 6 Pages
    Better Essays
  • Good Essays

    Power Consumption per day: 40 W × 15 HS ÷ 1000 = 0.6 degrees /watt…

    • 376 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    F0 0 R1 Loop R1 F2 R1 #8 ... F30 Register result status Clock 0 F0 R1 80 F2 F4 F6 F8 F10 F12 Fu Load=8,1 Add=3 Mult=4 SUBI/BNEZ=1 Store=3 Instruction status: ITER Instruction 1 LD F0 Exec Write Issue CompResult j k 0 R1 1 Vj S1 Vk Reservation Stations: Time Name Busy Add1 No Add2 No Add3…

    • 2916 Words
    • 12 Pages
    Satisfactory Essays
  • Good Essays

    pair, 16-bit data Load H and L registers direct LHLD 16-bit address 8085 Instruction Set Description This instruction copies the contents of the source register into the destination register; the contents of the source register are not altered. If one of the operands is a memory location, its location is specified by the contents of the HL registers. Example: MOV B, C or MOV B, M The 8-bit data is stored in the destination register or memory.…

    • 3241 Words
    • 13 Pages
    Good Essays
  • Powerful Essays

    Electronc Voting Machine

    • 13812 Words
    • 56 Pages

    List of Contents Abstract 1 1. Background 2 2. Microcontroller 9 2.1 Introduction 9 2.2 History 9 2.3 Definition of a Microcontroller 11 2.4 Microcontrollers vs Microprocessors 12 2.5 Memory Unit 13 2.6 Central Processing Unit 14 2.7 Bus 15 2.8 Input Output Unit 16 2.9 Serial Communication 16 2.10 Timer Unit 17 2.11 Watch Dog 18 2.12 Analog to Digital Converter 19 3. Introduction to EEPROM 21 3.1 EEPROM 21 3.2 Application/ Operation of EEPROM 21 4.…

    • 13812 Words
    • 56 Pages
    Powerful Essays
  • Satisfactory Essays

    To which register does the SMOD bit belong? State its role in the rate of data transfer.…

    • 439 Words
    • 2 Pages
    Satisfactory Essays