JTAG: Remove unused methods.

This commit is contained in:
Jared Boone 2016-07-13 11:02:13 -07:00
parent 18fe30136e
commit 22143c9543
2 changed files with 0 additions and 26 deletions

View File

@ -94,11 +94,6 @@ public:
shift_ir(static_cast<uint32_t>(instruction)); shift_ir(static_cast<uint32_t>(instruction));
} }
template<size_t N>
void shift_dr(std::bitset<N>& bits) {
jtag.shift_dr(bits);
}
private: private:
jtag::JTAG& jtag; jtag::JTAG& jtag;

View File

@ -90,27 +90,6 @@ public:
return result; return result;
} }
template<size_t N>
void shift_dr(std::bitset<N>& bits) {
/* Run-Test/Idle -> Select-DR-Scan */
target.clock(1, 0);
/* Scan -> Capture -> Shift */
target.clock(0, 0);
target.clock(0, 0);
for(size_t i=0; i<bits.size(); i++) {
bits[i] = target.clock(
(i == (bits.size() - 1)) ? 1 : 0,
bits[i]
);
}
/* Exit1 -> Update */
target.clock(1, 0);
/* Update -> Run-Test/Idle */
target.clock(0, 0);
}
private: private:
Target& target; Target& target;