targets/mlabs_video: use outer video inputs
authorSebastien Bourdeauducq <sb@m-labs.hk>
Thu, 13 Feb 2014 21:07:23 +0000 (22:07 +0100)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Thu, 13 Feb 2014 21:07:23 +0000 (22:07 +0100)
targets/mlabs_video.py

index 6533fe064cbb114908dce247269c403c20b1a8f1..e7e38774297f3d140e69fe4b10731717bc3e8d27 100644 (file)
@@ -137,8 +137,8 @@ class VideomixerSoC(MiniSoC):
                self.submodules.fb = framebuffer.MixFramebuffer(pads_vga, pads_dvi,
                        self.lasmixbar.get_master(), self.lasmixbar.get_master())
                _add_vga_tig(platform, self.fb)
-               self.submodules.dvisampler0 = dvisampler.DVISampler(platform.request("dvi_in", 0), self.lasmixbar.get_master())
-               self.submodules.dvisampler1 = dvisampler.DVISampler(platform.request("dvi_in", 1), self.lasmixbar.get_master())
+               self.submodules.dvisampler0 = dvisampler.DVISampler(platform.request("dvi_in", 2), self.lasmixbar.get_master())
+               self.submodules.dvisampler1 = dvisampler.DVISampler(platform.request("dvi_in", 3), self.lasmixbar.get_master())
 
 def get_default_subtarget(platform):
        if platform.name == "mixxeo":