diff --git a/src/Compiler/CompilerOpenFPGA_ql.cpp b/src/Compiler/CompilerOpenFPGA_ql.cpp index 6313bc5de..d98c6c6d4 100644 --- a/src/Compiler/CompilerOpenFPGA_ql.cpp +++ b/src/Compiler/CompilerOpenFPGA_ql.cpp @@ -2216,26 +2216,6 @@ bool CompilerOpenFPGA_ql::Synthesize() { return false; } - // if user has explicitly asked us *not* to copy the yosys files - // as per the device target, then skip the copy section below. - // we assume, that the user know that the share/yosys/ dir contents - // are already setup correctly for the device target being used - // a quick way to do this from the user side would be to just run - // a project/example without the --noyosyscopy file once, and then - // use multiple projects (in parallel) with the --noyosyscopy flag passed in - // subsequently. - if(GetSession()->CmdLine()->NoYosysCopy()) { - // skip the section copying yosys share files required - // for the device target - } - else { - // copy the yosys shared files (device models) to the yosys and tabbycad - // dirs in the install. - bool yosysSetupStatus = QLDeviceManager::getInstance()->deviceSetupYosysModels(); - if(yosysSetupStatus == false) { - return false; - } - } // init synthesis script from the right location according to the selected device. std::string yosysScript = InitSynthesisScript(); diff --git a/src/Main/CommandLine.cpp b/src/Main/CommandLine.cpp index 3a8afb673..f51e2ab12 100644 --- a/src/Main/CommandLine.cpp +++ b/src/Main/CommandLine.cpp @@ -91,8 +91,6 @@ void CommandLine::processArgs() { m_version = true; } else if (token == "--mute") { m_mute = true; - } else if (token == "--noyosyscopy") { - m_noyosyscopy = true; } else { std::cout << "ERROR Unknown command line option: " << m_argv[i] << std::endl; @@ -118,5 +116,4 @@ void CommandLine::Clear() m_version = false; m_useVerific = false; m_mute = false; - m_noyosyscopy = false; } \ No newline at end of file diff --git a/src/Main/CommandLine.h b/src/Main/CommandLine.h index f8e62a387..0a8cab295 100644 --- a/src/Main/CommandLine.h +++ b/src/Main/CommandLine.h @@ -67,7 +67,6 @@ class CommandLine { void ErrorAndExit(const std::string& message); bool FileExists(const std::filesystem::path& name); bool Mute() const { return m_mute; } - bool NoYosysCopy() const { return m_noyosyscopy; } void Clear(); @@ -86,7 +85,6 @@ class CommandLine { bool m_version = false; bool m_useVerific = false; bool m_mute = false; - bool m_noyosyscopy = false; }; } // namespace FOEDAG