A register of 32 bits with one field with a reset value of 0x0001 is generated okay.
[
{ "name": "field0", "bits": 16, "attr": 1 },
{ "bits": 16, "attr": 0 }
]
But the reset value is not generated correct for a register also 32 bits but having only one field of 32 bits and the same reset value.
[
{ "name": "field0", "bits": 32, "attr": 1 }
]
The reset value here is for all bits '0'. The first bit should be '1'.
Generated with npx bit-field -i ok.json > ok.svg with version 1.9.0
Thanks for all advice.
A register of 32 bits with one field with a reset value of 0x0001 is generated okay.
But the reset value is not generated correct for a register also 32 bits but having only one field of 32 bits and the same reset value.
The reset value here is for all bits '0'. The first bit should be '1'.
Generated with
npx bit-field -i ok.json > ok.svgwith version 1.9.0Thanks for all advice.