feat: multi sram generation and open source lib generation#509
Open
CONnor9029 wants to merge 8 commits into
Open
feat: multi sram generation and open source lib generation#509CONnor9029 wants to merge 8 commits into
CONnor9029 wants to merge 8 commits into
Conversation
rahulk29
reviewed
Jun 28, 2026
|
|
||
| ### LIB generation | ||
|
|
||
| Sram22 supports The `--lib` flag generates Liberty (.lib) timing files for the tt/ss/ff PVT corners using Liberate or open-source interpolation. Open-Source generated libs are prone to a 2% error overestimate only for sram configurations with a data width between 8-128. |
rahulk29
reviewed
Jun 28, 2026
| Each element is `(data_width, [7 timing values])`. During construction these snapshots | ||
| go through two additional processing steps before being stored. | ||
|
|
||
| ### SS corner correction |
Collaborator
There was a problem hiding this comment.
should error if the user requests data width more than 128, not do this scaling thing
Collaborator
There was a problem hiding this comment.
(and can delete this section from the markdown)
rohanku
approved these changes
Jun 28, 2026
| /// Generate LIB (setup, hold, and delay timing information). | ||
| #[cfg(feature = "commercial")] | ||
| /// Uses Liberate MX with the `commercial` feature, otherwise uses the open-source lib generator. | ||
| #[arg(long)] |
Collaborator
There was a problem hiding this comment.
Should generate LIB by interpolation by default, there should be a flag to choose to generate using liberate that is only available on the commercial feature flag.
| data_width = 32 | ||
| mux_ratio = 4 | ||
| write_size = 8 | ||
| # The `pex_level` flag is only available with a full installation. |
Collaborator
There was a problem hiding this comment.
Why is this deleted from the docs?
Collaborator
|
Should have timing tables for depth ( |
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.