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

A few changes #44

Merged
merged 12 commits into from
May 23, 2023
Merged

A few changes #44

merged 12 commits into from
May 23, 2023

Conversation

vermaete
Copy link
Collaborator

@oddball

A few changes.

CircleCI and local test where fine.

Could you merge them if you want and create a new release

Thanks for the tool!

PS: what is still open on the long run

  • config option to generate std_logic or std_ulogic in VHDL
  • TCL generation of code to test the registers (for Modelsim)
  • Python code for testing of the registers on a live system
  • ...

vermaete and others added 12 commits May 18, 2023 13:50
* Added the Python package to lint the generated files.
* Add the 'test_rst' target in the Makefile (as the test_c)
* Added to the ci pipeline

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
… code.

RstCloth:
  A simple Python API for generating RestructuredText.
  https://pypi.org/project/rstcloth/

It reduced a bit the own Python code.
The output stays the same.
  * Except some white spacing alignent.  What's nice to have, but not needed
    because the generated RST files are just an input to generated the real document.
  * underline symbols of the sections is now more in line with the kind-of-standard
    https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#sections

Linting at RST is done and ok.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
A design can have multiple IP's with registers.
And although IP-XACT can handle this, the tool right now only starts at the
addressBlock level.
But when collecting the generated documentation (restucturedText or MarkDown)
into one document is useful to have the name of the IP as the title of the
generated file.

This fixes issue oddball#43: ipxact2hdlCommon.py returnRstTitle returns hardcoded string iso addressBlock.name

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Added the description into the test xml file.
Added it to the generated MarkDown and restructuredText files.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Python was trowing an error if a entry was not in the ini file and the ini file was used.

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
check first whether there is a description for the addressBlock
@oddball oddball merged commit d47034a into oddball:master May 23, 2023
@vermaete
Copy link
Collaborator Author

@oddball Thanks for the release!

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.

None yet

3 participants