aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fpga_interchange/site_lut_mapping_cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpga_interchange/site_lut_mapping_cache.cc b/fpga_interchange/site_lut_mapping_cache.cc
index 3796d7ab..86f39f2c 100644
--- a/fpga_interchange/site_lut_mapping_cache.cc
+++ b/fpga_interchange/site_lut_mapping_cache.cc
@@ -127,8 +127,8 @@ bool SiteLutMappingResult::apply (const SiteInformation& siteInfo) {
NPNR_ASSERT(cellInfo);
// Double check BEL binding
- NPNR_ASSERT(cellInfo->bel.tile = siteInfo.tile);
- NPNR_ASSERT(cellInfo->bel.index = cell.belIndex);
+ NPNR_ASSERT(cellInfo->bel.tile == siteInfo.tile);
+ NPNR_ASSERT(cellInfo->bel.index == cell.belIndex);
// Cell <-> BEL pin map
size_t numPins = cellInfo->lut_cell.pins.size();