aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-30 16:59:30 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-30 16:59:30 +0200
commitb09183db3bf5b08c1a1151e044f9df5f6dc445d8 (patch)
tree811784ef879ba5fa31616c8b29e6e84a9885f106 /ecp5
parent66a5b99f02b41c415911a7f2e045d167699cd82f (diff)
downloadnextpnr-b09183db3bf5b08c1a1151e044f9df5f6dc445d8.tar.gz
nextpnr-b09183db3bf5b08c1a1151e044f9df5f6dc445d8.tar.bz2
nextpnr-b09183db3bf5b08c1a1151e044f9df5f6dc445d8.zip
Use DelayInfo for cell timing instead of delay_t
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc2
-rw-r--r--ecp5/arch.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index 55fe5704..c8617190 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -440,7 +440,7 @@ DecalXY Arch::getGroupDecal(GroupId pip) const { return {}; };
// -----------------------------------------------------------------------
-bool Arch::getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, delay_t &delay) const
+bool Arch::getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, DelayInfo &delay) const
{
return false;
}
diff --git a/ecp5/arch.h b/ecp5/arch.h
index b6aac9cf..7d183e11 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -801,7 +801,7 @@ 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, delay_t &delay) const;
+ bool getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, DelayInfo &delay) const;
// Get the associated clock to a port, or empty if the port is combinational
IdString getPortClock(const CellInfo *cell, IdString port) const;
// Return true if a port is a clock