wavedrom / bitfield

:cake: bit field diagram renderer
MIT License
335 stars 27 forks source link

New meta bit option #54

Closed amiq-eda closed 1 year ago

amiq-eda commented 1 year ago

{"bits":1, "name":"loss", "type":3, "meta": "{'field': 'loss', 'parent': 'bla'}"}

This way a user can add any number of attributes on fields for later use.

amiq-eda commented 1 year ago

changed the name from meta -> rect, as these are rectangle SVG attributes:

{bits:10,name:'tRegT',type:4,rect: {parent:'regF'}},

drom commented 1 year ago

LGTM