From e2d82e8e18ebddc78a0c187c4b7501b9f3aaa9c5 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 5 Oct 2023 06:31:27 -0600 Subject: tb: move most C++ source files to tb/top/conspiracion --- tb/null.hpp | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 tb/null.hpp (limited to 'tb/null.hpp') 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 -#include - -#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 -- cgit v1.2.3