Fix exception condition
authorJean THOMAS <git0@pub.jeanthomas.me>
Tue, 4 Aug 2020 13:57:38 +0000 (15:57 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Tue, 4 Aug 2020 13:57:38 +0000 (15:57 +0200)
gram/core/multiplexer.py

index 9de4b2baf8476d80891c525a554a39202d481127..f9464b964b55d70e98d06961d8854db2131d31f0 100644 (file)
@@ -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()