diff --git a/mistral/arch.cc b/mistral/arch.cc index 70e8f806..ba7483e7 100644 --- a/mistral/arch.cc +++ b/mistral/arch.cc @@ -46,7 +46,7 @@ void IdString::initialize_arch(const BaseCtx *ctx) Arch::Arch(ArchArgs args) { this->args = args; - this->cyclonev = mistral::CycloneV::get_model(args.device, args.mistral_root); + this->cyclonev = mistral::CycloneV::get_model(args.device); NPNR_ASSERT(this->cyclonev != nullptr); // Setup fast identifier maps diff --git a/mistral/arch.h b/mistral/arch.h index 1a42530a..c00ee2a7 100644 --- a/mistral/arch.h +++ b/mistral/arch.h @@ -34,7 +34,6 @@ NEXTPNR_NAMESPACE_BEGIN struct ArchArgs { std::string device; - std::string mistral_root; }; // These structures are used for fast ALM validity checking diff --git a/mistral/main.cc b/mistral/main.cc index 0afba3d8..bd9ef591 100644 --- a/mistral/main.cc +++ b/mistral/main.cc @@ -47,7 +47,6 @@ MistralCommandHandler::MistralCommandHandler(int argc, char **argv) : CommandHan po::options_description MistralCommandHandler::getArchOptions() { po::options_description specific("Architecture specific options"); - specific.add_options()("mistral", po::value(), "path to mistral root"); specific.add_options()("device", po::value(), "device name (e.g. 5CSEBA6U23I7)"); specific.add_options()("qsf", po::value(), "path to QSF constraints file"); specific.add_options()("rbf", po::value(), "RBF bitstream to write"); @@ -74,13 +73,9 @@ void MistralCommandHandler::customBitstream(Context *ctx) std::unique_ptr MistralCommandHandler::createContext(dict &values) { ArchArgs chipArgs; - if (!vm.count("mistral")) { - log_error("mistral must be specified on the command line\n"); - } if (!vm.count("device")) { log_error("device must be specified on the command line (e.g. --device 5CSEBA6U23I7)\n"); } - chipArgs.mistral_root = vm["mistral"].as(); chipArgs.device = vm["device"].as(); auto ctx = std::unique_ptr(new Context(chipArgs)); if (vm.count("compress-rbf"))