diff options
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r-- | ecp5/arch.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h index 35c8df19..583d539f 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -491,7 +491,7 @@ struct Arch : BaseCtx BelId getBelByLocation(Loc loc) const; BelRange getBelsByTile(int x, int y) const; - bool getBelGlobalBuf(BelId bel) const { return false; } + bool getBelGlobalBuf(BelId bel) const { return getBelType(bel) == id_DCCA; } bool checkBelAvail(BelId bel) const { @@ -917,6 +917,9 @@ struct Arch : BaseCtx GlobalInfoPOD globalInfoAtLoc(Location loc); + // Apply LPF constraints to the context + bool applyLPF(std::string filename, std::istream &in); + IdString id_trellis_slice; IdString id_clk, id_lsr; IdString id_clkmux, id_lsrmux; |