diff --git a/xc7/main.cc b/xc7/main.cc index 01e736c8..c24ce488 100644 --- a/xc7/main.cc +++ b/xc7/main.cc @@ -69,10 +69,10 @@ void Xc7CommandHandler::validate() void Xc7CommandHandler::customAfterLoad(Context *ctx) { if (vm.count("pcf")) { -// std::string filename = vm["pcf"].as(); -// std::ifstream pcf(filename); -// if (!apply_pcf(ctx, filename, pcf)) -// log_error("Loading PCF failed.\n"); + std::string filename = vm["pcf"].as(); + std::ifstream pcf(filename); + if (!apply_pcf(ctx, filename, pcf)) + log_error("Loading PCF failed.\n"); } } void Xc7CommandHandler::customBitstream(Context *ctx)