Skip to content

bitfield rotate not working when installing from pypi #42

@bat52

Description

@bat52

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 } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions