aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/arch.h')
-rw-r--r--nexus/arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/arch.h b/nexus/arch.h
index 4ccb9870..15184d26 100644
--- a/nexus/arch.h
+++ b/nexus/arch.h
@@ -1117,7 +1117,7 @@ struct Arch : BaseArch<ArchRanges>
DelayQuad getPipDelay(PipId pip) const override
{
auto &cls = speed_grade->pip_classes[pip_data(pip).timing_class];
- return DelayQuad(cls.min_delay, cls.max_delay);
+ return DelayQuad(std::max(0, cls.min_delay), std::max(0, cls.max_delay));
}
UpDownhillPipRange getPipsDownhill(WireId wire) const override