91 panic(
"BankedArray reservation error");
Cycles is a wrapper class for representing cycle counts, i.e.
void reserve(int64_t idx)
std::vector< AccessRecord > busyBanks
RubySystem * m_ruby_system
bool tryAccess(int64_t idx)
BankedArray(unsigned int banks, Cycles accessLatency, unsigned int startIndexBit, RubySystem *rs)
unsigned int startIndexBit
unsigned int mapIndexToBank(int64_t idx)
static constexpr std::enable_if_t< std::is_integral_v< T >, int > floorLog2(T x)
#define panic(...)
This implements a cprintf based panic() function.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Tick curTick()
The universal simulation clock.