Skip to content

Commit f876b39

Browse files
committed
fixed compiler warning
1 parent 3e01d63 commit f876b39

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

vpr/src/base/load_flat_place.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ void print_flat_placement(const char* flat_place_file) {
4444
}
4545

4646
/* ingests and legalizes a flat placement file */
47-
bool load_flat_placement(t_vpr_setup& vpr_setup, const t_arch& arch) {
47+
bool load_flat_placement(t_vpr_setup& vpr_setup, const char* architecture_id) {
4848
VTR_LOG("load_flat_placement(); when implemented, this function:");
4949
VTR_LOG("\n\tLoads flat placement file: %s, ", vpr_setup.FileNameOpts.FlatPlaceFile.c_str());
50+
VTR_LOG("\n\tArch id: %s, ", architecture_id);
5051
VTR_LOG("\n\tPrints clustered netlist file: %s, ", vpr_setup.FileNameOpts.NetFile.c_str());
5152
VTR_LOG("\n\tPrints fix clusters file: %s\n", vpr_setup.FileNameOpts.write_constraints_file.c_str());
5253

vpr/src/base/load_flat_place.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ void print_flat_placement(const char* flat_place_file);
1111
/**
1212
* @brief A function that loads and legalizes a flat placement file
1313
*/
14-
bool load_flat_placement(t_vpr_setup& vpr_setup, const t_arch& arch);
14+
bool load_flat_placement(t_vpr_setup& vpr_setup, const char* archi_id);
1515

1616
#endif

vpr/src/base/vpr_api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ bool vpr_pack_flow(t_vpr_setup& vpr_setup, const t_arch& arch) {
621621
device_ctx.grid = create_device_grid(vpr_setup.device_layout, arch.grid_layouts);
622622

623623
// load and legalize flat placement file, print .net and fix clusters files
624-
status = load_flat_placement(vpr_setup, arch);
624+
status = load_flat_placement(vpr_setup, arch.architecture_id);
625625
if (!status) {
626626
return status;
627627
}

0 commit comments

Comments
 (0)