aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/arch.h')
-rw-r--r--ice40/arch.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ice40/arch.h b/ice40/arch.h
index 172541c0..356f88da 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -758,9 +758,10 @@ struct Arch : BaseCtx
// -------------------------------------------------
- // Get the delay through a cell from one port to another
- delay_t getCellDelay(const CellInfo *cell, IdString fromPort,
- IdString toPort) const;
+ // 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;
// 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