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

bitfield rotate not working when installing from pypi #42

Open
bat52 opened this issue May 22, 2023 · 0 comments
Open

bitfield rotate not working when installing from pypi #42

bat52 opened this issue May 22, 2023 · 0 comments

Comments

@bat52
Copy link

bat52 commented May 22, 2023

I find using the option "rotate: -90 " is useful when representing bitfields that are only 1 bit wide.
This works well when using the web editor, or the offline (windows) editor.

However, when using the renderer included in the pypi package, bitfield names are not rotated.
See below an example.

{ reg: [
{ name: "ADC_BM", bits: 3, attr: "rw", rotate: -90 },
{ name: "", bits: 1, attr: "r", rotate: -90 },
{ name: "ADC_ORDER", bits: 1, attr: "rw", rotate: -90 },
{ name: "DITHER_EN", bits: 1, attr: "rw", rotate: -90 },
{ name: "CHOP_EN", bits: 1, attr: "rw", rotate: -90 },
{ name: "INV_CLK", bits: 1, attr: "rw", rotate: -90 },
], config: { vspace: 200 } }
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

No branches or pull requests

1 participant