Skip to content

Commit 35f0068

Browse files
authored
Merge pull request #1773 from verilog-to-routing/print_floorplan_file_changes
Print not specified for floorplan constraints file when running vpr w…
2 parents 99f2b7a + f0ce44c commit 35f0068

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

vpr/src/base/ShowSetup.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ void ShowSetup(const t_vpr_setup& vpr_setup) {
3030
VTR_LOG("Circuit placement file: %s\n", vpr_setup.FileNameOpts.PlaceFile.c_str());
3131
VTR_LOG("Circuit routing file: %s\n", vpr_setup.FileNameOpts.RouteFile.c_str());
3232
VTR_LOG("Circuit SDC file: %s\n", vpr_setup.Timing.SDCFile.c_str());
33-
VTR_LOG("Vpr floorplanning constraints file: %s\n", vpr_setup.FileNameOpts.read_vpr_constraints_file.c_str());
33+
if (vpr_setup.FileNameOpts.read_vpr_constraints_file.empty()) {
34+
VTR_LOG("Vpr floorplanning constraints file: not specified\n");
35+
} else {
36+
VTR_LOG("Vpr floorplanning constraints file: %s\n", vpr_setup.FileNameOpts.read_vpr_constraints_file.c_str());
37+
}
3438
VTR_LOG("\n");
3539

3640
VTR_LOG("Packer: %s\n", (vpr_setup.PackerOpts.doPacking ? "ENABLED" : "DISABLED"));

vpr/src/base/vpr_constraints.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
* The following definitions are useful to understanding this class:
2424
*
2525
* Partition: a grouping of atoms that are constrained to a portion of an FPGA
26-
* See vpr/base/partition.h for more detail
26+
* See vpr/src/base/partition.h for more detail
2727
*
2828
* Region: the x and y bounds of a rectangular region, optionally including a subtile value,
2929
* that atoms in a partition are constrained to
30-
* See vpr/base/region.h for more detail
30+
* See vpr/src/base/region.h for more detail
3131
*
3232
* PartitionRegion: the union of regions that a partition can be placed in
33-
* See vpr/base/partition_region.h for more detail
33+
* See vpr/src/base/partition_region.h for more detail
3434
*
3535
*
3636
*/

0 commit comments

Comments
 (0)