fixed fp_noncomp bug, ci toolchain script update, increased DRAM latency to 100 cycles
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <iomanip>
|
||||
|
||||
#define ENABLE_DRAM_STALLS
|
||||
#define DRAM_LATENCY 4
|
||||
#define DRAM_LATENCY 100
|
||||
#define DRAM_RQ_SIZE 16
|
||||
#define DRAM_STALLS_MODULO 16
|
||||
|
||||
@@ -180,9 +180,19 @@ void Simulator::eval_dram_bus() {
|
||||
}
|
||||
} else {
|
||||
dram_req_t dram_req;
|
||||
dram_req.cycles_left = DRAM_LATENCY;
|
||||
dram_req.tag = vortex_->dram_req_tag;
|
||||
|
||||
dram_req.tag = vortex_->dram_req_tag;
|
||||
dram_req.addr = vortex_->dram_req_addr;
|
||||
|
||||
ram_->read(vortex_->dram_req_addr * GLOBAL_BLOCK_SIZE, GLOBAL_BLOCK_SIZE, dram_req.block.data());
|
||||
|
||||
dram_req.cycles_left = DRAM_LATENCY;
|
||||
for (auto& req : dram_rsp_vec_) {
|
||||
if (req.addr == dram_req.addr) {
|
||||
dram_req.cycles_left = req.cycles_left;
|
||||
break;
|
||||
}
|
||||
}
|
||||
dram_rsp_vec_.emplace_back(dram_req);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user