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

Add MemNode support #13

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Add MemNode support #13

merged 1 commit into from
Apr 16, 2024

Conversation

mtdudek
Copy link
Contributor

@mtdudek mtdudek commented Apr 15, 2024

This commit adds support for PeakRDL MemNode objects. Register arrays inside MemNode are not being unrolled to keep memory description brief.
Memories can hold hundreds or even more virtual registers and unrolling all of them is not beneficial and mudders the overall picture.

Solves #12

Copy link
Member

@MarekPikula MarekPikula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

src/peakrdl_markdown/exporter.py Show resolved Hide resolved
src/peakrdl_markdown/exporter.py Outdated Show resolved Hide resolved
@MarekPikula
Copy link
Member

Two more things:

  1. Please rebase onto the latest main. I did some tweaks in Python dependencies (included 3.6 support) and in CI.
  2. Add the information about added MemNode support to changelog.

@mtdudek
Copy link
Contributor Author

mtdudek commented Apr 16, 2024

I've updated CHANGELOG and rebased onto the latest main. I also addressed your commends.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8708877033

Details

  • 18 of 19 (94.74%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-1.0%) to 88.095%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/peakrdl_markdown/exporter.py 18 19 94.74%
Files with Coverage Reduction New Missed Lines %
src/peakrdl_markdown/exporter.py 2 96.67%
Totals Coverage Status
Change from base Build 8707700553: -1.0%
Covered Lines: 148
Relevant Lines: 168

💛 - Coveralls

1 similar comment
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8708877033

Details

  • 18 of 19 (94.74%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-1.0%) to 88.095%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/peakrdl_markdown/exporter.py 18 19 94.74%
Files with Coverage Reduction New Missed Lines %
src/peakrdl_markdown/exporter.py 2 96.67%
Totals Coverage Status
Change from base Build 8707700553: -1.0%
Covered Lines: 148
Relevant Lines: 168

💛 - Coveralls

@coveralls
Copy link

coveralls commented Apr 16, 2024

Pull Request Test Coverage Report for Build 8710316940

Details

  • 21 of 22 (95.45%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-1.0%) to 88.095%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/peakrdl_markdown/exporter.py 21 22 95.45%
Files with Coverage Reduction New Missed Lines %
src/peakrdl_markdown/exporter.py 2 96.62%
Totals Coverage Status
Change from base Build 8707700553: -1.0%
Covered Lines: 148
Relevant Lines: 168

💛 - Coveralls

Copy link
Member

@MarekPikula MarekPikula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I noticed that there are small style issues in CI. I'll fix those.

This commit adds support for PeakRDL MemNode objects.
Register arrays inside MemNode are not being unrolled
to keep memory description brief.
Memories can hold hundreds or even more virtual registers
and unrolling all of them is not beneficial and mudders
the overall picture.

Signed-off-by: Maciej Dudek <[email protected]>
@MarekPikula MarekPikula merged commit 3fe518c into SystemRDL:main Apr 16, 2024
15 checks passed
@MarekPikula
Copy link
Member

Thanks again for the contribution. It's released now as 1.0.1.

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.

3 participants