From d80b63cc5509a1f850c11daaba485a47ab6c2c5d Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Sat, 3 Nov 2018 15:17:53 -0700 Subject: [PATCH] [xc7] Re-enable PCF reading --- xc7/main.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)