From: Jean THOMAS Date: Mon, 22 Jun 2020 13:18:03 +0000 (+0200) Subject: Use TRELLIS_IO instead of BB in ECP5 PHY X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a87f9c0b04c3cdebce5727a2fa0459e04d2c285f;p=gram.git Use TRELLIS_IO instead of BB in ECP5 PHY --- diff --git a/gram/phy/ecp5ddrphy.py b/gram/phy/ecp5ddrphy.py index a65f053..ad1c5f4 100644 --- a/gram/phy/ecp5ddrphy.py +++ b/gram/phy/ecp5ddrphy.py @@ -376,11 +376,13 @@ class ECP5DDRPHY(Peripheral, Elaboratable): dqs_pattern.postamble), o_Q=dqs_oe_n ), - Instance("BB", - i_I=dqs, - i_T=dqs_oe_n, - o_O=dqs_i, - io_B=self.pads.dqs.io[i]), + Instance("TRELLIS_IO", + p_DIR="BIDIR", + i_I=dqs, + i_T=dqs_oe_n, + o_O=dqs_i, + io_B=self.pads.dqs.io[i] + ) ] for j in range(8*i, 8*(i+1)): @@ -473,11 +475,13 @@ class ECP5DDRPHY(Peripheral, Elaboratable): dqs_pattern.postamble), o_Q=dq_oe_n, ), - Instance("BB", + Instance("TRELLIS_IO", + p_DIR="BIDIR", i_I=dq_o, i_T=dq_oe_n, o_O=dq_i, - io_B=self.pads.dq.io[j]), + io_B=self.pads.dq.io[j] + ) ] # Read Control Path ------------------------------------------------------------------------