diff options
author | bd <bdunahu@operationnull.com> | 2025-03-11 11:54:21 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-11 11:54:21 -0400 |
commit | a59c031ca0521bfb00bfc5f8f65af45c89804a37 (patch) | |
tree | c6d4ff93026441bff50de16633706ee3dd2ea196 /src/cli | |
parent | fde996690d77b81e445450671a0723f837de4eb3 (diff) |
Clarify size of mem and cache in definitions, CLI print invalid tags
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/cli.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/cli.cc b/src/cli/cli.cc index 0729e00..c9f83e9 100644 --- a/src/cli/cli.cc +++ b/src/cli/cli.cc @@ -116,7 +116,7 @@ void Cli::load(Accessor accessor, int address) void Cli::store(Accessor accessor, int data, int address) { Response r = this->cache->write(accessor, data, address); - std::cout << r << " to " << accessor << " storing " << data << " in" + std::cout << r << " to " << accessor << " storing " << data << " in " << address << std::endl; } @@ -209,7 +209,7 @@ void Cli::initialize() if (this->cache != nullptr) delete this->cache; - Dram *d = new Dram(MEM_SIZE, MEM_DELAY); + Dram *d = new Dram(MEM_LINES, MEM_DELAY); this->cache = new Cache(d, L1_CACHE_DELAY); this->cycle = 1; } |