diff options
| author | Alejandro Soto <alejandro@34project.org> | 2022-09-27 15:13:10 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2022-09-27 15:13:10 -0600 |
| commit | 583a1ebaafe285c223afbfcc60bb68e6c10174ca (patch) | |
| tree | 45931e6c7112468b172be55caa17739f2ad2c9bb /tb/mem.hpp | |
| parent | 7fe23c697af81c08b69c0b30f1db48ed16493662 (diff) | |
Add simple loop execution testbench
Diffstat (limited to '')
| -rw-r--r-- | tb/mem.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,8 +23,8 @@ namespace taller::avalon return mask; } - virtual bool read(std::uint32_t addr, std::uint32_t &data); - virtual bool write(std::uint32_t addr, std::uint32_t data, unsigned byte_enable); + virtual bool read(std::uint32_t addr, std::uint32_t &data) final override; + virtual bool write(std::uint32_t addr, std::uint32_t data, unsigned byte_enable = 0b1111) final override; private: std::unique_ptr<std::uint32_t[]> block; |
