We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi there!
Just to document the options:
import wavedrom data = """ {"reg": [ { "name":"IO_MODE", "bits":7, "attr": "RW"}, { "name":"NS_ACCESS_GPIO", "bits":1, "attr": "RW"}, { "name":"PULL_CTRL", "bits":2, "attr": "RW"}, { "name":"LPF", "bits":1, "attr": "RW"}, { "bits":1 }, { "name":"DRIVE", "bits":2, "attr": "RW"}, { "bits":18 } ], "config": {"fontsize":6} } """ svg = wavedrom.render(data) svg.saveas("demo3.svg")
The available parameters are defined in the bitfield.Options constructor:
bitfield.Options
class Options: def __init__(self, vspace=80, hspace=800, lanes=1, bits=32, fontsize=14, bigendian=False, fontfamily='sans-serif', fontweight='normal'):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there!
Just to document the options:
The available parameters are defined in the
bitfield.Options
constructor:The text was updated successfully, but these errors were encountered: