Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 讨论

Multiple / simultaneous flows?

Altera_Forum
名誉分销商 II
1,279 次查看

The product I'm currently working on comes with three different FPGA configurations, and these are each implemented as a "revision" in the Quartus II project file. 

 

Often one would want to compile all three revisions together. I've written a TCL script that compiles each revision consecutively, basically like this: 

 

# Compile selected revisions. foreach revision $revs_to_compile { set_current_revision $revision execute_flow -compile }  

 

However, this takes several hours and Quartus II doesn't seem to utilize my six-core CPU very efficiently, so I'd like to compile all the revisions in parallel to reduce the total compilation time. Is there a way to do this with a TCL script? 

 

I could always run several scripts in parallel (i.e., several instances of quartus_sh), but I thought I'd ask if there's a better way. "help execute_flow" seems to indicate that there is, as one of the return strings is "ERROR: Only one flow option is allowed. Only one flow can be run for a single command call. If multiple flows are required, use multiple commands.", but I have no idea what this means.
0 项奖励
1 回复
Altera_Forum
名誉分销商 II
575 次查看

I guess, running multiple Quartus instances will be the only way to achieve what you want. You can run compilation from the Windows command shell, you'll probably need to start multiple command shell windows.

0 项奖励
回复