I am creating an IP with a bunch of Verilog files. In some of that verilog files I would like to use Intel IPs like ALT_IOBUF, ALTCLKCTRL or a FIFO.
If I start the simulation with the generated simulation script then the IPs were not found.
How to add those IPs to the _hw.tcl?
I don't know how that should help me. Can you please give me an example? In my understanding it is only about a selection of files, but how to add the IP.
By the way, I fixed ALT_IOBUF. The synthesis was ok with it, but for simulation it has to be written lowercase "alt_iobuf".
However, altclkctrl is inserted automatically during synthesis, but not for simulation. If I create a megafunction IP, then I dont know how to add it. The same thing with the FIFO.
I tried to add the .sip, but that file is only copied which does not help the simulator.
Unfortunately, that example you gave me only showed how to add some .v or .sv files.
I need a example for a structure like that:
Adding the verilog files is clear, but what to do with the IPs? Is there a way to add .qsys or _hw.tcl?
Workaround ALTCLKCTRL: Fortunately, the synthesis creates the clock switch by itself. However for simulation, I had to make a extra simulation file, because it was not found there.
I think that way is still not best-practice.
Nope, it is not an example to add .v or .sv files.
If you refer to https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug-qpp-platform-designer... page 122 example 18.
it shows you an example of how to add an Emif instance using the IP. This include on how you should create it in the .v and the hw.tcl.
with this example, you can use it for the altclkctrl as specified in your above.