build.py: support single DVI sampler

This commit is contained in:
Sebastien Bourdeauducq 2013-05-05 20:56:58 +02:00
parent d05f3d22e0
commit 11cbdf0d4f
1 changed files with 1 additions and 0 deletions

View File

@ -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;