Please enable JavaScript.
Coggle requires JavaScript to display documents.
computer design - Coggle Diagram
computer design
microarchitecture
-
-
-
hazard
-
resource, structural
= when instructions that are already in pipeline need the same resource, e.g. single ALU or single LOAD port on main memory
control, branch, instruction
-
-
cache
placement policy
set-associative
definition
assign -> any matching set ID, empty cache line with tag = block ID and all columns = block values
search -> all matching set ID cache line for tag == block ID, if so get value in column = word ID
-
-
fully associative
-
operation
assign -> any empty cache line, if so set tag = block ID and all columns = block values
check -> all cache lines for tag == block ID, if so get value in column = word ID
-
direct-mapped
-
definition
-
check ->matching line ID cache line for tag == block ID, if so get value in column = word ID
-
= divides memory address in block ID and word ID, where e.g. 2 bit word ID means that the block contains all the adresses with same address except the last two.
= the blocks are put in a table where each block with its element has a tag, hence the name cache line
-
-
-
-
-
hazard solutions
general
flush
= convert invalid instructions (e.g. wrong branch prediction, after jump that hasn't triggered) in pipeline stages to bubles
-
-
-
-
-
trap
stops execution when exception is caught like e.g. divide by zero. Fault is a normal exception and abort is when the exception cannot be handled and the abortion must occur
bus
asynchronous
-
handshake
master sends a ready/sync signal after memory address has been sent and when it have received the data it stops the signal before the address signal stops after
slave receives that and responds with its ready signal and works until it is done and have send the data and turns off the signal
-
arbitration
when you have multiple masters, the aribtre chooses how to allocate the bus
centralized
daisy chain arbitration
the grant line is going through every device, and the request line is shared so if multiple is requesting, the requesting device closest to the arbitrer is granted
-
-
-
virtual memory
-
-
page tables
Each entry in the page table represents a virtual page and contains the frame number that corresponds to a location in physical memory.
If a page is not in memory, its entry is marked invalid.
definition
temporarily transfer data from RAM to disk storage to run large or multiple applications when RAM is limited
digital logic
-
sequential
gates that incorporate memory, producing output based on current and past inputs.
combinatoral
gates that produce output solely based on current inputs, without memory.
-
-
-