If two clock already included in false path list then swapped tuple pair of clocks won't be added. Fix this by adding temporary variable with tuple
This commit is contained in:
parent
22f4637570
commit
8d68c1ada3
|
@ -180,5 +180,6 @@ class GenericToolchain:
|
||||||
if keep:
|
if keep:
|
||||||
from_.attr.add("keep")
|
from_.attr.add("keep")
|
||||||
to.attr.add("keep")
|
to.attr.add("keep")
|
||||||
if (to, from_) not in self.false_paths:
|
clk_tuple = (to, from_)
|
||||||
self.false_paths.add((from_, to))
|
if clk_tuple not in self.false_paths:
|
||||||
|
self.false_paths.add(clk_tuple)
|
||||||
|
|
Loading…
Reference in New Issue