Skip to content

Commit

Permalink
hdl/framebuffer/phy: give a name to cd_pix.clk bufg when used as slave
Browse files Browse the repository at this point in the history
this will avoid random P&R issue
  • Loading branch information
enjoy-digital committed Aug 21, 2015
1 parent 0c8bd64 commit ea56f1a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hdl/framebuffer/phy.py
Expand Up @@ -179,7 +179,7 @@ def __init__(self, pads_vga, pads_dvi, external_clocking):

else:
self.clock_domains.cd_pix = ClockDomain(reset_less=True)
self.specials += Instance("BUFG", i_I=external_clocking.pll_clk2, o_O=self.cd_pix.clk)
self.specials += Instance("BUFG", name="dviout_pix_bufg", i_I=external_clocking.pll_clk2, o_O=self.cd_pix.clk)
if pads_dvi is not None:
self.clock_domains.cd_pix2x = ClockDomain(reset_less=True)
self.clock_domains.cd_pix10x = ClockDomain(reset_less=True)
Expand Down
2 changes: 1 addition & 1 deletion targets/atlys_hdmi2usb.py
Expand Up @@ -41,7 +41,7 @@ def __init__(self, platform, **kwargs):

platform.add_platform_command("""INST PLL_ADV LOC=PLL_ADV_X0Y0;""") # all PLL_ADV are used: router needs help...
platform.add_platform_command("""PIN "dviout_pix_bufg.O" CLOCK_DEDICATED_ROUTE = FALSE;""")
platform.add_platform_command("""PIN "BUFG_8.O" CLOCK_DEDICATED_ROUTE = FALSE;""") # XXX add name to BUFG
platform.add_platform_command("""PIN "dviout_pix_bufg_1.O" CLOCK_DEDICATED_ROUTE = FALSE;""")
platform.add_platform_command("""
NET "{pix0_clk}" TNM_NET = "GRPpix0_clk";
NET "{pix1_clk}" TNM_NET = "GRPpix1_clk";
Expand Down
2 changes: 1 addition & 1 deletion targets/opsis_hdmi2usb.py
Expand Up @@ -41,7 +41,7 @@ def __init__(self, platform, **kwargs):

platform.add_platform_command("""INST PLL_ADV LOC=PLL_ADV_X0Y0;""") # all PLL_ADV are used: router needs help...
platform.add_platform_command("""PIN "dviout_pix_bufg.O" CLOCK_DEDICATED_ROUTE = FALSE;""")
platform.add_platform_command("""PIN "BUFG_9.O" CLOCK_DEDICATED_ROUTE = FALSE;""") # XXX add name to BUFG
platform.add_platform_command("""PIN "dviout_pix_bufg_1.O" CLOCK_DEDICATED_ROUTE = FALSE;""")
platform.add_platform_command("""
NET "{pix0_clk}" TNM_NET = "GRPpix0_clk";
NET "{pix1_clk}" TNM_NET = "GRPpix1_clk";
Expand Down

0 comments on commit ea56f1a

Please sign in to comment.