diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-11-13 12:51:46 -0800 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-11-13 12:51:46 -0800 |
commit | 51a28947622b165ee5096408a23a11dff32305f7 (patch) | |
tree | ae4c260ccade9b193ce84d1c36a391d83d63a874 /ice40/arch.h | |
parent | 3b2b15dc4a6cdf9cadab96b1db5483d4f7082dff (diff) | |
download | nextpnr-51a28947622b165ee5096408a23a11dff32305f7.tar.gz nextpnr-51a28947622b165ee5096408a23a11dff32305f7.tar.bz2 nextpnr-51a28947622b165ee5096408a23a11dff32305f7.zip |
[ice40] getBudgetOverride() to use constrained Z not placed Z
Diffstat (limited to 'ice40/arch.h')
-rw-r--r-- | ice40/arch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ice40/arch.h b/ice40/arch.h index 90117939..f7d31b0e 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -485,6 +485,7 @@ struct Arch : BaseCtx Loc getBelLocation(BelId bel) const { + NPNR_ASSERT(bel != BelId()); Loc loc; loc.x = chip_info->bel_data[bel.index].x; loc.y = chip_info->bel_data[bel.index].y; |