1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-05-04 15:15:34 +00:00

ecp5: Update arch to new timing API

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah
2018-11-04 14:51:48 +00:00
parent bd2b3e5e02
commit 8af86ff37d
3 changed files with 73 additions and 17 deletions

View File

@@ -530,8 +530,7 @@ void timing_analysis(Context *ctx, bool print_histogram, bool print_fmax, bool p
Fmax = 1000 / ctx->getDelayNS(path.second.path_delay);
else
Fmax = 500 / ctx->getDelayNS(path.second.path_delay);
if (!clock_fmax.count(a.clock) ||
Fmax < clock_fmax.at(a.clock)) {
if (!clock_fmax.count(a.clock) || Fmax < clock_fmax.at(a.clock)) {
clock_reports[a.clock] = path;
clock_fmax[a.clock] = Fmax;
}