Disable Assert statements until they are natively supported in nMigen
authorJean THOMAS <git0@pub.jeanthomas.me>
Thu, 9 Jul 2020 13:08:12 +0000 (15:08 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Thu, 9 Jul 2020 13:08:12 +0000 (15:08 +0200)
gram/phy/fakephy.py

index 274843c61d7960a1ae6e34a16c906805eb8367d2..7b7326fa17ccc5a392f01e62c656b754b23d5ebc 100644 (file)
@@ -7,7 +7,6 @@
 # - add multirank support.
 
 from nmigen import *
-from nmigen.asserts import Assert, Assume
 from nmigen.utils import log2_int
 
 from gram.common import burst_lengths
@@ -26,6 +25,9 @@ SDRAM_VERBOSE_DBG = 2
 def Display(*args):
     return Signal().eq(0)
 
+def Assert(*args):
+    return Signal().eq(0)
+
 # Bank Model ---------------------------------------------------------------------------------------
 
 class BankModel(Elaboratable):