rggen / rggen

Code generation tool for control and status registers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide Python bindings

hpretl opened this issue · comments

Is your feature request related to a problem? Please describe.
In order to use the generated registers in a programming environment, in addition to C also Python should be supported. Python is increasingly used in settings like lab verification, where often register-level programming is required.

Describe the solution you'd like
Python-bindings of rendered register maps.

Describe alternatives you've considered
Derive from the C-bindings, but this is not an ideal situation.

Additional context
Can be given if required.

RgGen can generate C header file like this.
https://github.com/rggen/rggen-sample/blob/master/uart_csr.h

You need python version of this file?
Could you please provide me an sample file?