- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page