aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-06-01 12:23:57 +0100
committerGitHub <noreply@github.com>2021-06-01 12:23:57 +0100
commite5c8214f2ce9e83be1ad292bcee42bfc7f28b6ca (patch)
tree0e07eea1da287eb181e9f876342e80aafe8b428a
parent665ab09d209d9aa9be4e67ef9401b8c7768e8f3c (diff)
parent315a5733d294266d9aa1ed920a7e5ca9bb7dfb6d (diff)
downloadnextpnr-e5c8214f2ce9e83be1ad292bcee42bfc7f28b6ca.tar.gz
nextpnr-e5c8214f2ce9e83be1ad292bcee42bfc7f28b6ca.tar.bz2
nextpnr-e5c8214f2ce9e83be1ad292bcee42bfc7f28b6ca.zip
Merge pull request #717 from YosysHQ/gatecat/timing-memory-fix
timing: Fix use of uninitialised value
-rw-r--r--common/timing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timing.h b/common/timing.h
index a8615e15..133bd4eb 100644
--- a/common/timing.h
+++ b/common/timing.h
@@ -247,7 +247,7 @@ struct TimingAnalyser
{
PerDomainPair(ClockDomainPairKey key) : key(key){};
ClockDomainPairKey key;
- DelayPair period;
+ DelayPair period{0};
delay_t worst_setup_slack, worst_hold_slack;
};