diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-11-20 18:47:55 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-11-20 21:29:11 -0600 |
| commit | c2ddefda2ed6badddac5c229f59fcb25860759a4 (patch) | |
| tree | e1c221fe732dbaa3de75e824f66f5ea730bb01d6 /tb/verilator.hpp | |
| parent | 314a2a21260a8b61a5679dfc1f7df9b18c785535 (diff) | |
rtl/gfx: remove gfx_{perspective{,_flow}, fp_inv}
Diffstat (limited to 'tb/verilator.hpp')
| -rw-r--r-- | tb/verilator.hpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tb/verilator.hpp b/tb/verilator.hpp index d1d78ff..ff2e9c0 100644 --- a/tb/verilator.hpp +++ b/tb/verilator.hpp @@ -30,15 +30,6 @@ namespace taller q_bits.fp16 = a_bits.fp16 * b_bits.fp16; return q_bits.u16; } - - static inline std::uint16_t fp_inv(std::uint16_t a) noexcept - { - fp16_bits a_bits, q_bits; - a_bits.u16 = a; - - q_bits.fp16 = 1 / a_bits.fp16; - return q_bits.u16; - } } #endif |
