diff options
author | David Shah <davey1576@gmail.com> | 2018-08-08 19:23:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 19:23:47 +0200 |
commit | cd4e761bb799ca99f02d3aa177961af28a93f2d8 (patch) | |
tree | a6424fb4ea70b868efb1375bb9cf3db992e3059c /ecp5/arch.h | |
parent | 2390f7f59c05870845da349536cb384964cdb874 (diff) | |
parent | 751335977fe7d69b23f6110ec4938408ec7a7ff8 (diff) | |
download | nextpnr-cd4e761bb799ca99f02d3aa177961af28a93f2d8.tar.gz nextpnr-cd4e761bb799ca99f02d3aa177961af28a93f2d8.tar.bz2 nextpnr-cd4e761bb799ca99f02d3aa177961af28a93f2d8.zip |
Merge pull request #44 from YosysHQ/improve_timing_spec
Speed up budget allocator using topographical ordering and update cell timing API
Diffstat (limited to 'ecp5/arch.h')
-rw-r--r-- | ecp5/arch.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h index 55c1caa1..8a212ed0 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -828,10 +828,8 @@ struct Arch : BaseCtx // Get the delay through a cell from one port to another, returning false // if no path exists bool getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, DelayInfo &delay) const; - // Get the associated clock to a port, or empty if the port is combinational - IdString getPortClock(const CellInfo *cell, IdString port) const; - // Return true if a port is a clock - bool isClockPort(const CellInfo *cell, IdString port) const; + // Get the port class, also setting clockPort if applicable + TimingPortClass getPortTimingClass(const CellInfo *cell, IdString port, IdString &clockPort) const; // Return true if a port is a net bool isGlobalNet(const NetInfo *net) const; |