Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module patterns should actually be arbitrary hierarchical prefixes/contexts #7

Open
clairexen opened this issue Oct 14, 2022 · 0 comments

Comments

@clairexen
Copy link
Member

clairexen commented Oct 14, 2022

The current design document has a strict separation of "module patterns", and "net patterns" that look up net names within that module. But what we actually want long-term is to support any hierarchical prefix in those module patterns, so that we are independent of flattening.

Thus, when we process the databases of IDs, we have to look at the original gold design hierarchy before combining and flattening, and collect all those prefixes, and then create a database with all proper module names.

Then, when we have a match for a "module pattern", we have to remove the part that matches the actual module ind the partially flattened design, and use the rest (with a dot appended at the end) as an implicit prefix for matching the net patterns within the matching module. (And for names that we assign to partitions, we also need to add that prefix to the user-supplied partition names.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant