summaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
authorSiddarth Suresh <155843085+SiddarthSuresh98@users.noreply.github.com>2025-03-21 14:21:06 -0400
committerGitHub <noreply@github.com>2025-03-21 14:21:06 -0400
commitb2dbd9fa44f57bfa7b67f828ed8b354f4af3a0b6 (patch)
treeffd8e0bd2b112180251804a096f601f745f9af1b /src/cli
parent1b01b557e76f8643964e5c367c072ab7778036f6 (diff)
parent5845ad71d78d310322046906ee4c8e91d007d57e (diff)
Merge pull request #27 from bdunahu/bdunahu
Make memory simulator an optional command, switch to test fixtures Changes look good
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/cli.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/cli.cc b/src/cli/cli.cc
index 41ac57c..e25b316 100644
--- a/src/cli/cli.cc
+++ b/src/cli/cli.cc
@@ -211,7 +211,7 @@ void Cli::initialize()
if (this->cache != nullptr)
delete this->cache;
- Dram *d = new Dram(MEM_LINES, MEM_DELAY);
+ Dram *d = new Dram(MEM_DELAY);
this->cache = new Cache(d, L1_CACHE_DELAY);
this->cycle = 1;
}