From 20fe698a4074df4abe02f14a1a14481770e90abc Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 6 Mar 2025 00:03:00 -0500 Subject: Storage.view method, some initial tests --- src/storage/dram.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/storage/dram.cc') diff --git a/src/storage/dram.cc b/src/storage/dram.cc index 20858cd..89c7316 100644 --- a/src/storage/dram.cc +++ b/src/storage/dram.cc @@ -1,9 +1,10 @@ -#include -#include +#include "dram.h" +#include "response.h" +#include Dram::Dram(int lines, int delay) { - this->data = new std::vector>; + this->data = new std::vector>; this->data->resize(lines); this->delay = delay; this->lower = nullptr; @@ -17,5 +18,3 @@ Response *Dram::write(Accessor accessor, signed int data, int address) } Response *Dram::read(Accessor accessor, int address) { return nullptr; } - -int **Dram::view(int base, int lines) { return nullptr; } -- cgit v1.2.3