diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-07-27 14:27:51 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-07-27 14:27:51 +0200 |
commit | 0f38008ed34e36e798f521b4b6d4fea89ae31a3b (patch) | |
tree | 2fc23463121715ae0fb602ac9bf871ee9dd82c5e /kernel/rtlil.h | |
parent | 974b6a947c822e9f1a5e67c4847c98b923d30398 (diff) | |
download | yosys-0f38008ed34e36e798f521b4b6d4fea89ae31a3b.tar.gz yosys-0f38008ed34e36e798f521b4b6d4fea89ae31a3b.tar.bz2 yosys-0f38008ed34e36e798f521b4b6d4fea89ae31a3b.zip |
Added "design" command (-reset, -save, -load)
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r-- | kernel/rtlil.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 6dde475d1..f5e8ae477 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -239,8 +239,9 @@ struct RTLIL::Module { void add(RTLIL::Cell *cell); void fixup_ports(); - template<typename T> - void rewrite_sigspecs(T functor); + template<typename T> void rewrite_sigspecs(T functor); + void cloneInto(RTLIL::Module *new_mod) const; + virtual RTLIL::Module *clone() const; }; struct RTLIL::Wire { @@ -266,8 +267,7 @@ struct RTLIL::Cell { std::map<RTLIL::IdString, RTLIL::Const> parameters; void optimize(); - template<typename T> - void rewrite_sigspecs(T functor); + template<typename T> void rewrite_sigspecs(T functor); }; struct RTLIL::SigChunk { @@ -337,8 +337,8 @@ struct RTLIL::CaseRule { ~CaseRule(); void optimize(); - template<typename T> - void rewrite_sigspecs(T functor); + template<typename T> void rewrite_sigspecs(T functor); + RTLIL::CaseRule *clone() const; }; struct RTLIL::SwitchRule { @@ -348,8 +348,8 @@ struct RTLIL::SwitchRule { ~SwitchRule(); void optimize(); - template<typename T> - void rewrite_sigspecs(T functor); + template<typename T> void rewrite_sigspecs(T functor); + RTLIL::SwitchRule *clone() const; }; struct RTLIL::SyncRule { @@ -358,8 +358,8 @@ struct RTLIL::SyncRule { std::vector<RTLIL::SigSig> actions; void optimize(); - template<typename T> - void rewrite_sigspecs(T functor); + template<typename T> void rewrite_sigspecs(T functor); + RTLIL::SyncRule *clone() const; }; struct RTLIL::Process { @@ -370,8 +370,8 @@ struct RTLIL::Process { ~Process(); void optimize(); - template<typename T> - void rewrite_sigspecs(T functor); + template<typename T> void rewrite_sigspecs(T functor); + RTLIL::Process *clone() const; }; template<typename T> |