diff options
Diffstat (limited to 'fpga_interchange/site_arch.h')
-rw-r--r-- | fpga_interchange/site_arch.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fpga_interchange/site_arch.h b/fpga_interchange/site_arch.h index f8524586..95b6fcba 100644 --- a/fpga_interchange/site_arch.h +++ b/fpga_interchange/site_arch.h @@ -289,6 +289,12 @@ struct SiteArch inline SiteWire getPipSrcWire(const SitePip &site_pip) const NPNR_ALWAYS_INLINE; inline SiteWire getPipDstWire(const SitePip &site_pip) const NPNR_ALWAYS_INLINE; + // Does this site pip always invert its signal? + inline bool isInverting(const SitePip &site_pip) const NPNR_ALWAYS_INLINE; + + // Can this site pip optional invert its signal? + inline bool canInvert(const SitePip &site_pip) const NPNR_ALWAYS_INLINE; + inline SitePipDownhillRange getPipsDownhill(const SiteWire &site_wire) const NPNR_ALWAYS_INLINE; inline SitePipUphillRange getPipsUphill(const SiteWire &site_wire) const NPNR_ALWAYS_INLINE; SiteWireRange getWires() const; @@ -341,6 +347,7 @@ struct SiteArch void archcheck(); bool is_pip_synthetic(const SitePip &pip) const NPNR_ALWAYS_INLINE; + SyntheticType pip_synthetic_type(const SitePip &pip) const NPNR_ALWAYS_INLINE; }; struct SitePipDownhillIterator |