Skip to content

Commit

Permalink
build/efinix/efinity: build_timing_constraints: set_false_path is uni…
Browse files Browse the repository at this point in the history
…directional -> add another one to -> from_
  • Loading branch information
trabucayre committed Aug 31, 2023
1 parent a071cc3 commit 3f43481
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions litex/build/efinix/efinity.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def build_timing_constraints(self, vns):
for from_, to in sorted(self.false_paths, key=lambda x: (x[0].duid, x[1].duid)):
tpl = "set_false_path -from [get_clocks {{{from_}}}] -to [get_clocks {{{to}}}]"
sdc.append(tpl.format(from_=self._vns.get_name(from_), to=self._vns.get_name(to)))
tpl = "set_false_path -from [get_clocks {{{to}}}] -to [get_clocks {{{from_}}}]"
sdc.append(tpl.format(to=self._vns.get_name(to), from_=self._vns.get_name(from_)))

# Add additional commands
sdc += self.additional_sdc_commands
Expand Down

0 comments on commit 3f43481

Please sign in to comment.