3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 09:05:32 +00:00

Added "design -push" and "design -pop"

This commit is contained in:
Clifford Wolf 2014-02-20 23:28:59 +01:00
parent b0e84802ec
commit 483c99fe46
2 changed files with 49 additions and 8 deletions

View file

@ -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;