计算机系统综合课程设计3.PPTVIP

  • 24
  • 0
  • 约1.96万字
  • 约 78页
  • 2017-06-30 发布于天津
  • 举报
计算机系统综合课程设计3

* 我们可以看到Cell内部有一条 768bit位宽的“EIB单元互联总线环(Element Interconnect BUS Ring,EIB Ring)”, * P.* 顶层的设计(4) 内部信号赋值 assign instruction_out = instruction ; assign alu_result_out = alu_result ; assign read_data_1_out = read_data_1 ; assign read_data_2_out = read_data_2 ; assign write_data_out = (memtoreg == 1) ? read_data : alu_result ; assign branch_out = branch ; assign zero_out = zero ; assign regwrite_out = regwrite ; assign memwrite_out = memwrite ; assign i_format_out = i_format ; * P.* 顶层的设计(5) 元件例化 Ifetc32 ifetch(.Instruction(instruction), .PC_plus_4_out(pc_plus_4) , .Add_result(add_result), .Branch(branch), .nBranch(nbranch), .Jmp(jmp), .Jal(jal), .Jrn(jrn), .Read_data_1(read_data_1), .PC_next(pc_next), .Zero(zero), .PC_out(pc), .clock(clock), .reset(reset) .opcplus4(opcplus4)); 其他元件例化大家参看教材。 * P.* 指令执行的分析 各类指令执行的分析 PC Clock 程序ROM 读地址 指令 [31-0] + 4 控制单元 op 寄存器 0 1 func rs rt rd readR1 readR2 writeR writeD Clock readD1 readD2 Regdst WE Alusrc 符号扩展 immediate 0 1 A B Zero Alu result ALU Address Write Data Mem data 数据RAM 1 0 WE 1 0 jal Regwrite Memtoreg Memwrite Aluctl/slt/sftmd/sftm/I_format + 左移2位 nBranch Branch 0 1 0 1 jmp | jal 左移2位 addresst PC+4 1 0 jrn MIPS instruction format op I-format J-format R-format rs rt rd func op rs rt immediate op address 除jr指令之外的其他16条R-format指令 PC Clock 程序ROM 读地址 指令 [31-0] + 4 控制单元 op 寄存器 0 1 func rs rt rd readR1 readR2 writeR writeD Clock readD1 readD2 Regdst WE Alusrc 符号扩展 immediate 0 1 A B Zero Alu result ALU Address Write Data Mem data 数据RAM 1 0 WE 1 0 jal Regwrite Memtoreg Memwrite Aluctl/slt/sftmd/sftm/I_format + 左移2位 nBranch Branch 0 1 0 1 jmp | jal 左移2位 addresst PC+4 1 0 jrn MIPS instruction format op I-format J-format R-format rs 0 0 func op rs rt immediate op address jr 0 PC Clock 程序ROM 读地址 指令 [31-0] + 4 控制单元 op 寄存器 0 1 func rs rt rd readR1 readR2

文档评论(0)

1亿VIP精品文档

相关文档