Re-factored fakeram to support sp/dp ram/regfile#7
Merged
maliberty merged 1 commit intoJun 5, 2025
Merged
Conversation
jeffng-or
commented
Jun 4, 2025
Collaborator
- Added support for single-port and dual-port RAMs and Reg Files
- The existing SP SRAM output was kept as-is for backward compatibility
- The other three memory types are all-new
- Added unit and flow tests to get coverage up to around 89%
Collaborator
Author
|
@maliberty, I can walk you through what I did, if you want. There are a lot of changes |
ac2f882 to
a03634a
Compare
fixed coverage instrumentation more cleanup and code coverage comment updates and parse_input.py removal Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
a03634a to
0fb7f8c
Compare
maliberty
approved these changes
Jun 5, 2025
Comment on lines
+39
to
+42
| def get_port_config(json_data): | ||
| if "port_configuration" in json_data: | ||
| return json_data["port_configuration"] | ||
| return "SP" |
Member
There was a problem hiding this comment.
I think this can just be
def get_port_config(json_data):
return json_data.get("port_configuration", "SP")
same elsewhere
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.