s.dit
来自「可以自由开发的MIPS仿真器模型(.exe),指令执行动画显示.通过修改grap」· DIT 代码 · 共 43 行
DIT
43 行
// This is the main defenition of the DIT XL pipeline
// Ola Bergqvist 2000
include components\clock.dit
include components\control.dit
include components\forwarding.dit
include components\InstrMem.dit
include components\Mux2.dit
include components\Mux3.dit
include components\Mux4.dit
include components\PC.dit
include components\RegExMem.dit
include components\RegIdEx.dit
include components\RegIfId.dit
include components\RegMemWb.dit
include components\RegisterBank.dit
include components\ShiftLeft2.dit
include components\SignExtend.dit
include components\BranchCmp.dit
include components\InstrSplit.dit
include components\constant31.dit
include components\AluControl.dit
include components\DataMem.dit
// The one and only clock
object CClock clk
// the one and only bus
object CiBus bus
// Create the pipline stages
include pipe\if.dit
include pipe\id.dit
include pipe\ex.dit
include pipe\mem.dit
include pipe\wb.dit
// Load the picture
picture graphics\pipeS.bmp
//probe clk.Ph0 100 100 16 8 0
// And the extra line in the end...
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?