test,verilator: --no-diff should not init nemu (#896)
When --no-diff option is enable, nemuproxy should not be initialized, to avoid the dependence on NEMU.
This commit is contained in:
parent
6d5ddbce72
commit
e4da5028ef
|
@ -236,8 +236,8 @@ uint64_t Emulator::execute(uint64_t max_cycle, uint64_t max_instr) {
|
||||||
init_device();
|
init_device();
|
||||||
if (args.enable_diff) {
|
if (args.enable_diff) {
|
||||||
init_goldenmem();
|
init_goldenmem();
|
||||||
|
init_nemuproxy();
|
||||||
}
|
}
|
||||||
init_nemuproxy();
|
|
||||||
|
|
||||||
uint32_t lasttime_poll = 0;
|
uint32_t lasttime_poll = 0;
|
||||||
uint32_t lasttime_snapshot = 0;
|
uint32_t lasttime_snapshot = 0;
|
||||||
|
|
Loading…
Reference in New Issue