aboutsummaryrefslogtreecommitdiffstats
path: root/icepack
diff options
context:
space:
mode:
Diffstat (limited to 'icepack')
-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);