Memory access information in emulator for timing simulation.

This commit is contained in:
cdkersey
2015-09-05 16:12:49 -06:00
parent 2bebcd8cc0
commit ae11d80d36
2 changed files with 11 additions and 0 deletions

View File

@@ -104,6 +104,13 @@ namespace Harp {
#endif
void printStats() const;
struct MemAccess {
MemAccess(bool w, Word a): wr(w), addr(a) {}
bool wr;
Word addr;
};
std::vector<MemAccess> memAccesses;
// private:
Core *core;