ice40: Fix order of values in error
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
6829e4c197
commit
d290766101
@ -1090,7 +1090,7 @@ void set_period(Context *ctx, CellInfo *ci, IdString port, delay_t period)
|
|||||||
if (!equals_epsilon(to->clkconstr->period.maxDelay(), period))
|
if (!equals_epsilon(to->clkconstr->period.maxDelay(), period))
|
||||||
log_warning(" Overriding derived constraint of %.1f MHz on net %s with user-specified constraint of "
|
log_warning(" Overriding derived constraint of %.1f MHz on net %s with user-specified constraint of "
|
||||||
"%.1f MHz.\n",
|
"%.1f MHz.\n",
|
||||||
MHz(ctx, to->clkconstr->period.maxDelay()), to->name.c_str(ctx), MHz(ctx, period));
|
MHz(ctx, period), to->name.c_str(ctx), MHz(ctx, to->clkconstr->period.maxDelay()));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
to->clkconstr = std::unique_ptr<ClockConstraint>(new ClockConstraint());
|
to->clkconstr = std::unique_ptr<ClockConstraint>(new ClockConstraint());
|
||||||
|
Loading…
Reference in New Issue
Block a user