02-23-2021, 02:20 PM
Hi jem,
With some reccent changes to the soc_interconnect architecture the situation changed quite a bit and attaching an AXI/AXI-lite peripheral to PULPIssimo became a lot easier. The new interconnect already contains a fully AXI4 compliant AXI crossbar. The soc_interconnect_wrap.sv in ips/pulp_soc/rtl/pulp_soc converts one of the crossbar outputs to APB by going the roundabout via AXI-lite (because we do not have a direct protocol converter from AXI4 to APB). You can use this module as a reference on how to convert from AXI4 to AXI4-lite. In order to add a new port to the AXI crossbar for your peripheral, please have a look at the following discussion on Github: https://github.com/pulp-platform/pulpissimo/issues/222
With some reccent changes to the soc_interconnect architecture the situation changed quite a bit and attaching an AXI/AXI-lite peripheral to PULPIssimo became a lot easier. The new interconnect already contains a fully AXI4 compliant AXI crossbar. The soc_interconnect_wrap.sv in ips/pulp_soc/rtl/pulp_soc converts one of the crossbar outputs to APB by going the roundabout via AXI-lite (because we do not have a direct protocol converter from AXI4 to APB). You can use this module as a reference on how to convert from AXI4 to AXI4-lite. In order to add a new port to the AXI crossbar for your peripheral, please have a look at the following discussion on Github: https://github.com/pulp-platform/pulpissimo/issues/222