mirror of https://github.com/YosysHQ/icestorm.git
Only write bram data to ASCII output if bram data is present, fixes #228
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
792cef084a
commit
6943ad7afa
|
|
@ -912,7 +912,7 @@ void FpgaConfig::write_ascii(std::ostream &ofs) const
|
||||||
ofs << '\n';
|
ofs << '\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cic.tile_type == "ramb")
|
if (cic.tile_type == "ramb" && !this->bram.empty())
|
||||||
{
|
{
|
||||||
BramIndexConverter bic(this, x, y);
|
BramIndexConverter bic(this, x, y);
|
||||||
ofs << stringf(".ram_data %d %d\n", x, y);
|
ofs << stringf(".ram_data %d %d\n", x, y);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue