diff options
author | David Shah <dave@ds0.me> | 2018-11-04 14:58:25 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2018-11-12 14:03:58 +0000 |
commit | dab70466cdce724611904e066197feef564f3eea (patch) | |
tree | d627f399b6784fd1d26dcb7f874f885bc7b3d1a6 /generic/arch.cc | |
parent | 8af86ff37d3f370f2bf9add46261f3b5a6b3f5a4 (diff) | |
download | nextpnr-dab70466cdce724611904e066197feef564f3eea.tar.gz nextpnr-dab70466cdce724611904e066197feef564f3eea.tar.bz2 nextpnr-dab70466cdce724611904e066197feef564f3eea.zip |
generic: Update arch to new timing API
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'generic/arch.cc')
-rw-r--r-- | generic/arch.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/generic/arch.cc b/generic/arch.cc index 3e95159a..4439f517 100644 --- a/generic/arch.cc +++ b/generic/arch.cc @@ -461,11 +461,16 @@ bool Arch::getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort } // Get the port class, also setting clockPort if applicable -TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, IdString &clockPort) const +TimingPortClass Arch::getPortTimingClass(const CellInfo *cell, IdString port, int &clockInfoCount) const { return TMG_IGNORE; } +TimingClockingInfo Arch::getPortClockingInfo(const CellInfo *cell, IdString port, int index) const +{ + NPNR_ASSERT_FALSE("no clocking info for generic"); +} + bool Arch::isValidBelForCell(CellInfo *cell, BelId bel) const { return true; } bool Arch::isBelLocationValid(BelId bel) const { return true; } |