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

Change name seperator for siganls in records to double underscore #50

Merged
merged 1 commit into from
Mar 25, 2019
Merged

Conversation

anuejn
Copy link
Contributor

@anuejn anuejn commented Mar 25, 2019

This PR changes the seperator for signal names in records from a single underscore to a double underscore. When creating a Record, the signals inside it are then named recordname__fieldname.

This gives one more useful information, when looking at the signal names of fields which themselves contain underscores. E.g. record__some_field is now unambiguous :)

It closes #48.

@codecov
Copy link

codecov bot commented Mar 25, 2019

Codecov Report

Merging #50 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #50   +/-   ##
======================================
  Coverage    85.5%   85.5%           
======================================
  Files          27      27           
  Lines        3912    3912           
  Branches      764     764           
======================================
  Hits         3345    3345           
  Misses        478     478           
  Partials       89      89
Impacted Files Coverage Δ
nmigen/hdl/rec.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 81ee2db...a6d531a. Read the comment docs.

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.

seperator of signal names in records causes ambiguity
2 participants