minor update

This commit is contained in:
Blaise Tine 2024-09-29 09:03:24 -07:00
parent cf3909a910
commit 60860ec684

View file

@ -143,7 +143,6 @@ public:
}
void run() {
#ifndef NDEBUG
std::cout << std::dec << timestamp << ": [sim] run()" << std::endl;
#endif
@ -151,6 +150,9 @@ public:
// reset device
this->reset();
// start
device_->reset = 0;
// wait on device to go busy
while (!device_->busy) {
this->tick();
@ -161,6 +163,9 @@ public:
this->tick();
}
// stop
device_->reset = 1;
this->cout_flush();
}
@ -196,7 +201,6 @@ private:
this->eval();
}
device_->reset = 0;
device_->mem_req_ready = 1;
}