[PatherMixin] add at() for generating PortPather
This commit is contained in:
parent
7c5c1c26c8
commit
90b3157b00
@ -440,6 +440,9 @@ class PatherMixin(metaclass=ABCMeta):
|
||||
self.pattern.flatten(self.library)
|
||||
return self
|
||||
|
||||
def at(self, portspec: str) -> 'PortPather':
|
||||
return PortPather(portspec, self)
|
||||
|
||||
|
||||
|
||||
class PortPather:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user