v0.18.0#390
Merged
Merged
Conversation
added 30 commits
April 9, 2026 13:29
Introduces `enum ConstData { KnownConst, UnknownConst, NotConst }` and a
safe `getConstData` accessor on DFVal alongside the existing
`getConstDataUNSAFE`. `IntParamRef.getIntConstData` mirrors it.
All `protGetConstData` overrides now propagate UnknownConst virally.
No source produces UnknownConst yet — that arrives in the next stage
when DesignParam gains an unknown default state.
Co-authored-by: Copilot <copilot@github.com>
The new-style root DB now has empty `members`, empty `refTable`, and `designBlock = None`. Every design (including the top) lives in `internalDBs` as a sub-DB; sub-DBs themselves have empty `internalDBs`. This removes the prior duplication where the top design was a member of both root and topSubDB, and gives every design a uniform treatment. `getSet` on root now fails loudly so callers must dispatch via sub-DBs. `HierarchyStage` no longer runs `transformSubDB` on root. Globals are partitioned per sub-DB by closure, in original elaboration order. Orphan globals (unreferenced) are anchored at the top sub-DB to survive the round-trip. The SanityCheck round-trip relaxes globals to a set comparison since cross-sub-DB ordering is no longer guaranteed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Aligns the field name with the existing "sub-DB" terminology already used throughout the codebase (subDB, topSubDB, transformSubDB, "sub-DB" in comments). Local variable in oldToNew renamed to builtSubDBs to avoid shadowing the field. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
…d designs in immutable DB Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
…Timing, ClkRstTimingMap Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
… DropDesignParamDeps. reenable GlobalizeVectorParamDeps. move AES reference files.
…lobal defs all the time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.