From 23c340abb24c19e76d0c73ef7e99b15e39e5bdfa Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Tue, 18 Jul 2017 10:53:43 -0700 Subject: [PATCH] MAX V: Add shift_dr() for testing. --- firmware/common/cpld_max5.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/firmware/common/cpld_max5.hpp b/firmware/common/cpld_max5.hpp index bf98edda6..b06da2150 100644 --- a/firmware/common/cpld_max5.hpp +++ b/firmware/common/cpld_max5.hpp @@ -99,6 +99,12 @@ public: shift_ir(static_cast(instruction)); } + void shift_dr(std::bitset<240>& value) { + for(size_t i=0; i