Update runtime/simx/vortex.cpp

Co-authored-by: Martin Troiber <34752929+troibe@users.noreply.github.com>
This commit is contained in:
Jaewon Lee 2024-07-20 10:25:33 -04:00 committed by Hanran Wu
parent 78fc053ad5
commit 8d978f23ce

View file

@ -120,8 +120,6 @@ public:
uint64_t map_p2v(uint64_t ppn, uint32_t flags)
{
DBGPRINT(" [RT:MAP_P2V] ppn: %lx\n", ppn);
// std::cout << std::hex << pAddr << std::endl;
// return pAddr + 0xf000000;
if (addr_mapping.find(ppn) != addr_mapping.end()) return addr_mapping[ppn];
// If ppn to vpn mapping doesnt exist, create mapping