aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/yosys.h
diff options
context:
space:
mode:
authorClaire Xen <claire@clairexen.net>2021-12-10 11:23:53 +0100
committerGitHub <noreply@github.com>2021-12-10 11:23:53 +0100
commitce82afe44f4c396c253a293a5f0d56212fe27010 (patch)
treece3d60c7aa65c8f67a583f1d8da1913ade20fd9e /kernel/yosys.h
parentcdb57118758f855518ad416d12728d72bff58c10 (diff)
parentd6e4d3f1ba9191f0f3bbed2d47a9ef80b8614e77 (diff)
downloadyosys-ce82afe44f4c396c253a293a5f0d56212fe27010.tar.gz
yosys-ce82afe44f4c396c253a293a5f0d56212fe27010.tar.bz2
yosys-ce82afe44f4c396c253a293a5f0d56212fe27010.zip
Merge pull request #3099 from YosysHQ/claire/readargs
Use "read" command to parse HDL files from Yosys command-line
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r--kernel/yosys.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h
index 826e7f4cd..091e2282f 100644
--- a/kernel/yosys.h
+++ b/kernel/yosys.h
@@ -347,8 +347,7 @@ std::vector<std::string> glob_filename(const std::string &filename_pattern);
void rewrite_filename(std::string &filename);
void run_pass(std::string command, RTLIL::Design *design = nullptr);
-void run_frontend(std::string filename, std::string command, std::string *backend_command, std::string *from_to_label = nullptr, RTLIL::Design *design = nullptr);
-void run_frontend(std::string filename, std::string command, RTLIL::Design *design = nullptr);
+bool run_frontend(std::string filename, std::string command, RTLIL::Design *design = nullptr, std::string *from_to_label = nullptr);
void run_backend(std::string filename, std::string command, RTLIL::Design *design = nullptr);
void shell(RTLIL::Design *design);