From 02e6d2dbca0433e6f873c6af635cee701e84f5f5 Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 16 Feb 2022 13:39:57 +0000 Subject: mistral: Fix 'not handled in switch' compiler warning Signed-off-by: gatecat --- mistral/delay.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mistral/delay.cc') 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 -- cgit v1.2.3