[lib] fixed some bugs

This commit is contained in:
tangxifan 2022-07-28 21:21:24 -07:00
parent 63229c20ff
commit d55f3f7779
2 changed files with 2 additions and 5 deletions

View File

@ -79,9 +79,6 @@ int pcf2place(const PcfData& pcf_data,
}
num_err++;
continue;
} else {
VTR_LOG_ERROR("Internal error, please contact us!\n");
continue;
}
VTR_ASSERT(1 == int_pin_ids.size());
BasicPort int_pin = io_pin_table.internal_pin(int_pin_ids[0]);

View File

@ -78,9 +78,9 @@ bool PcfData::validate() const {
pin2net[curr_pin] = curr_net;
}
if (num_err) {
return true;
return false;
}
return false;
return true;
}
/************************************************************************