Thanks for that fast answer !
It seems to works better with quartus but it seems that the change didn't affect the VHDL version of qsys, and thus qsys doesn't succeed in analysing the component. Do you know how to handle that? (is there a way to set the VHDL version in QSys or should I write the file that should be generated by hand?)
It seems that I could select the right version of VHDL, but I am working on the VM so I guess it has already been activated :)
If needed, here are the errors I get :
I now get the error "Error (12006): Node instance "nn_controller_0" instantiates undefined entity "new_component". " If I try to compile directly from quartus.
And the error "Error: VHDL Type Declaration error at my_neural_pack.vhd(19): element type for array type cannot be unconstrained
". " If I run the analysis from QSys