rggen / rggen

Code generation tool for control and status registers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YAML specification for custom bit type does not seem to match documentation

vermea opened this issue · comments

Describe the bug
This is not a code bug but rather what seems like a wiki issue. The documentation for custom bit types indicates that in YAML format, custom bit types should be defined like this:

type: [:type, sw_write: set_1, sw_read: clear]

However, the above results in parsing errors:
[SyntaxError] (regs.yml): did not find expected node content while parsing a flow node at line 10 column 83

It seems that the syntax should rather be:
type: [custom, sw_write: set_1, sw_read: clear]

@vermea ,
Thank you for your report!
I fixed the wiki document.
image