From: Jean THOMAS Date: Mon, 29 Jun 2020 12:26:51 +0000 (+0200) Subject: Use BB instead of TRELLIS_IO X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=398af20f010637c9e1f49ae3663bf992d81b88d0;p=gram.git Use BB instead of TRELLIS_IO --- 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,