cores/video: Make de pin optional on VideoDVIPHY.

This commit is contained in:
Florent Kermarrec 2021-03-26 22:53:59 +01:00
parent 7556d551b4
commit 24ee6de5c2

View file

@ -658,7 +658,8 @@ class VideoDVIPHY(Module):
self.comb += pads.clk.eq(ClockSignal(clock_domain)) self.comb += pads.clk.eq(ClockSignal(clock_domain))
# Drive DVI Controls. # Drive DVI Controls.
self.specials += SDROutput(i=sink.de, o=pads.de, clk=ClockSignal(clock_domain)) if hasattr(pads, "de"):
self.specials += SDROutput(i=sink.de, o=pads.de, clk=ClockSignal(clock_domain))
self.specials += SDROutput(i=sink.hsync, o=pads.hsync, clk=ClockSignal(clock_domain)) self.specials += SDROutput(i=sink.hsync, o=pads.hsync, clk=ClockSignal(clock_domain))
self.specials += SDROutput(i=sink.vsync, o=pads.vsync, clk=ClockSignal(clock_domain)) self.specials += SDROutput(i=sink.vsync, o=pads.vsync, clk=ClockSignal(clock_domain))