存数(sw)指令的数据通路 M[ R[rs] + SignExt[imm16] ] ← R[rt] Example: sw rt, rs, imm16 32 ALUctr Clk busW RegWr 32 32 busA 32 busB 5 5 5 Rw Ra Rb 32 32-bit Registers Rs Rt Rt Rd RegDst Ext Mux Mux 32 16 imm16 ALUSrc ExtOp Mux MemtoReg Clk Data In WrEn 32 Adr Data Memory 32 MemWr ALU RegDst=x, RegWr=0, ALUctr=add, ExtOp=1, ALUSrc=1, MemWr=1, MemtoReg=x 0 1 0 1 加兰色部分。才能向存储器存数 0 1 op rs rt imm16 0 16 21 26 31 6 bits 16 bits 5 bits 5 bits And here is the datapath for the store instruction. The Register File, the ALU, and the Extender are the same as the datapath for the load instruction because the memory address has to be calculated the exact same way: (a) Put the register selected by Rs onto bus A and sign extend the 16 bit immediate field. (b) Then make the ALU (ALUctr) adds these two (busA and output of Extender) together. The new thing we added here is busB extension (DataIn). More specifically, in order to send the register selected by the Rt field (Rb of the register file) to data memory, we need to connect bus B to the data memory’s Data In bus. Finally, the store instruction is the first instruction we encountered that does not do any register write at the end. Therefore the control unit must make sure RegWr is zero for this instruction. +2 = 64 min. (Y:44)
2022-04-10 21:09:08 4.02MB ics
1
视频演示及解压密码:http://www.bilibili996.com/Course?id=3741165000202
2022-04-10 11:05:04 147.56MB opencv 音视频 人工智能 计算机视觉
1
视频演示及解压密码:http://www.bilibili996.com/Course?id=2717935000203
2022-04-10 11:05:03 147.31MB opencv 音视频 人工智能 计算机视觉
1
图灵奖得主Judea Pearl:机器学习无法成为强AI基 础,突破口在“因果革命”
2022-04-10 00:26:47 918KB 机器学习
1
视觉SLAM十四讲; LK光流;直接法
2022-04-08 15:19:24 1.96MB slam
1
视频讲解:http://www.bilibili996.com/Course?id=3319137000193
2022-04-08 09:06:51 211.64MB opencv 音视频 人工智能 计算机视觉
1
视频讲解:http://www.bilibili996.com/Course?id=0573457000194
2022-04-08 09:06:50 219.64MB opencv 音视频 人工智能 计算机视觉
1
视频讲解:http://www.bilibili996.com/Course?id=0735601000188
2022-04-08 09:06:49 147.74MB opencv 音视频 人工智能 计算机视觉
1
视频讲解:http://www.bilibili996.com/Course?id=2768964000187
2022-04-08 09:06:48 296.17MB opencv 音视频 人工智能 计算机视觉
1
视频讲解:http://www.bilibili996.com/Course?id=5673205000181
2022-04-08 09:06:47 279.02MB opencv 音视频 人工智能 计算机视觉
1