Go to the documentation of this file.
32 #ifndef CPU_TESTERS_PROTOCOL_TESTER_ADDRESS_MANAGER_HH_
33 #define CPU_TESTERS_PROTOCOL_TESTER_ADDRESS_MANAGER_HH_
35 #include <unordered_map>
36 #include <unordered_set>
227 typedef std::unordered_map<Location, LdStBits>
LdStMap;
Tick curTick()
The universal simulation clock.
AtomicStruct(Location atom_loc, Location loc_begin, Location loc_end)
Location getLoadLoc(Location atomic_loc)
Location getStoreLoc(Location atomic_loc)
void finishLocSelection(Location atomic_loc)
std::vector< Addr > AddressMap
AddressManager(int n_atomic_locs, int numNormalLocsPerAtomic)
std::unordered_map< Location, LdStBits > LdStMap
const std::string to_string(sc_enc enc)
bool inFirstRegion(int idx) const
bool inThirdRegion(int idx) const
bool validateAtomicResp(Location loc, Value ret_val)
void update(int _thread, int _cu, int _episode, Value _value, Tick _tick)
std::pair< int, int > LocProperty
AtomicStructTable atomicStructs
std::vector< LocProperty > LocPropTable
const std::string print() const
uint64_t Tick
Tick count type.
std::vector< LastWriter * > LogTable
void updateLogTable(Location loc, int threadId, int episodeId, Value new_value, Tick curTick, int cuId=-1)
bool isExpectedValue(Value val)
bool inSecondRegion(int idx) const
static const int INVALID_VALUE
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
static const int INVALID_LOCATION
Value getLastStoredValue() const
std::vector< AtomicStruct * > AtomicStructTable
void swap(LocProperty &prop_1, LocProperty &prop_2)
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
Value getLoggedValue(Location loc) const
ExpectedValueSet expectedValues
std::pair< bool, bool > LdStBits
void releaseLoc(Location loc)
AddressMap randAddressMap
std::string printLastWriter(Location loc) const
void releaseLocation(Location atomic_loc, Location loc)
Addr getAddress(Location loc)
std::unordered_set< Value > ExpectedValueSet
Generated on Sun Jul 30 2023 01:56:53 for gem5 by doxygen 1.8.17