diff options
Diffstat (limited to 'fpga_interchange/site_lut_mapping_cache.cc')
-rw-r--r-- | fpga_interchange/site_lut_mapping_cache.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fpga_interchange/site_lut_mapping_cache.cc b/fpga_interchange/site_lut_mapping_cache.cc index 44a72772..3796d7ab 100644 --- a/fpga_interchange/site_lut_mapping_cache.cc +++ b/fpga_interchange/site_lut_mapping_cache.cc @@ -75,8 +75,7 @@ SiteLutMappingKey SiteLutMappingKey::create (const SiteInformation& siteInfo) { cell.type = cellInfo->type; cell.belIndex = cellInfo->bel.index; - memset((void*)cell.conns, 0, - sizeof(int32_t) * SiteLutMappingKey::MAX_LUT_INPUTS); + cell.conns.fill(0); size_t portId = 0; for (const auto& port : cellInfo->ports) { |