Hi Sheng,
I've tried doing this two different ways, but am getting the same error both ways.
First I tried the generic component (HDL mode) where I read in my VHDL file to create the generic component. Second, I tried the Component Editor where I also read in my VHDL file to create a component. Both of these methods result in the same error.
In both of these methods, Platform designer reads in and analyzes the VHDL file, and puts a copy of it down in the ip folder that it creates. So it should know about the VHDL file and where to find it.
The problem seems to be on the other end with the Avalon Slave Translator component not being found. In previous versions of Qsys, there was an actual component called "Avalon-MM Slave Translator" that could be used for this sort of thing, instead of using a custom VHDL file. With v21.3 Platform Designer, that component does not show up in the list of available components. I can see this component in the Quartus Pro install package in the ip/altera/merlin/altera_merlin_slave_translator folder, but it's not available in the list of components in Platform Designer.
I've tried several different IP search paths in Platform Designer, but all result in the same error message.
Thanks,
Terry