diff options
author | David Shah <dave@ds0.me> | 2018-11-16 13:18:53 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2018-11-16 13:18:53 +0000 |
commit | 20aa0a0eedbce02f50e134772dcd2b4a5be830e4 (patch) | |
tree | 87c2f7505f2647dea64359091acebcf606dfa3b6 | |
parent | cfaa6c0e5de72e25da996f1fcda1d9caa58e4d1f (diff) | |
download | nextpnr-20aa0a0eedbce02f50e134772dcd2b4a5be830e4.tar.gz nextpnr-20aa0a0eedbce02f50e134772dcd2b4a5be830e4.tar.bz2 nextpnr-20aa0a0eedbce02f50e134772dcd2b4a5be830e4.zip |
ice40: Remove unnecessary RAM assertion
Fixes #121
Signed-off-by: David Shah <dave@ds0.me>
-rw-r--r-- | ice40/bitstream.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ice40/bitstream.cc b/ice40/bitstream.cc index 4cfed52d..4efb1091 100644 --- a/ice40/bitstream.cc +++ b/ice40/bitstream.cc @@ -775,7 +775,6 @@ void write_asc(const Context *ctx, std::ostream &out) std::vector<bool> bits(256);
std::string init =
get_param_str_or_def(cell.second.get(), ctx->id(std::string("INIT_") + get_hexdigit(w)));
- NPNR_ASSERT(init != "");
for (size_t i = 0; i < init.size(); i++) {
bool val = (init.at((init.size() - 1) - i) == '1');
bits.at(i) = val;
|