Drop ports when repeating
This commit is contained in:
parent
cf634f1c16
commit
9115371b19
1 changed files with 1 additions and 0 deletions
|
|
@ -155,6 +155,7 @@ class Ref(
|
||||||
combined = type(pattern)()
|
combined = type(pattern)()
|
||||||
for dd in self.repetition.displacements:
|
for dd in self.repetition.displacements:
|
||||||
temp_pat = pattern.deepcopy()
|
temp_pat = pattern.deepcopy()
|
||||||
|
temp_pat.ports = {}
|
||||||
temp_pat.translate_elements(dd)
|
temp_pat.translate_elements(dd)
|
||||||
combined.append(temp_pat)
|
combined.append(temp_pat)
|
||||||
pattern = combined
|
pattern = combined
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue