From cf5db01dd47a1e5625ecd94408c8f039f2d5428e Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Tue, 4 Aug 2020 15:57:38 +0200 Subject: [PATCH] Fix exception condition --- gram/core/multiplexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gram/core/multiplexer.py b/gram/core/multiplexer.py index 9de4b2b..f9464b9 100644 --- a/gram/core/multiplexer.py +++ b/gram/core/multiplexer.py @@ -206,7 +206,7 @@ class _Steerer(Elaboratable): class _AntiStarvation(Elaboratable): def __init__(self, timeout): - if timeout <= 2: + if timeout < 2: raise ValueError("Timeout values under 2 are not currently supported") self.en = Signal() -- 2.30.2