diff --git a/libopenfpga/libarchopenfpga/src/read_openfpga_xml.cpp b/libopenfpga/libarchopenfpga/src/read_openfpga_xml.cpp index a14ed3547..bf8f0f65b 100644 --- a/libopenfpga/libarchopenfpga/src/read_openfpga_xml.cpp +++ b/libopenfpga/libarchopenfpga/src/read_openfpga_xml.cpp @@ -60,7 +60,7 @@ e_circuit_model_type string_to_circuit_model_type(const std::string& type_string return CIRCUIT_MODEL_INVBUF; } - if (std::string("passgate") == type_string) { + if (std::string("pass_gate") == type_string) { return CIRCUIT_MODEL_PASSGATE; } diff --git a/libopenfpga/libarchopenfpga/test/main.cpp b/libopenfpga/libarchopenfpga/test/main.cpp index cf76e7a5b..2bc37d5ba 100644 --- a/libopenfpga/libarchopenfpga/test/main.cpp +++ b/libopenfpga/libarchopenfpga/test/main.cpp @@ -10,7 +10,7 @@ int main(int argc, const char** argv) { /* Parse the circuit library from an XML file */ const CircuitSettings& circuit_settings = read_xml_openfpga_arch(argv[1]); - VTR_LOG("Parsed %s circuit models from XML into circuit library.\n", + VTR_LOG("Parsed %lu circuit models from XML into circuit library.\n", circuit_settings.circuit_lib.num_models()); /* Check the circuit library */