diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-03-31 11:16:34 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-03-31 11:16:34 +0200 |
commit | 25533190818b0fe207be9a4626a9a273a08ae219 (patch) | |
tree | 67922d2eb15bb54b19fc30a6462d7d140dda528f /kernel/yosys.cc | |
parent | 6cafd08ac1090f405168187632fab4308129c599 (diff) | |
download | yosys-25533190818b0fe207be9a4626a9a273a08ae219.tar.gz yosys-25533190818b0fe207be9a4626a9a273a08ae219.tar.bz2 yosys-25533190818b0fe207be9a4626a9a273a08ae219.zip |
Added ScriptPass helper class for script-like passes
Diffstat (limited to 'kernel/yosys.cc')
-rw-r--r-- | kernel/yosys.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/yosys.cc b/kernel/yosys.cc index 501d94224..8da57fd4e 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -1100,8 +1100,8 @@ struct HistoryPass : public Pass { } HistoryPass; #endif -struct ScriptPass : public Pass { - ScriptPass() : Pass("script", "execute commands from script file") { } +struct ScriptCmdPass : public Pass { + ScriptCmdPass() : Pass("script", "execute commands from script file") { } virtual void help() { log("\n"); log(" script <filename> [<from_label>:<to_label>]\n"); @@ -1127,7 +1127,7 @@ struct ScriptPass : public Pass { else extra_args(args, 2, design, false); } -} ScriptPass; +} ScriptCmdPass; YOSYS_NAMESPACE_END |