[Lib] Add libpcf to CMakelist and bug fix

This commit is contained in:
tangxifan 2021-01-19 15:51:14 -07:00
parent 52ac7826eb
commit ecd955124b
2 changed files with 4 additions and 3 deletions

View File

@ -6,3 +6,4 @@ add_subdirectory(libopenfpgautil)
add_subdirectory(libfabrickey)
add_subdirectory(librepackdc)
add_subdirectory(libfpgabitstream)
add_subdirectory(libpcf)

View File

@ -27,9 +27,9 @@
* Return 2 if fail when creating files
*******************************************************************/
static
int write_xml_io_constraint(std::fstream& fp,
const PinConstraints& pin_constraints,
const PinConstraintId& pin_constraint) {
int write_xml_pin_constraint(std::fstream& fp,
const PinConstraints& pin_constraints,
const PinConstraintId& pin_constraint) {
/* Validate the file stream */
if (false == openfpga::valid_file_stream(fp)) {
return 2;