aboutsummaryrefslogtreecommitdiffstats
path: root/dummy
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-20 12:21:56 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-20 12:21:56 +0200
commit5ca4663294aff1f4af45e9abfffa20c1e44ea017 (patch)
tree256ca52df0b1a05f5afcde3954076da64b71237c /dummy
parent2a41211ce1955a44ca363ba6000c38feb3883e32 (diff)
downloadnextpnr-5ca4663294aff1f4af45e9abfffa20c1e44ea017.tar.gz
nextpnr-5ca4663294aff1f4af45e9abfffa20c1e44ea017.tar.bz2
nextpnr-5ca4663294aff1f4af45e9abfffa20c1e44ea017.zip
Working on the timing budget annnotator
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'dummy')
-rw-r--r--dummy/arch.cc6
-rw-r--r--dummy/arch.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/dummy/arch.cc b/dummy/arch.cc
index 64841374..fa0d8bd3 100644
--- a/dummy/arch.cc
+++ b/dummy/arch.cc
@@ -178,10 +178,10 @@ std::vector<GraphicElement> Arch::getPipGraphics(PipId pip) const
// ---------------------------------------------------------------
-delay_t Arch::getCellDelay(const CellInfo *cell, IdString fromPort,
- IdString toPort) const
+bool Arch::getCellDelay(const CellInfo *cell, IdString fromPort,
+ IdString toPort, delay_t &delay) const
{
- return 0;
+ return false;
}
IdString Arch::getPortClock(const CellInfo *cell, IdString port) const
diff --git a/dummy/arch.h b/dummy/arch.h
index 61a09e00..39c48232 100644
--- a/dummy/arch.h
+++ b/dummy/arch.h
@@ -134,8 +134,8 @@ struct Arch : BaseCtx
std::unordered_set<WireId> wireGraphicsReload;
std::unordered_set<PipId> pipGraphicsReload;
- delay_t getCellDelay(const CellInfo *cell, IdString fromPort,
- IdString toPort) const;
+ bool getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort,
+ delay_t &delay) const;
IdString getPortClock(const CellInfo *cell, IdString port) const;
bool isClockPort(const CellInfo *cell, IdString port) const;
};