lots of fixes to get test_rep running

This commit is contained in:
Jan Petykiewicz 2023-01-24 12:45:44 -08:00 committed by jan
commit b75c8de0c4
11 changed files with 197 additions and 145 deletions

View file

@ -88,7 +88,9 @@ class Pattern(PortList, AnnotatableImpl, Mirrorable, metaclass=AutoSlots):
self.refs = list(refs)
if ports is not None:
ports = dict(copy.deepcopy(ports))
self.ports = dict(copy.deepcopy(ports))
else:
self.ports = {}
self.annotations = annotations if annotations is not None else {}