1
CSSE132 ¡ Introduc0on ¡to ¡Computer ¡Systems ¡
12 ¡: ¡Computa,onal ¡model ¡ March ¡21, ¡2013 ¡
Adapted from Carnegie Mellon 15-213
CSSE132 Introduc0on to Computer Systems 12 : Computa,onal - - PowerPoint PPT Presentation
Adapted from Carnegie Mellon 15-213 CSSE132 Introduc0on to Computer Systems 12 : Computa,onal model March 21, 2013 1 Today: Computa0onal Model Basic structures
1
Adapted from Carnegie Mellon 15-213
2
¢ Basic ¡structures ¡ ¢ Computa0onal ¡model ¡
3
¢ Clock ¡
¢ Register ¡
¢ Register ¡File ¡
¢ ALU ¡
¢ Memory ¡
4
¢ Processor ¡
§ Large, ¡fast ¡chip ¡that ¡drives ¡most ¡computer ¡opera,ons ¡
§ Large ¡chip, ¡made ¡of ¡many ¡simple, ¡slow ¡CPUs ¡ § Operates ¡on ¡vector ¡data ¡
¢ For ¡all ¡processors ¡
5
¢ Combine ¡basic ¡logic ¡structures ¡into ¡datapath ¡
§ Instruc,ons ¡ § Data ¡
¢ Most ¡datapaths ¡are ¡clock ¡driven ¡
6
¢ Simplified ¡x86 ¡
implemen- instruction the
A B M E
PC Write back Memory Execute newPC valE, valM valM Data memory Addr, Data valE CC ALU Cnd aluA, aluB valA, valB srcA, srcB dstE, dstM Register file valP Decode icode, ifun rA, rB valC Fetch Instruction memory PC increment PC
7
Data PC Address Instruction Instruction memory Registers ALU Address Data Data memory Add Add 4 Register # Register # Register #