Skip to content

Commit

Permalink
vivado: use get_nets for add_false_path_constraint
Browse files Browse the repository at this point in the history
sbourdeauducq committed Oct 29, 2016
1 parent d1c5252 commit 002850b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/build/xilinx/vivado.py
Original file line number Diff line number Diff line change
@@ -148,5 +148,5 @@ def add_period_constraint(self, platform, clk, period):

def add_false_path_constraint(self, platform, from_, to):
platform.add_platform_command(
"set_false_path -from [get_clocks {from_}] -to [get_clocks {to}]",
"set_false_path -from [get_nets {from_}] -to [get_nets {to}]",
from_=from_, to=to)

0 comments on commit 002850b

Please sign in to comment.