enable rtl sim dram stalls

This commit is contained in:
Blaise Tine
2020-03-31 02:38:18 -04:00
parent ba8bc95c90
commit e92c4b6774
4 changed files with 86038 additions and 1 deletions

Binary file not shown.

86035
driver/tests/demo/kernel.dump Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -235,6 +235,8 @@ void Simulator::dbus_driver() {
dram_stalled_ = true; dram_stalled_ = true;
} }
#endif #endif
vortex_->out_dram_req_delay = dram_stalled_;
} }
void Simulator::io_handler() { void Simulator::io_handler() {

View File

@@ -19,7 +19,7 @@
#include <ostream> #include <ostream>
#include <vector> #include <vector>
//#define ENABLE_DRAM_STALLS #define ENABLE_DRAM_STALLS
#define DRAM_LATENCY 200 #define DRAM_LATENCY 200
#define DRAM_RQ_SIZE 16 #define DRAM_RQ_SIZE 16
#define DRAM_STALLS_MODULO 16 #define DRAM_STALLS_MODULO 16