Altera_Forum
Honored Contributor
12 years agoimplementing a QSYS snap-in, and the default QSYS search path
Hi,
I think its a good idea to implement QSYS snap-ins so, for example, the same generic processor design could be used with different external memory interfaces. I have been doing this with the component editor and just routing the interface out to a conduit. However, another way would be to adopt a common interface for a QSYS component and just find different implementations of this interface in the QSYS search path. However, the QSYS default search path isnt clearly described in the doc. Experimental evidence seems to indicate that the default search path is maybe relative to the file that is currently being edited. For example, if I have a user_component.ipx in the current working directory (see below) when I run qsys-edit not specifying a file to edit, and the qsys-edit command line help indicates that the project directory defaults to the cwd, then I do see my snap-in component in the project area on the LHS of the QSYS GUI. However, when I subsequently open a QSYS file from an unrelated location then my snap-in component vanishes (and it isnt found by QSYS). Does anyone know the explicit details about the QSYS default search path? <library> <path path="../ip/**/*"/> <path path="../ip/*"/> </library> Thanks,