From 398af20f010637c9e1f49ae3663bf992d81b88d0 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Mon, 29 Jun 2020 14:26:51 +0200 Subject: [PATCH] Use BB instead of TRELLIS_IO --- gram/phy/ecp5ddrphy.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gram/phy/ecp5ddrphy.py b/gram/phy/ecp5ddrphy.py index ad1c5f4..3611a5e 100644 --- a/gram/phy/ecp5ddrphy.py +++ b/gram/phy/ecp5ddrphy.py @@ -74,7 +74,6 @@ class ECP5DDRPHYInit(Elaboratable): # Wait DDRDLLA Lock m.d.comb += tl.trigger.eq(new_lock) - # ------------------------------------------------------------------------------------------ m.d.comb += [ self.pause.eq(pause), self.stop.eq(stop), @@ -376,8 +375,8 @@ class ECP5DDRPHY(Peripheral, Elaboratable): dqs_pattern.postamble), o_Q=dqs_oe_n ), - Instance("TRELLIS_IO", - p_DIR="BIDIR", + Instance("BB", + #p_DIR="BIDIR", i_I=dqs, i_T=dqs_oe_n, o_O=dqs_i, @@ -475,8 +474,8 @@ class ECP5DDRPHY(Peripheral, Elaboratable): dqs_pattern.postamble), o_Q=dq_oe_n, ), - Instance("TRELLIS_IO", - p_DIR="BIDIR", + Instance("BB", + #p_DIR="BIDIR", i_I=dq_o, i_T=dq_oe_n, o_O=dq_i, -- 2.30.2