diff options
author | Lofty <dan.ravensloft@gmail.com> | 2021-10-09 20:48:31 +0100 |
---|---|---|
committer | Lofty <dan.ravensloft@gmail.com> | 2021-10-10 23:56:58 +0100 |
commit | 0a0c9393c1277b2e175d348fb4aca2a4d73ad61c (patch) | |
tree | 0fec85535cb1a2abe5dda75409512e7e28afcfc4 /mistral/arch.h | |
parent | b749ef5f563fa9d099b158c2e493e8734558a327 (diff) | |
download | nextpnr-0a0c9393c1277b2e175d348fb4aca2a4d73ad61c.tar.gz nextpnr-0a0c9393c1277b2e175d348fb4aca2a4d73ad61c.tar.bz2 nextpnr-0a0c9393c1277b2e175d348fb4aca2a4d73ad61c.zip |
mistral: very basic timing info
Diffstat (limited to 'mistral/arch.h')
-rw-r--r-- | mistral/arch.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mistral/arch.h b/mistral/arch.h index 77a35caf..9295692f 100644 --- a/mistral/arch.h +++ b/mistral/arch.h @@ -380,7 +380,6 @@ struct Arch : BaseArch<ArchRanges> IdStringList getPipName(PipId pip) const override; WireId getPipSrcWire(PipId pip) const override { return WireId(pip.src); }; WireId getPipDstWire(PipId pip) const override { return WireId(pip.dst); }; - DelayQuad getPipDelay(PipId pip) const override { return DelayQuad(100); } UpDownhillPipRange getPipsDownhill(WireId wire) const override { return UpDownhillPipRange(wires.at(wire).wires_downhill, wire, false); @@ -428,6 +427,11 @@ struct Arch : BaseArch<ArchRanges> ArcBounds getRouteBoundingBox(WireId src, WireId dst) const override; + TimingPortClass getPortTimingClass(const CellInfo *cell, IdString port, int &clockInfoCount) const override; // delay.cc + TimingClockingInfo getPortClockingInfo(const CellInfo *cell, IdString port, int index) const override; // delay.cc + bool getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, DelayQuad &delay) const override; // delay.cc + DelayQuad getPipDelay(PipId pip) const override; // delay.cc + // ------------------------------------------------- const std::vector<IdString> &getBelPinsForCellPin(const CellInfo *cell_info, IdString pin) const override |