net_aliases is just a dict
This commit is contained in:
parent
35dbc1a4ff
commit
4870b95fa9
@ -39,11 +39,11 @@ class NetName:
|
||||
|
||||
class NetsInfo:
|
||||
nets: defaultdict[NetName, defaultdict[layer_t, List]]
|
||||
net_aliases: defaultdict[NetName, NetName]
|
||||
net_aliases: Dict[NetName, NetName]
|
||||
|
||||
def __init__(self) -> None:
|
||||
self.nets = defaultdict(lambda: defaultdict(list))
|
||||
self.net_aliases = defaultdict(list)
|
||||
self.net_aliases = {}
|
||||
|
||||
def resolve_name(self, net_name: NetName) -> NetName:
|
||||
while net_name in self.net_aliases:
|
||||
|
Loading…
Reference in New Issue
Block a user