Exam 2 Flashcards
(133 cards)
ISA
Specifies the software interface to the CPU
(Instructional Set Architecture)
Microarchitecture
- hardware design of a physical CPU
- an implementation of an ISA
Control
Tells everything else what to do and when
- decode the instruction and set all the control signals to make that instruction happen
- automatically sets the control signals to the right values to make each instruction happen
Registers
- Hold the values being computed
- temporary stopping point for your program’s data
ALU
Computes new values from old values
Arithmetic and Logic Unit
Values move between what
Registers and ALU
Architectural Registers
- registers that the ISA specifies
- GPR < Architectural < Microarchitectural
GPR
registers you can use for any purpose in programs
- General Purpose Registers
Microarchitectural registers
- exist outside the ISA and are part of the implementation of the CPU
- used for temp storage, implement multistep operations, control specific features, etc.
- Often inaccessible from software
Register File
- Holds General-purpose registers
- like an array of registers or small word addressed memory
PC register
- part of the control
- says what step to do next
PC
memory address (send it to memory)
- memory sends back data (instruction) and the control decodes the instructions and tells things what to do
Program Counter
CPU’s Job
to read and execute instructions
(Fetch, Decode, Execute (Once per instruction))
Fetch
gets the next instruction to execute from memory by using PC
- Instruction memory
Decode
Control reads the instruction
- look at the fetched instruction and set control signals
Control/Register File
Executes
The control does the instruction by telling other parts what to do
- wait for data to flow through the ALU
ALU
how many times is memory accessed for a load or store?
-1st access: to fetch instruction
-2nd access: to actually load the value
Schematic
Graphical way to represent systems (flowcharts)
HDL
Hardware Description Languages (text)
EDA
Electronic design automation (schematics)
Schematics and texts are…
equal in power
Circuit schematics show…
how data flows from one component to another
components can
produce or consume values (or both)
Is there order in circuit schematics?
NO
everything in the circuit happens simultaneously