Skip to content

Admit non-signals in Simulator.write_vcd(traces=...) #973

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

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

whitequark
Copy link
Member

Rather than requiring each additional requested trace to be a signal, all of the signals in the provided value are added to the GTKW file and to the VCD file if they are not already there. This improves usability for lib.data as struct fields can now be added to traces.

Rather than requiring each additional requested trace to be a signal,
all of the signals in the provided value are added to the GTKW file and
to the VCD file if they are not already there. This improves usability
for `lib.data` as struct fields can now be added to traces.
Copy link

codecov bot commented Nov 28, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (c6000b1) 83.82% compared to head (fe3309a) 83.83%.

Files Patch % Lines
amaranth/sim/pysim.py 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #973   +/-   ##
=======================================
  Coverage   83.82%   83.83%           
=======================================
  Files          55       55           
  Lines        7959     7960    +1     
  Branches     1948     1949    +1     
=======================================
+ Hits         6672     6673    +1     
  Misses       1076     1076           
  Partials      211      211           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@whitequark whitequark enabled auto-merge November 28, 2023 12:18
@whitequark whitequark added this pull request to the merge queue Nov 28, 2023
Merged via the queue into amaranth-lang:main with commit b0b193f Nov 28, 2023
@whitequark whitequark deleted the gtkw-field-traces branch November 28, 2023 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant