diff --git a/xc7/main.cc b/xc7/main.cc index 79f40add..67515f7b 100644 --- a/xc7/main.cc +++ b/xc7/main.cc @@ -51,7 +51,7 @@ po::options_description Xc7CommandHandler::getArchOptions() po::options_description specific("Architecture specific options"); specific.add_options()("xc7z020", "set device type to xc7z020"); // specific.add_options()("package", po::value(), "set device package"); -// specific.add_options()("pcf", po::value(), "PCF constraints file to ingest"); + specific.add_options()("pcf", po::value(), "PCF constraints file to ingest"); specific.add_options()("xdl", po::value(), "XDL file to write"); // specific.add_options()("read", po::value(), "asc bitstream file to read"); // specific.add_options()("tmfuzz", "run path delay estimate fuzzer"); @@ -67,12 +67,12 @@ void Xc7CommandHandler::validate() void Xc7CommandHandler::customAfterLoad(Context *ctx) { -// if (vm.count("pcf")) { + 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"); -// } + } } void Xc7CommandHandler::setupArchContext(Context *ctx) {