From 29cb7e785d94cbb6f0633f9195560b92c0eed335 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 3cc55e3f0..bcb3db7be 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), ),