aboutsummaryrefslogtreecommitdiffstats
path: root/mistral
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-02-16 13:39:57 +0000
committergatecat <gatecat@ds0.me>2022-02-16 13:39:57 +0000
commit02e6d2dbca0433e6f873c6af635cee701e84f5f5 (patch)
treeb6667bb39bb07d92ce20a101b5d6b6c656eca8cf /mistral
parentf3ee0d51a9546afe77a31d2a1e98a0bbee4659fa (diff)
downloadnextpnr-02e6d2dbca0433e6f873c6af635cee701e84f5f5.tar.gz
nextpnr-02e6d2dbca0433e6f873c6af635cee701e84f5f5.tar.bz2
nextpnr-02e6d2dbca0433e6f873c6af635cee701e84f5f5.zip
mistral: Fix 'not handled in switch' compiler warning
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral')
-rw-r--r--mistral/delay.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/mistral/delay.cc b/mistral/delay.cc
index 98ef1be6..4d123249 100644
--- a/mistral/delay.cc
+++ b/mistral/delay.cc
@@ -235,8 +235,9 @@ DelayQuad Arch::getPipDelay(PipId pip) const
return DelayQuad{123};
case CycloneV::rnode_type_t::TCLK:
return DelayQuad{46};
+ default:
+ return DelayQuad{308};
}
- return DelayQuad{308};
}
delay_t Arch::predictDelay(BelId src_bel, IdString src_pin, BelId dst_bel, IdString dst_pin) const