summaryrefslogtreecommitdiff
path: root/src/cli/cli.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-11 11:54:21 -0400
committerbd <bdunahu@operationnull.com>2025-03-11 11:54:21 -0400
commita59c031ca0521bfb00bfc5f8f65af45c89804a37 (patch)
treec6d4ff93026441bff50de16633706ee3dd2ea196 /src/cli/cli.cc
parentfde996690d77b81e445450671a0723f837de4eb3 (diff)
Clarify size of mem and cache in definitions, CLI print invalid tags
Diffstat (limited to 'src/cli/cli.cc')
-rw-r--r--src/cli/cli.cc4
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;
}