-
Notifications
You must be signed in to change notification settings - Fork 6
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
Explicit register addresses as constants in HDL package #66
Comments
What is the point of such an approach? What is your use case? The point of the tool is to abstract away explicit address handling. |
Hi, |
Ok, I see what you want to do. This is indeed currently not supported. I think generating package, for each block, containing constants with addresses and masks should be fairly easy. Unfortunately, I think no one has enough time to do it now. Maybe you can try to do it yourself? |
When communicating from one VHDL entity to another, the WB bus is typically not the most efficient channel. The branch fixed_addresses was created to enable reusing the blocks created outside AGWB in the AGWB-generated HW and SW (please see the commit log messages in that branch). Anyway, it is not something you need for your application. What you need, is a new backend routine targetting the VHDL output. Currently there are routines for Python, Forth, CBM DCA XML, IPbus XML, C headers. Please note, that the above routine may get redefined for child blocks (e.g. Python for BlackBox). When proposing the new backend routine, the format of the generated representation of addresses should be decided first. Our experience is that once it is decided and implementating is started, it is difficult to redefine it. So, how the hierarchical set of addresses should be implemented in VHDL for hardware WB master? |
Hi,
First of all, thank you for this generator!
I think it would be really nice to have the generation process generate the register address mapping in VHDL as constants in a package, and not as magic values directly in the interconnect files. Is it something that has been done somewhere? I tried to look around with no avail, but some branch named "fixed_addresses" exists, so I'm asking before trying to reimplement anything :)
Thanks!
The text was updated successfully, but these errors were encountered: