wallento / wavedrompy

WaveDrom compatible python command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bitfield rotate not working when installing from pypi

bat52 opened this issue · comments

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