Create a device driver for a composed component
I have created a composed component that includes multiple avalon components.
e.g. one altera_avalon_spi and 2 altera_avalon_pio instances.
With platform designer I have exported the system as _hw.tcl file. Additionaly I have created a _sw.tcl file to define a device driver for the composed component.
The composed component is included in a parent NiosV QSYS system.
Now I want to create the BSP for this system.
My goal is to have a single driver for the composed component. From that single driver I want to control the SPI and PIO instances whithin that composed component and their interaction.
The problem is, that within the BSP editor the component instances that are defined in the composed component are still completly independent. Also the sw driver defined in the _sw.tcl is not available in the BSP Editor.
How can I create a single driver for a composed component?