diff options
author | gatecat <gatecat@ds0.me> | 2021-10-11 14:35:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 14:35:28 +0100 |
commit | 349cbdf9da230c04671f7a7bcc2f2ea07f180de4 (patch) | |
tree | a4a7dde2ba9738f6034eaa45b81c5801483e70a2 /mistral/arch.h | |
parent | 9963f76583ba133e9bdd1e71af167b4ce7f87381 (diff) | |
parent | 0a0c9393c1277b2e175d348fb4aca2a4d73ad61c (diff) | |
download | nextpnr-349cbdf9da230c04671f7a7bcc2f2ea07f180de4.tar.gz nextpnr-349cbdf9da230c04671f7a7bcc2f2ea07f180de4.tar.bz2 nextpnr-349cbdf9da230c04671f7a7bcc2f2ea07f180de4.zip |
Merge pull request #843 from Ravenslofty/lofty/mistral-basic-timing
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 |