- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Quartus full compilation automatically run Partition Merge process if the project has a separated design partition. anyone know how quartus is able to determine whether the project has a separated design partition? Any switch to look for? What I'm trying to do here is to mimic Quartus full compilation process (run Partition Merge if detected the project contain separated design partition) in my regression tests...for some reasons I can't use the Quartus TCL compilation flow API. That means I need to run quartus_map quartus_fit quartus_sta .. Thanks OTLink Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What do you mean Quartus Tcl Compilation flow API? I always run "quartus_sh --flow compile <project_name>" and that mimics the pushbutton GUI flow, and will run partition merge if necessary. If that's what you're talking about that can't be run, I'm not sure of an easy way to work around it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I usually run the following command after quartus_map:
$ quartus_cdb $qpf -c $qsf --merge=on If there are partitions, they'll be merged. If not, nothing happens. But I also would like to know if there is a check to determine if there are partitions or not.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- What do you mean Quartus Tcl Compilation flow API? I always run "quartus_sh --flow compile <project_name>" and that mimics the pushbutton GUI flow, and will run partition merge if necessary. If that's what you're talking about that can't be run, I'm not sure of an easy way to work around it. --- Quote End --- Thanks for your reply, Rysc. What I means is the TCL package for Full Compilation provided by Quartus. % package require ::quartus::flow % execute_flow -compile I would like keep the flexibility to control when to run each process (map, cdb, fit, sta, and etc) in my regression tests so I'm avoiding the ONESHOT compilation switch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I usually run the following command after quartus_map: $ quartus_cdb $qpf -c $qsf --merge=on If there are partitions, they'll be merged. If not, nothing happens. But I also would like to know if there is a check to determine if there are partitions or not. --- Quote End --- Hi OutputLogic, you means for a flat design, whether Partition Merge is run or not in compilation, the result(timing, resource utilization and etc) should be same?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found. Can use [get_partition] switch to check number of partitions exists in design.
set partitions
foreach p $partitions {
if { ==1 && == "Source File"]} {
set run_partition_merge 0
} else {
set run_partition_merge 1
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good idea.
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