Skip to content
New issue

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

Provide Python bindings #167

Open
hpretl opened this issue Sep 28, 2023 · 1 comment
Open

Provide Python bindings #167

hpretl opened this issue Sep 28, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@hpretl
Copy link

hpretl commented Sep 28, 2023

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.

@taichi-ishitani
Copy link
Member

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?

@taichi-ishitani taichi-ishitani added the enhancement New feature or request label Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants