From bca5ac5e7f1ec3e89e950e1e3b4b66dae2004577 Mon Sep 17 00:00:00 2001 From: Blaise Tine Date: Tue, 31 Mar 2020 02:41:14 -0400 Subject: [PATCH] enable rtl sim dram stalls --- rtl/simulate/simulator.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rtl/simulate/simulator.cpp b/rtl/simulate/simulator.cpp index 4355e47f..6ded022d 100644 --- a/rtl/simulate/simulator.cpp +++ b/rtl/simulate/simulator.cpp @@ -111,6 +111,8 @@ void Simulator::ibus_driver() { I_dram_stalled_ = true; } #endif + + vortex_->dram_req_delay = I_dram_stalled_; } #endif @@ -236,7 +238,11 @@ void Simulator::dbus_driver() { } #endif +#ifdef USE_MULTICORE vortex_->out_dram_req_delay = dram_stalled_; +#else + vortex_->dram_req_delay = dram_stalled_; +#endif } void Simulator::io_handler() {