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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user