diff --git a/libopenfpga/CMakeLists.txt b/libopenfpga/CMakeLists.txt index e889f935a..62dc6d596 100644 --- a/libopenfpga/CMakeLists.txt +++ b/libopenfpga/CMakeLists.txt @@ -6,3 +6,4 @@ add_subdirectory(libopenfpgautil) add_subdirectory(libfabrickey) add_subdirectory(librepackdc) add_subdirectory(libfpgabitstream) +add_subdirectory(libpcf) diff --git a/libopenfpga/libpcf/src/write_xml_pin_constraints.cpp b/libopenfpga/libpcf/src/write_xml_pin_constraints.cpp index ba471fb0c..80a664f3f 100644 --- a/libopenfpga/libpcf/src/write_xml_pin_constraints.cpp +++ b/libopenfpga/libpcf/src/write_xml_pin_constraints.cpp @@ -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;