Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15547 Discussions

Failure to regenerate IP if no graphical output is available

SimonRichter
New Contributor I
192 Views

I have an automated CI pipeline that checks out sources, regenerates IP blocks, compiles the sources and generates a bitstream. Quartus is invoked like this:

#! /bin/sh -e
mw-regenerate pcie_reconfig.vhd
mw-regenerate pcie_serdes.vhd
mw-regenerate pcie.vhd
mw-regenerate pll.vhd
# patch frequency of fixedclk_serdes
sed -i -e '/fixedclk_serdes/s/100/125/' pcie.sdc
quartus_map pcie_test
quartus_fit pcie_test
quartus_asm pcie_test
quartus_sta pcie_test
quartus_eda pcie_test

This works fine when run on a workstation, but fails when run on the CI server, because the mw-regenerate command requires an X server connection, even if it doesn't open a window.

I can work around this by using an Xvfb instance, but I wonder if there is a better way to regenerate the IP blocks from a scripted build, so I can drop this requirement.

0 Kudos
1 Reply
SyafieqS
Moderator
176 Views

Hi Simon,


You can generate IP via NIOS command shell by invoking run ip-generate command (what I comprehend from the question). For more options and usage on ip-generate run ip-generate --help in command line.


Thanks,

Regards


Reply