mirror of https://github.com/YosysHQ/icestorm.git
Disabling BRAM commands in bitsream for LP384
This commit is contained in:
parent
e207307c74
commit
4d4738beea
|
|
@ -487,6 +487,8 @@ void FpgaConfig::write_bits(std::ostream &ofs) const
|
|||
|
||||
int bram_chunk_size = 128;
|
||||
|
||||
if (this->bram_width && this->bram_height)
|
||||
{
|
||||
debug("BRAM: Setting bank width to %d.\n", this->bram_width);
|
||||
write_byte(ofs, crc_value, file_offset, 0x62);
|
||||
write_byte(ofs, crc_value, file_offset, (this->bram_width-1) >> 8);
|
||||
|
|
@ -529,6 +531,7 @@ void FpgaConfig::write_bits(std::ostream &ofs) const
|
|||
write_byte(ofs, crc_value, file_offset, 0x00);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
debug("Writing CRC value.\n");
|
||||
write_byte(ofs, crc_value, file_offset, 0x22);
|
||||
|
|
|
|||
Loading…
Reference in New Issue