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

added bigendian behavior #28

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open

Conversation

kuri65536
Copy link

Thank you for this software, I always use this from wavedrom.

I want to use bigendian like as #22 too.
I made it with small hacking, please pull up.

2020-02-24-134911_806x180_scrot

test results are now:

File % Stmts % Branch % Funcs % Lines Uncovered Line #s
All files 94.74 89 95.83 94.48
index.js 100 100 100 100
render.js 94.67 89 95.83 94.41 ... 95,122,123,269

@drom
Copy link
Member

drom commented Feb 29, 2020

Very cool. What is going on with numbers on the top? Are they supposed to be shifted?

bigendian1 is fine: https://gist.github.com/drom/b2371ec90f5340cd4652e215df85814b
bigendian2 & bigendian3: have index labels crooked:
https://gist.github.com/drom/291d501bf1f8e8f89e36c92e28b2e90e
https://gist.github.com/drom/9418c706a979c8d3789b80d44b45fae5

@kuri65536
Copy link
Author

Noone supporsed 'crooked labels'.
I want to describe byte data by this software, and added a bitscale otpion.
I used it for 4bit subticks to byte data.

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