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

Add HDL RegMap writer and HDL Generator CLI #6

Merged
merged 5 commits into from
May 13, 2024
Merged

Conversation

gastmaier
Copy link
Contributor

No description provided.

gastmaier added 5 commits May 6, 2024 13:58
Write the register maps into SystemVerilog, to be used in testbenches.
Add CLI hdl-gen to call the writer and execute on all hdl/docs/regmap
files.

Signed-off-by: Jorge Marques <[email protected]>
Better organization.
Some methods could be wrapped in classes, however.

Signed-off-by: Jorge Marques <[email protected]>
Try to parse default field value as int.
In the writer/hdl.py, if the value is a string, set it as 'hXX.

Signed-off-by: Jorge Marques <[email protected]>
Default to None when unset, or error parsing.

Signed-off-by: Jorge Marques <[email protected]>
Test HDL regmap parser, resolve, expansion and writer.
Add tests CI with pytest

Signed-off-by: Jorge Marques <[email protected]>
@IstvanZsSzekely IstvanZsSzekely merged commit 645a363 into main May 13, 2024
5 checks passed
@gastmaier gastmaier deleted the hdl-dev branch May 17, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants