mirror of https://github.com/openXC7/prjxray.git
lib: xc7series: add accessor to get words in a bitstream
Signed-off-by: Rick Altherr <kc8apf@kc8apf.net> Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
This commit is contained in:
parent
bd9338da4a
commit
78546b275d
|
|
@ -49,6 +49,8 @@ class BitstreamReader {
|
|||
template<typename T>
|
||||
static absl::optional<BitstreamReader> InitWithBytes(T &bitstream);
|
||||
|
||||
const std::vector<uint32_t> &words() { return words_; };
|
||||
|
||||
// Returns an iterator that yields `ConfigurationPackets`
|
||||
// as read from the bitstream.
|
||||
iterator begin();
|
||||
|
|
|
|||
Loading…
Reference in New Issue