stlv7325: fix HDMI io standard

This commit is contained in:
Hans Baier 2023-04-07 09:50:04 +07:00
parent 2f13decc49
commit 52ca60c2ac
1 changed files with 8 additions and 8 deletions

View File

@ -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)),