From ff976754cf41108d43f7b34c32a0ac4e165b8647 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Fri, 2 Jun 2023 16:49:30 +0800 Subject: [PATCH] fix missing DIFF_TERM for Sampler and Mirny inputs --- artiq/gateware/eem.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/artiq/gateware/eem.py b/artiq/gateware/eem.py index 467f3cae2..c3d3a71b5 100644 --- a/artiq/gateware/eem.py +++ b/artiq/gateware/eem.py @@ -259,25 +259,25 @@ class Sampler(_EEM): ios = [ ("sampler{}_adc_spi_p".format(eem), 0, Subsignal("clk", Pins(_eem_pin(eem, 0, "p"))), - Subsignal("miso", Pins(_eem_pin(eem, 1, "p"))), + Subsignal("miso", Pins(_eem_pin(eem, 1, "p")), Misc("DIFF_TERM=TRUE")), iostandard(eem), ), ("sampler{}_adc_spi_n".format(eem), 0, Subsignal("clk", Pins(_eem_pin(eem, 0, "n"))), - Subsignal("miso", Pins(_eem_pin(eem, 1, "n"))), + Subsignal("miso", Pins(_eem_pin(eem, 1, "n")), Misc("DIFF_TERM=TRUE")), iostandard(eem), ), ("sampler{}_pgia_spi_p".format(eem), 0, Subsignal("clk", Pins(_eem_pin(eem, 4, "p"))), Subsignal("mosi", Pins(_eem_pin(eem, 5, "p"))), - Subsignal("miso", Pins(_eem_pin(eem, 6, "p"))), + Subsignal("miso", Pins(_eem_pin(eem, 6, "p")), Misc("DIFF_TERM=TRUE")), Subsignal("cs_n", Pins(_eem_pin(eem, 7, "p"))), iostandard(eem), ), ("sampler{}_pgia_spi_n".format(eem), 0, Subsignal("clk", Pins(_eem_pin(eem, 4, "n"))), Subsignal("mosi", Pins(_eem_pin(eem, 5, "n"))), - Subsignal("miso", Pins(_eem_pin(eem, 6, "n"))), + Subsignal("miso", Pins(_eem_pin(eem, 6, "n")), Misc("DIFF_TERM=TRUE")), Subsignal("cs_n", Pins(_eem_pin(eem, 7, "n"))), iostandard(eem), ), @@ -633,14 +633,14 @@ class Mirny(_EEM): ("mirny{}_spi_p".format(eem), 0, Subsignal("clk", Pins(_eem_pin(eem, 0, "p"))), Subsignal("mosi", Pins(_eem_pin(eem, 1, "p"))), - Subsignal("miso", Pins(_eem_pin(eem, 2, "p"))), + Subsignal("miso", Pins(_eem_pin(eem, 2, "p")), Misc("DIFF_TERM=TRUE")), Subsignal("cs_n", Pins(_eem_pin(eem, 3, "p"))), iostandard(eem), ), ("mirny{}_spi_n".format(eem), 0, Subsignal("clk", Pins(_eem_pin(eem, 0, "n"))), Subsignal("mosi", Pins(_eem_pin(eem, 1, "n"))), - Subsignal("miso", Pins(_eem_pin(eem, 2, "n"))), + Subsignal("miso", Pins(_eem_pin(eem, 2, "n")), Misc("DIFF_TERM=TRUE")), Subsignal("cs_n", Pins(_eem_pin(eem, 3, "n"))), iostandard(eem), ),