I am trying to connect a custom IP to my MicroBlaze design. This custom IP is connected to the OPB Bus. It reads data from MicroBlaze, performs some computations and gives data back to the processor. I cannot figure out how to write data into the custom IP or how to read data from that IP.
When we use Xilinx IP Cores, like GPIO, we are provided with functions like XGpio_Read, XGpio_Write etc. How do we communicate with our custom peripherals if we do not have such functions related to the custom peripheral? Do you have to write these drivers or is it sufficient just to make a wrapper for the custom peripheral so that all bus signals match the signals of the top-level wrapper?
I would really appreciate if someone could guide me to an appropriate document or list out the steps of how to do this.
Thanks