diff options
author | David Shah <dave@ds0.me> | 2018-11-02 13:35:59 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2018-11-12 14:03:58 +0000 |
commit | 122771cac312ddff2735e9c1ecd694c8599027b6 (patch) | |
tree | bfc41999b712f0dbeb08ae036867a985958cff90 /ice40/arch.h | |
parent | 3ca02cc55c543829ab608b82af79f3747bc2c808 (diff) | |
download | nextpnr-122771cac312ddff2735e9c1ecd694c8599027b6.tar.gz nextpnr-122771cac312ddff2735e9c1ecd694c8599027b6.tar.bz2 nextpnr-122771cac312ddff2735e9c1ecd694c8599027b6.zip |
timing: iCE40 Arch API changes for clocking info
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ice40/arch.h')
-rw-r--r-- | ice40/arch.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ice40/arch.h b/ice40/arch.h index bdcee3b8..ff2f7e4c 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -798,8 +798,10 @@ 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 port class, also setting clockDomain if applicable - TimingPortClass getPortTimingClass(const CellInfo *cell, IdString port, IdString &clockDomain) const; + // Get the port class, also setting clockInfoCount to the number of TimingClockingInfos associated with a port + TimingPortClass getPortTimingClass(const CellInfo *cell, IdString port, int &clockInfoCount) const; + // Get the TimingClockingInfo of a port + TimingClockingInfo getPortClockingInfo(const CellInfo *cell, IdString port, int index) const; // Return true if a port is a net bool isGlobalNet(const NetInfo *net) const; |