-
Notifications
You must be signed in to change notification settings - Fork 17
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
Required setup to synthesize #9
Comments
Hi, in fact there is no "correct" way to design a controller. The code here provides essentially two things:
If you want to better understand how to connect address generator control wires, you can have a look at its documentation if you did not already: https://hwpe-doc.readthedocs.io/en/latest/modules.html#hwpe-stream-addressgen Finally: as far as I understand, you are trying to synthesize the system for FPGA without simulating it first. In my personal experience, it is extremely difficult to find and debug things in this way. Often synthesis issues are really functional problems that would be identified with proper simulation. Let me know if you have any further question. |
thanks for your replies and sorry for answering myself such late. I needed to finish my project and therefore couldn't test further configurations or the hwpe-tb. My last state was kind of a simple combination from datamover and the mac example. My goal was to set up an HWPE that transforms HWPE-Stream data into AXI4-Stream data in the simplest possible way. Therefore I tried to find a minimal working solution with just a regfile to configure the base address for read and write + their respective transfer length. But I couldn't find many documentation regarding if uloop and fsm are even required for a successful synthesize, maybe you could add a little bit more documentation regarding the I provided my top-file as a reference, perhaps you can directely spot the issue (reg size still is 16 even though i just need 4 because i wanted to change as few as possible compared to the mac, which does work to remove possible issues) :
with
|
I am currently trying to create a hwpe datamover that transforms the hwpe interface into axi4 streams such that i can use different existing ips directly with PULPissimo. This work is part of an university project, therefore i cannot share my files right now. My previous solution did already synthesize, but i missed the hwpe-ctrl (especially the part about the addressgen_ctrl, which then caused the synthesized result to not contain any connections to the tcdm because they were not connected and therefore optimized out. I then added the addressgen part with this configuration
which closed all the connections but now the pulpissimo_project does not synthesize anymore.
I also played around with adding a simple FSM like for example from https://github.com/pulp-platform/hwpe-datamover-example
which has kind of the same use case, but it currently still fails.
I wanted to ask, which configurations need to be present for the hwpe to synthesize correctly and how to properly set up the FSM, regfiles,.. if they are required - because right now, i think there is no real documentation for that apart the working code for mac and datamover @FrancescoConti
The text was updated successfully, but these errors were encountered: