CacheComponent.h Source File
Back to the index.
Go to the documentation of this file. 1 #ifndef CACHECOMPONENT_H
2 #define CACHECOMPONENT_H
96 const string& methodName,
97 const vector<string>& arguments);
120 static void RunUnitTests(
int& nSucceeded,
int& nFailures);
128 uint64_t m_lastDumpAddr;
133 uint64_t m_addressSelect;
137 #endif // CACHECOMPONENT_H
virtual bool WriteData(const uint8_t &data, Endianness endianness)
Writes 8-bit data to the currently selected address.
static void RunUnitTests(int &nSucceeded, int &nFailures)
CacheComponent(const string &visibleClassName="cache")
Constructs a CacheComponent.
virtual AddressDataBus * AsAddressDataBus()
Returns the component's AddressDataBus interface.
string GenerateDetails() const
Generate details about the component.
virtual bool MethodMayBeReexecutedWithoutArgs(const string &methodName) const
Returns whether a method name may be re-executed without args.
virtual void GetMethodNames(vector< string > &names) const
Retrieves a component's implemented method names.
A memory Cache Component.
virtual void ResetState()
Resets the state variables of this component.
A Component is a node in the configuration tree that makes up an emulation setup.
virtual bool ReadData(uint8_t &data, Endianness endianness)
Reads 8-bit data from the currently selected address.
static string GetAttribute(const string &attributeName)
Get attribute information about the CacheComponent class.
Base class for unit testable classes.
virtual ~CacheComponent()
virtual void AddressSelect(uint64_t address)
Place an address on the bus.
An interface for implementing components that read/write data via an address bus.
static refcount_ptr< Component > Create(const ComponentCreateArgs &args)
Creates a CacheComponent.
virtual void ExecuteMethod(GXemul *gxemul, const string &methodName, const vector< string > &arguments)
Executes a method on the component.
Generated on Tue Mar 24 2020 14:04:48 for GXemul by
1.8.17