From 52ca60c2ac53751816f6cb02b1ba3f2a70abde0e Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Fri, 7 Apr 2023 09:50:04 +0700 Subject: [PATCH] stlv7325: fix HDMI io standard --- litex_boards/platforms/sitlinv_stlv7325.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/litex_boards/platforms/sitlinv_stlv7325.py b/litex_boards/platforms/sitlinv_stlv7325.py index da67bb4..0c6a84d 100644 --- a/litex_boards/platforms/sitlinv_stlv7325.py +++ b/litex_boards/platforms/sitlinv_stlv7325.py @@ -187,14 +187,14 @@ def _get_io(voltage="2.5V"): # HDMI out ("hdmi_out", 0, - Subsignal("clk_p", Pins("R21"), IOStandard("TMDS_" + VCCIO)), - Subsignal("clk_n", Pins("P21"), IOStandard("TMDS_" + VCCIO)), - Subsignal("data0_p", Pins("N18"), IOStandard("TMDS_" + VCCIO)), - Subsignal("data0_n", Pins("M19"), IOStandard("TMDS_" + VCCIO)), - Subsignal("data1_p", Pins("M21"), IOStandard("TMDS_" + VCCIO)), - Subsignal("data1_n", Pins("M22"), IOStandard("TMDS_" + VCCIO)), - Subsignal("data2_p", Pins("K25"), IOStandard("TMDS_" + VCCIO)), - Subsignal("data2_n", Pins("K26"), IOStandard("TMDS_" + VCCIO)), + Subsignal("clk_p", Pins("R21"), IOStandard("TMDS_33" if VCCIO == "33" else "LVDS_25")), + Subsignal("clk_n", Pins("P21"), IOStandard("TMDS_33" if VCCIO == "33" else "LVDS_25")), + Subsignal("data0_p", Pins("N18"), IOStandard("TMDS_33" if VCCIO == "33" else "LVDS_25")), + Subsignal("data0_n", Pins("M19"), IOStandard("TMDS_33" if VCCIO == "33" else "LVDS_25")), + Subsignal("data1_p", Pins("M21"), IOStandard("TMDS_33" if VCCIO == "33" else "LVDS_25")), + Subsignal("data1_n", Pins("M22"), IOStandard("TMDS_33" if VCCIO == "33" else "LVDS_25")), + Subsignal("data2_p", Pins("K25"), IOStandard("TMDS_33" if VCCIO == "33" else "LVDS_25")), + Subsignal("data2_n", Pins("K26"), IOStandard("TMDS_33" if VCCIO == "33" else "LVDS_25")), Subsignal("scl", Pins("K21"), IOStandard("LVCMOS" + VCCIO)), Subsignal("sda", Pins("L23"), IOStandard("LVCMOS" + VCCIO)), Subsignal("hdp", Pins("N26"), IOStandard("LVCMOS" + VCCIO)),