Skip to content

Commit

Permalink
xilinx/ise: fix add_period_constraint
Browse files Browse the repository at this point in the history
jordens committed Apr 2, 2016
1 parent ccf6303 commit f7304a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions migen/build/xilinx/ise.py
Original file line number Diff line number Diff line change
@@ -201,10 +201,9 @@ def add_period_constraint(self, platform, clk, period):
platform.add_platform_command(
"""
NET "{clk}" TNM_NET = "PRD{clk}";
TIMESPEC "TS{clk}" = PERIOD "PRD{clk}" {period} ns HIGH 50%;
TIMESPEC "TS{clk}" = PERIOD "PRD{clk}" """ + str(period) + """ ns HIGH 50%;
""",
clk=clk,
period=str(period),
)

def add_false_path_constraint(self, platform, from_, to):

1 comment on commit f7304a1

@mithro
Copy link
Contributor

@mithro mithro commented on f7304a1 Apr 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Sorry about not testing.

Please sign in to comment.