I have a Linux/FreeRTOS AMP on the PS cores. I am trying to benchmark a CPIW created custom accelerator. What I have in mind is to use BRAM to provide data to the user logic submodule computation.
I reference AR #50826 ..CDMA transfers from block RAM to OCM. I conceptualize data arriving via ethernet placed in OCM by a linux App (or some custom peripheral). Then the data is moved from OCM to BRAM for use by the custom IP in the PL.
From the AR, with a AXI BRAM controller and AXI CDMA, I can move data to/from a BRAM. All this is designed in XPS.
Now I want to use the other unconnected BRAM port to read/write data to/from the user logic. I assume that I have to add the BRAM interface as USER PORTS in user_logic.v and proliferate up to system hdl and down to define the PORT B interface in the BRAM module.
Is there an cleaner way to do this? The BRAM controller to BRAM interface in XPS was easy due to the innate BRAM connection. Since my custom peripheral (computational accelerator) has no such native BRAM interface, is the only way to do it within the HDL?