aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/register.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-02-20 23:28:59 +0100
committerClifford Wolf <clifford@clifford.at>2014-02-20 23:28:59 +0100
commit483c99fe46d6b1cd35abddd38a629d30e13289b4 (patch)
treeac28b35d3cb6516c7f098740c005a0dd063b08cc /kernel/register.h
parentb0e84802ecf3e224387317245786cd1437773a42 (diff)
downloadyosys-483c99fe46d6b1cd35abddd38a629d30e13289b4.tar.gz
yosys-483c99fe46d6b1cd35abddd38a629d30e13289b4.tar.bz2
yosys-483c99fe46d6b1cd35abddd38a629d30e13289b4.zip
Added "design -push" and "design -pop"
Diffstat (limited to 'kernel/register.h')
-rw-r--r--kernel/register.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/register.h b/kernel/register.h
index 83e1059c6..b582f98c9 100644
--- a/kernel/register.h
+++ b/kernel/register.h
@@ -40,6 +40,10 @@ std::string rewrite_yosys_exe(std::string exe);
std::string get_share_file_name(std::string file);
const char *create_prompt(RTLIL::Design *design, int recursion_counter);
+// from passes/cmds/design.cc
+extern std::map<std::string, RTLIL::Design*> saved_designs;
+extern std::vector<RTLIL::Design*> pushed_designs;
+
struct Pass
{
std::string pass_name, short_help;