aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--icepack/icepack.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/icepack/icepack.cc b/icepack/icepack.cc
index 5b1745a..d441042 100644
--- a/icepack/icepack.cc
+++ b/icepack/icepack.cc
@@ -912,7 +912,7 @@ void FpgaConfig::write_ascii(std::ostream &ofs) const
ofs << '\n';
}
- if (cic.tile_type == "ramb")
+ if (cic.tile_type == "ramb" && !this->bram.empty())
{
BramIndexConverter bic(this, x, y);
ofs << stringf(".ram_data %d %d\n", x, y);