adding support for non-cacheable memory addressing

This commit is contained in:
Blaise Tine
2021-06-06 13:35:55 -07:00
parent 84391c1a06
commit 3071fb7a29
23 changed files with 1605 additions and 205 deletions

View File

@@ -309,7 +309,7 @@ void Simulator::run() {
}
int Simulator::get_last_wb_value(int reg) const {
return (int)vortex_->Vortex->genblk1__BRA__0__KET____DOT__cluster->genblk1__BRA__0__KET____DOT__core->pipeline->commit->writeback->last_wb_value[reg];
return (int)vortex_->Vortex->genblk2__BRA__0__KET____DOT__cluster->genblk2__BRA__0__KET____DOT__core->pipeline->commit->writeback->last_wb_value[reg];
}
void Simulator::load_bin(const char* program_file) {

View File

@@ -50,7 +50,7 @@ private:
int cycles_left;
std::array<uint8_t, MEM_BLOCK_SIZE> block;
uint32_t addr;
uint32_t tag;
uint64_t tag;
} mem_req_t;
std::unordered_map<int, std::stringstream> print_bufs_;