Altera_Forum
Honored Contributor
14 years agoSoftware Driver for Qsys Subsystem
Does anyone know a way to include software into a BSP for a QSys subsystem?
I frequently have SOPC systems which contain multiple components which serve a single function (for example, a chain of streaming adapters). I would end up having to connect the same components, the same way, in multiple projects, and it got repetitive and really clutters the SOPC system. I was very happy to see that Qsys now supports hierarchical systems, so I can create a subsystem once and re-use it. Now my problem is, I would like to create a software driver for that sub-system, but I can find no good way to do it. I even went so far as to create a blank component with no interfaces and no HDL files so that I could associate the software driver with that, but then I realized that the component had to be a slave to the Nios to have a driver. I suppose I could add a dummy slave and connect it to the Nios to make that plan work, but that just seems a bit silly.