diff options
author | bd <bdunahu@operationnull.com> | 2025-03-29 23:37:34 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-29 23:37:34 -0400 |
commit | df747f79abecc53e7ff696e020caf856746bad0d (patch) | |
tree | b20bbac6282bc67f16d70aab92237216e0338b90 /tests | |
parent | 593dc80637bd95e2ca458915295ee2cbea2a4696 (diff) |
Fix issue with uninitialized DRAM in ID.cc tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/id.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/id.cc b/tests/id.cc index f460505..65cc16a 100644 --- a/tests/id.cc +++ b/tests/id.cc @@ -12,10 +12,8 @@ class IDFixture public: IDFixture() { - Dram *dr; - this->dr = new Dram(3); - this->c = new Cache(dr, 1); + this->c = new Cache(this->dr, 1); IF *f = new IF(nullptr); this->d = new ID(f); this->ct = new Controller(this->d, this->c, true); |