File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -383,6 +383,9 @@ bool vpr_flow(t_vpr_setup& vpr_setup, t_arch& arch) {
383
383
if (!pack_success) {
384
384
return false ; // Unimplementable
385
385
}
386
+ if (!vpr_setup.PlacerOpts .doPlacement ) {
387
+ return true ; // skip unnecessary placer setup
388
+ }
386
389
}
387
390
388
391
// For the time being, we decided to create the flat graph after placement is done. Thus, the is_flat parameter for this function
@@ -602,11 +605,11 @@ bool vpr_pack_flow(t_vpr_setup& vpr_setup, const t_arch& arch) {
602
605
// generate a .net file by legalizing an input flat placement file
603
606
if (packer_opts.load_flat_placement ) {
604
607
605
- // Load and legalizer flat placement file
606
- vpr_load_flat_placement (vpr_setup, arch);
607
-
608
- // Load the result from the .net file
609
- vpr_load_packing (vpr_setup, arch);
608
+ // Load and legalize flat placement file
609
+ status = vpr_load_flat_placement (vpr_setup, arch);
610
+ if (!status) {
611
+ return status;
612
+ }
610
613
611
614
} else {
612
615
You can’t perform that action at this time.
0 commit comments