aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2018-11-02 13:35:59 +0000
committerDavid Shah <dave@ds0.me>2018-11-12 14:03:58 +0000
commit122771cac312ddff2735e9c1ecd694c8599027b6 (patch)
treebfc41999b712f0dbeb08ae036867a985958cff90 /ice40/arch.h
parent3ca02cc55c543829ab608b82af79f3747bc2c808 (diff)
downloadnextpnr-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.h6
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;