diff options
author | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-24 14:02:21 -0800 |
---|---|---|
committer | Keith Rothman <537074+litghost@users.noreply.github.com> | 2021-02-26 11:01:22 -0800 |
commit | cfa449c3f3c5b151eb11ef79bc2cf571e98bbbed (patch) | |
tree | 38d78928c17745e07689a9d6d4bfdfcdf4e36b1f /common | |
parent | 9cbfd0b967f5804472afbb91d8df92e69dffe659 (diff) | |
download | nextpnr-cfa449c3f3c5b151eb11ef79bc2cf571e98bbbed.tar.gz nextpnr-cfa449c3f3c5b151eb11ef79bc2cf571e98bbbed.tar.bz2 nextpnr-cfa449c3f3c5b151eb11ef79bc2cf571e98bbbed.zip |
Initial LUT rotation logic.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/dynamic_bitarray.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/dynamic_bitarray.h b/common/dynamic_bitarray.h index 10a85fbc..2b5ab2bc 100644 --- a/common/dynamic_bitarray.h +++ b/common/dynamic_bitarray.h @@ -70,6 +70,8 @@ template <typename Storage = std::vector<uint8_t>> class DynamicBitarray size_t size() const { return storage.size() * bits_per_value(); } + void clear() { return storage.clear(); } + private: Storage storage; }; |