提交 454cef32 编写于 作者: Y Yinan Xu

ram: update DRAMsim3 interface

上级 c9caf8e0
...@@ -154,7 +154,8 @@ void init_ram(const char *img) { ...@@ -154,7 +154,8 @@ void init_ram(const char *img) {
#error DRAMSIM3_CONFIG or DRAMSIM3_OUTDIR is not defined #error DRAMSIM3_CONFIG or DRAMSIM3_OUTDIR is not defined
#endif #endif
assert(dram == NULL); assert(dram == NULL);
dram = new CoDRAMsim3(DRAMSIM3_CONFIG, DRAMSIM3_OUTDIR); // dram = new ComplexCoDRAMsim3(DRAMSIM3_CONFIG, DRAMSIM3_OUTDIR);
dram = new SimpleCoDRAMsim3(10);
#endif #endif
pthread_mutex_init(&ram_mutex, 0); pthread_mutex_init(&ram_mutex, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册