Skip to content

Commit 959ba99

Browse files
committedJul 5, 2015
pipistrello: try simpler constraints
1 parent 6faa8ec commit 959ba99

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed
 

‎soc/targets/artiq_pipistrello.py

+4-6
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ def __init__(self, platform, clk_freq):
3535
i_RST=ResetSignal())
3636

3737
rtio_external_clk = platform.request("pmt", 2)
38-
platform.add_period_constraint(rtio_external_clk, 8.0)
38+
# ISE infers constraints for the internal clock
39+
# and propagates them through the BUFGMUX. Adding this:
40+
# platform.add_period_constraint(rtio_external_clk, 8.0)
41+
# seems to confuse it
3942
self.specials += Instance("BUFGMUX",
4043
i_I0=rtio_internal_clk,
4144
i_I1=rtio_external_clk,
@@ -44,14 +47,9 @@ def __init__(self, platform, clk_freq):
4447

4548
platform.add_platform_command("""
4649
NET "{int_clk}" TNM_NET = "GRPint_clk";
47-
NET "{ext_clk}" TNM_NET = "GRPext_clk";
4850
NET "sys_clk" TNM_NET = "GRPsys_clk";
4951
TIMESPEC "TSfix_ise1" = FROM "GRPint_clk" TO "GRPsys_clk" TIG;
5052
TIMESPEC "TSfix_ise2" = FROM "GRPsys_clk" TO "GRPint_clk" TIG;
51-
TIMESPEC "TSfix_ise3" = FROM "GRPext_clk" TO "GRPsys_clk" TIG;
52-
TIMESPEC "TSfix_ise4" = FROM "GRPsys_clk" TO "GRPext_clk" TIG;
53-
TIMESPEC "TSfix_ise5" = FROM "GRPext_clk" TO "GRPint_clk" TIG;
54-
TIMESPEC "TSfix_ise6" = FROM "GRPint_clk" TO "GRPext_clk" TIG;
5553
""", int_clk=rtio_internal_clk, ext_clk=rtio_external_clk)
5654

5755

0 commit comments

Comments
 (0)
Please sign in to comment.