Shared Flashcard Set

Details

Computer Organization
Flashcards for Computer Organization (Comp 3370) for the University of Manitoba
51
Computer Science
Undergraduate 3
10/22/2012

Additional Computer Science Flashcards

 


 

Cards

Term
Define: Instruction
Definition
A command that computer hardware understands and obeys
Term
Define: Compiler
Definition
A program that translates high level language statements into assembly language statements
Term
Define: Memory
Definition
Location of programs and data when they are running
Term
Define: ISA
Definition
Abstract interface between hardware and low level software, encompasses information needed to write a machine language program
Term
Define: Abstraction
Definition
Model that renders low level details of computer systems invisible to facilitate design of systems. Omits unneeded information and helps deal with complexity.
Term
Define: Data Path
Definition
the part of the processor that performs arithmetic
Term
Define: Implementation
Definition
hardware that obeys architecture abstraction
Term
Define: Cache
Definition
small, fast memory that acts as a buffer for slow, large memory
Term
Define: OS
Definition
program that managed computer resources
Term
Define: Moore's Law
Definition
the observation that over the
Term
Define: Throughput
Definition
number of tasks completed per unit of time
Term
What is the formula for performance?
Definition
Performance(x) = 1 / Execution Time(x)
Term
State 4 formulas for CPU Time
Definition
CPU Clock Cycles x Clock Cycle Time
CCC / CR
Instruction Count x CPU x CCT
Instruction Count x CPI / CR
Sum(#ins for class i * CPI(i)) * cycle time
Term
What is the formula for CPU Clock Cycles?
Definition
CPU Clock Cycles = # Instructions x Average Clock Cycles Per Instruction (CCI)
Term
Define: CPI
Definition
Number of clock cycles each instruction takes to execute
Term
What are the formulas for calculating Number of CPU Clock Cycles?
Definition
CPI x #Ins
Time x Clock Rate
Summation (n, i=1) (CPIi x Ci)
Term
What are the formulas for CPI?
Definition
CCC / Instruction Count
Total Cycles/#Ins
Time * CR /#Ins
Sum[(#ins for class i/total #ins)*CPI(i)]
Term
Define: SPEC Benchmarks
Definition
System performance and evaluation cooperation, Selective benchmarks taken from various applications
Term
What is the formula for throughput?
Definition
One instruction per clock cycle
Term
Define: Superscalar processors
Definition
Instruction dependencies determined at runtime dynamically by hardware, dynamic hw scheduling
Term
Define: VLIW
Definition
Very Large Instruction Word Processors
Term
What are the tree "walls" that hinder performance improvement?
Definition
Power, memory, frequency
Term
Name the 4 design principals discussed in class
Definition
Simplicity Favours Regularity, Smaller is Faster, Make the Common Case Fast, Good Designs Demand Good Compromises
Term
Define: Temporal Locality
Definition
The tendency to reuse recently accessed items
Term
Define: Spacial Locality
Definition
The tendency to reference items close to other recently accessed items
Term
Define: Decoder
Definition
A circuit with only 1 output asserted for each input combination
Term
Define: MUX
Definition
A circuit decoder that generates n signals, each indicated a different input value
Term
Define: ROM
Definition
A set of locations that can be read, number of addressable entries determines number of addressable lines (2^n height)
Term
Define: BUS
Definition
A collection of data lines treated as a single logical signal
Term
Define: Clock
Definition
A free running signal with a fixed cycle time (period) with two positions, high and low
Term
What is the stored program concept?
Definition
Storage of instructions in computer
Term
What does an R type instruction look like?
Definition
Op(6), Rs(5), Rt(5), Rd(5), Shamt(5), Function(6). Op = 000000
Term
What does an I type instruction look like?
Definition
Op(6), Rs(5), Rt(5), Addr(16). Op != 000000
Term
Name the FU's discussed in class?
Definition
RegDST, PCSrc, MemRead, MemToReg, ALUOp, MemWrite, ALUSrc, RegWrite
Term
What is the function of RegDST?
Definition
A MUX that determines which register we use as a destination (I versus R instructions)
Term
What is the function of MemToReg?
Definition
MUX that determines the data for the destination register (ALU result or data memory)
Term
What is the function of ALUSrc?
Definition
MUX that determines 2nd input to ALU (register or offset address - IMM)
Term
What is the function of the Branch Control Line?
Definition
Determines if we use PC+4 or PC+4+Offset (branch conditional)
Term
What are the ALU controls?
Definition
AND OR ADD SUB SLT
Term
Describe how an R type instruction is executed?
Definition
Ins fetched, PC incremented. 2 Reg's read. ALU operates on 2 reg's data. Result of ALU written into registers
Term
Describe how an LW type instruction is executed?
Definition
Ins fetched, PC+=4, Reg's read, ALU adds reg data with offset, ALU result used as addr to read data from memory, data from memory written into reg file
Term
Describe how a BEQ type instruction is executed?
Definition
Ins fetched, Pc+=4, 2 reg's read from reg file, ALU subtract on data values read from reg file, PC+4 added to SE. lower 16 bits shifted 2 L, result of is branch target address, zero result from ALU used to decide which adder result to store into PC
Term
Give an example of a critical path for R-Format instructions
Definition
Instruction Memory, Reg File, ALU, Reg File
Term
Give an example of a critical path for LW instructions
Definition
Instruction Memory, Reg File, ALU, Data Memory, Reg File
Term
Give an example of a critical path for SW instructions
Definition
Instruction Memory, Reg File, ALU, Data Memory
Term
Give an example of a critical path for Branch instructions
Definition
Instruction Memory, Reg, ALU, Adder
Term
Give an example of a critical path for Jump instructions
Definition
Instruction Memory
Term
What is the formula for comparing the performance of two systems?
Definition
P(X)/P(Y) = n = E(Y)/E(X)
Term
What is the formula for calculating clock rate?
Definition
Cycles/second
(I * CPI) / CPU Time
Term
What is the formula for calculating Seconds/Program?
Definition
Cycles/Program * Seconds/Cycle
Term
What is the formula for MIPS?
Definition
# Ins / (Execution Time x 10^6)
Supporting users have an ad free experience!