From 20aa0a0eedbce02f50e134772dcd2b4a5be830e4 Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 16 Nov 2018 13:18:53 +0000 Subject: ice40: Remove unnecessary RAM assertion Fixes #121 Signed-off-by: David Shah --- ice40/bitstream.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'ice40/bitstream.cc') 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 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; -- cgit v1.2.3