diff options
author | gatecat <gatecat@ds0.me> | 2021-12-19 18:46:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-19 18:46:10 +0000 |
commit | 62a3e093856063180526b7189d5e711a98036fa0 (patch) | |
tree | d03ba5688367cb476a06b19d04ca78d0352afce3 /common/timing.cc | |
parent | 56d550733346000584b9490fac0953fe07124035 (diff) | |
parent | ddb084e9a8a0cba10536951236cde824526e8071 (diff) | |
download | nextpnr-62a3e093856063180526b7189d5e711a98036fa0.tar.gz nextpnr-62a3e093856063180526b7189d5e711a98036fa0.tar.bz2 nextpnr-62a3e093856063180526b7189d5e711a98036fa0.zip |
Merge pull request #883 from YosysHQ/gatecat/new-predictdelay
archapi: Use arbitrary rather than actual placement in predictDelay [breaking change]
Diffstat (limited to 'common/timing.cc')
-rw-r--r-- | common/timing.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timing.cc b/common/timing.cc index e305d82d..f30d4fc5 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -1378,7 +1378,7 @@ void timing_analysis(Context *ctx, bool print_histogram, bool print_fmax, bool p auto driver_wire = ctx->getNetinfoSourceWire(net); auto sink_wire = ctx->getNetinfoSinkWire(net, sink_ref, 0); log_info(" prediction: %f ns estimate: %f ns\n", - ctx->getDelayNS(ctx->predictDelay(net, sink_ref)), + ctx->getDelayNS(ctx->predictArcDelay(net, sink_ref)), ctx->getDelayNS(ctx->estimateDelay(driver_wire, sink_wire))); auto cursor = sink_wire; delay_t delay; |