[wip] Rework load_libraryfile and LazyLibrary using overlays
This commit is contained in:
parent
058f210d31
commit
e8e19a5a9b
7 changed files with 1204 additions and 616 deletions
|
|
@ -131,6 +131,15 @@ class ILibraryView(Mapping[str, 'Pattern'], metaclass=ABCMeta):
|
|||
"""
|
||||
return Abstract(name=name, ports=self[name].ports)
|
||||
|
||||
def source_order(self) -> tuple[str, ...]:
|
||||
"""
|
||||
Return names in the library's preferred source order.
|
||||
|
||||
Source-backed views may override this to preserve on-disk ordering
|
||||
without materializing patterns.
|
||||
"""
|
||||
return tuple(self.keys())
|
||||
|
||||
def dangling_refs(
|
||||
self,
|
||||
tops: str | Sequence[str] | None = None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue