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

Update SRAM.scala to improve perf on non-full sized reads #3614

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

Kevin99214
Copy link
Contributor

Commit Description:
Change a_sublane to not count sublanes if it's a read. Reads return full data width, no matter if the A channel size is not the data width

Comments
Noticed that when size is not maxed out on a read to the TLRAM, it was translating it to a RMW. Would make sense if there was an ECC error but that should get handled by d_need_fix in d_wb, sublane should not be responsible.

val d_wb = d_full && (d_sublane || d_atomic || (d_read && d_need_fix))

Screenshot 2024-04-10 at 4 17 50 PM

Change a_sublane to not count sublanes if it's a read. Reads return full data width, no matter if the A channel size is not the data width
@jerryz123 jerryz123 changed the base branch from master to dev April 15, 2024 17:20
@jerryz123 jerryz123 merged commit 87b3a4d into chipsalliance:dev Apr 15, 2024
26 checks passed
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

Successfully merging this pull request may close these issues.

2 participants