From: Sebastien Bourdeauducq Date: Sun, 5 May 2013 18:56:58 +0000 (+0200) Subject: build.py: support single DVI sampler X-Git-Tag: 24jan2021_ls180~2952 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11cbdf0d4f1bb1f9581140ae4c5eb7867375c72c;p=litex.git build.py: support single DVI sampler --- diff --git a/build.py b/build.py index a1d1d791..73bd7720 100755 --- a/build.py +++ b/build.py @@ -50,6 +50,7 @@ NET "{dviclk0}" TNM_NET = "GRPdviclk0"; NET "{dviclk0}" CLOCK_DEDICATED_ROUTE = FALSE; TIMESPEC "TSdviclk0" = PERIOD "GRPdviclk0" 26.7 ns HIGH 50%; """, dviclk0=platform.lookup_request("dvi_in", 0).clk) + if hasattr(soc, "dvisampler1"): platform.add_platform_command(""" NET "{dviclk1}" TNM_NET = "GRPdviclk1"; NET "{dviclk1}" CLOCK_DEDICATED_ROUTE = FALSE;