Jump to content

RgGen: Open source CSR generation tool

Recommended Posts

Hi All,

I'm developing an open source CSR generation tool named RgGen.
By using RgGen, you can generate UVM RAL models, RTL, C header files and wiki documents from readable register map specifications.

This is a sample register map specification describing a CSR block for an UART IP.
RgGen can generate source files listed below from this specification.


Link to comment
Share on other sites

Hi Bas,


Did you consider to use the IP-XACT register specification format as input for your generator?

I'm planning to add IP-XACT support.
But I have no experiences using IP-XACT so I'm looking into the specification now.


Any specific reason to use yaml and your own (?) specification format?

I think XML is not readable nor maintainable format for human so I chose the formats below.

  • Ruby with description API
  • Structured text (YAML, JSON, TOML)
  • Spreadsheet (XLSX, ODS, CSV)

Taichi Ishitani

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...