From 78546b275d1ed81e629c182a6deeede53514551c Mon Sep 17 00:00:00 2001 From: Rick Altherr Date: Mon, 11 Dec 2017 14:06:21 -0800 Subject: [PATCH] lib: xc7series: add accessor to get words in a bitstream Signed-off-by: Rick Altherr Signed-off-by: Tim 'mithro' Ansell --- lib/include/prjxray/xilinx/xc7series/bitstream_reader.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/include/prjxray/xilinx/xc7series/bitstream_reader.h b/lib/include/prjxray/xilinx/xc7series/bitstream_reader.h index 218650fc..7b6ad034 100644 --- a/lib/include/prjxray/xilinx/xc7series/bitstream_reader.h +++ b/lib/include/prjxray/xilinx/xc7series/bitstream_reader.h @@ -49,6 +49,8 @@ class BitstreamReader { template static absl::optional InitWithBytes(T &bitstream); + const std::vector &words() { return words_; }; + // Returns an iterator that yields `ConfigurationPackets` // as read from the bitstream. iterator begin();