70 likes | 244 Views
Codes. Makefile.linux. Top.cpp SharedMemCtrl.cpp SimpleARM.cpp SimplePISA.cpp ARM/sim-outorder.cpp ARM/ArmMain.cpp Pisa/sim-outorder.cpp Pisa/PisaMain.cpp. Global.h. 定义一些参数常量和三个有关共享内存区的函数. Top.cpp. 例化并连接共享内存, pisa 模拟器, arm 模拟器. SimplePISA.cpp.
E N D
Makefile.linux • Top.cpp • SharedMemCtrl.cpp • SimpleARM.cpp • SimplePISA.cpp • ARM/sim-outorder.cpp • ARM/ArmMain.cpp • Pisa/sim-outorder.cpp • Pisa/PisaMain.cpp
Global.h • 定义一些参数常量和三个有关共享内存区的函数
Top.cpp • 例化并连接共享内存,pisa模拟器,arm模拟器
SimplePISA.cpp • 实现simulator和setfilename两个函数,其中simulator调用PISAmain函数
SimplePisa类 • 数据成员:inst_code, pisa_type, pisa_capacity, pisa_index, pisa_id, pisa_value, isPISA, ackPISA, pisa_latency, pisa_cycle, filename • 成员函数: simulator, setFilename, PisaMain, pisa_sim_main, ruu_dispatch, ruu_issue, exit_now
SimpleARM类 • 数据成员:inst_code, arm_type, arm_capacity, arm_index, arm_id, arm_value, isARM, ackARM, arm_latency, arm_cycle, filename • 成员函数:simulator, setFilename, ArmMain, sim_main, ruu_dispatch, ruu_issue, exit_now