[PatherMixin] add at() for generating PortPather

This commit is contained in:
jan 2025-11-19 00:32:14 -08:00
parent 7c5c1c26c8
commit 90b3157b00

View File

@ -440,6 +440,9 @@ class PatherMixin(metaclass=ABCMeta):
self.pattern.flatten(self.library) self.pattern.flatten(self.library)
return self return self
def at(self, portspec: str) -> 'PortPather':
return PortPather(portspec, self)
class PortPather: class PortPather: