From 3f43481eb9874abe8121114f1596620b72c3ec2f Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Thu, 31 Aug 2023 11:42:07 +0200 Subject: [PATCH] build/efinix/efinity: build_timing_constraints: set_false_path is unidirectional -> add another one to -> from_ --- litex/build/efinix/efinity.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/build/efinix/efinity.py b/litex/build/efinix/efinity.py index 8208f1df1..1508d6b3e 100644 --- a/litex/build/efinix/efinity.py +++ b/litex/build/efinix/efinity.py @@ -79,6 +79,8 @@ class EfinityToolchain(GenericToolchain): 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