bitfield icon indicating copy to clipboard operation
bitfield copied to clipboard

added bigendian behavior

Open kuri65536 opened this issue 5 years ago • 2 comments

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

kuri65536 avatar Feb 24 '20 04:02 kuri65536

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

drom avatar Feb 29 '20 06:02 drom

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.

kuri65536 avatar Feb 29 '20 07:02 kuri65536