#ifndef DRAM_H #define DRAM_H #include class Dram : public Storage { public: /** * Constructor. * @param The number of `lines` contained in memory. The total number of * words is this number multiplied by LINE_SIZE. * @param The number of clock cycles each access takes. * @return A new memory object. */ Dram(int lines, int delay); ~Dram(); Response *write(Accessor accessor, signed int data, int address) override; Response *read(Accessor accessor, int address) override; }; #endif /* DRAM_H_INCLUDED */