sipeed_tang_primer_20k: Drive hdmi hdp to 1.

This commit is contained in:
Florent Kermarrec 2022-09-07 11:22:02 +02:00
parent abd20f560b
commit c9b8579ea3
1 changed files with 3 additions and 1 deletions

View File

@ -120,7 +120,9 @@ class BaseSoC(SoCCore):
# Video ------------------------------------------------------------------------------------ # Video ------------------------------------------------------------------------------------
if with_video_terminal: if with_video_terminal:
# FIXME: Un-tested. # FIXME: Un-tested.
self.submodules.videophy = VideoHDMIPHY(platform.request("hdmi"), clock_domain="hdmi", pn_swap=["r", "g", "b"]) hdmi_pads = platform.request("hdmi")
self.comb += hdmi_pads.hdp.eq(1)
self.submodules.videophy = VideoHDMIPHY(hdmi_pads, clock_domain="hdmi", pn_swap=["r", "g", "b"])
self.add_video_colorbars(phy=self.videophy, timings="640x480@60Hz", clock_domain="hdmi") self.add_video_colorbars(phy=self.videophy, timings="640x480@60Hz", clock_domain="hdmi")
#self.add_video_terminal(phy=self.videophy, timings="640x480@75Hz", clock_domain="hdmi") #self.add_video_terminal(phy=self.videophy, timings="640x480@75Hz", clock_domain="hdmi")