From 517a4ee12c36e1bbda971386209358b4771448d5 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Thu, 9 Jul 2020 15:08:12 +0200 Subject: [PATCH] Disable Assert statements until they are natively supported in nMigen --- gram/phy/fakephy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gram/phy/fakephy.py b/gram/phy/fakephy.py index 274843c..7b7326f 100644 --- a/gram/phy/fakephy.py +++ b/gram/phy/fakephy.py @@ -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): -- 2.30.2