Controlling output files when generating IP from the command line
Hi,
as part of automated verification I'm having my Continuous Integration server rebuild the IP blocks to check that these can indeed be rebuilt without error and no outdated files went into an image.
That works reasonably well with a bunch of hacks, but for the DDR3 PHY, generation takes ages as it builds an example project as part of generation, and in addition, a set of unnecessary files are generated as well.
I've tried to control the latter through the qmegawiz command line:
qmegawiz -silent OPTIONAL_FILES=NONE ddr3_bottom.vhd
I still get a BSF and a CMP file generated, and specifying "INST" for testing did not generate ddr3_bottom_inst.vhd, so the OPTIONAL_FILES setting doesn't seem to do anything here.
On the more annoying front, the dialog asking whether examples should be generated obviously does not exist in noninteractive mode, and as a result they are always generated (see raw log), which currently accounts for about 80% of the time spent for the "regenerate IP and simulate everything" job.
For reference, ddr3_bottom.vhd before generation.
Questions:
- How do I control from the command line which output files are generated?
- How do I control from the command line whether examples are generated?
- Can I somehow generate only synthesis or only simulation files from the command line?
Simon