Skip to content

Commit 02b338a

Browse files
authored
Merge pull request verilog-to-routing#2625 from verilog-to-routing/add_default_flat_placement_filename
added default filename generation for input flat placement file
2 parents 8192a19 + a5e7c7a commit 02b338a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vpr/src/base/read_options.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3010,6 +3010,12 @@ void set_conditional_defaults(t_options& args) {
30103010
args.RouteFile.set(route_file, Provenance::INFERRED);
30113011
}
30123012

3013+
if (args.FlatPlaceFile.provenance() != Provenance::SPECIFIED) {
3014+
std::string flat_place_file = args.out_file_prefix;
3015+
flat_place_file += default_output_name + ".flat_place";
3016+
args.FlatPlaceFile.set(flat_place_file, Provenance::INFERRED);
3017+
}
3018+
30133019
if (args.ActFile.provenance() != Provenance::SPECIFIED) {
30143020
std::string activity_file = args.out_file_prefix;
30153021
activity_file += default_output_name + ".act";

0 commit comments

Comments
 (0)