Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

Adding IP Catalog generated files to custom IP component

So I have a piece of custom IP that requires the use of a generated Altera PLL (v15.0). When generated, a bunch of files are created along with a QIP file. I thought it'd be as easy as adding the QIP file to my _hw.tcl file, but no luck.

The relevant section of my _hw.tcl file:

add_fileset QUARTUS_SYNTH QUARTUS_SYNTH "" ""

set_fileset_property QUARTUS_SYNTH TOP_LEVEL fmc

set_fileset_property QUARTUS_SYNTH ENABLE_RELATIVE_INCLUDE_PATHS false

add_fileset_file fmc.vhd VHDL PATH fmc.vhd TOP_LEVEL_FILE

add_fileset_file adcPll.qip OTHER PATH adcPll.qip

add_fileset_file dacPll.qip OTHER PATH dacPll.qip

add_fileset_file fmc150Adc.vhd VHDL PATH Adc.vhd

add_fileset_file fmc150Dac.vhd VHDL PATH Dac.vhd

add_fileset_file fmc150Pll.vhd VHDL PATH Pll.vhd

add_fileset_file fmc150Spi.vhd VHDL PATH Spi.vhd

When I generate the system, qSys dutifully adds the qip file, but that's it. It does NOT add the files that are referenced in the qip file, so of course, those files aren't found when compiling the system.

How is this normally done?

Thanks!

Chance
No RepliesBe the first to reply