diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-10-05 06:31:27 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-10-05 13:07:57 -0600 |
| commit | e2d82e8e18ebddc78a0c187c4b7501b9f3aaa9c5 (patch) | |
| tree | eb72ed72e33f3a5ef3d9843ddcff624156177647 /tb/null.hpp | |
| parent | 59caca686d4d7798b617ee2a9f9d4c5d1d27b8ff (diff) | |
tb: move most C++ source files to tb/top/conspiracion
Diffstat (limited to 'tb/null.hpp')
| -rw-r--r-- | tb/null.hpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tb/null.hpp b/tb/null.hpp deleted file mode 100644 index 37de464..0000000 --- a/tb/null.hpp +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef TALLER_NULL_HPP -#define TALLER_NULL_HPP - -#include <cstdint> -#include <memory> - -#include "avalon.hpp" - -namespace taller::avalon -{ - class null : public slave - { - public: - using slave::slave; - - inline virtual bool read(std::uint32_t addr, std::uint32_t &data) final override - { - return true; - } - - inline virtual bool write - ( - std::uint32_t addr, std::uint32_t data, unsigned byte_enable = 0b1111 - ) final override - { - return true; - } - }; -} - -#endif |
