diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-06-30 01:37:59 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-06-30 01:37:59 +0200 |
commit | caa274ada6f2f35119cff943d0e9ed05dfaaeec7 (patch) | |
tree | 14562590d3f49ce6379d1426d15b130c8668860c /kernel/rtlil.h | |
parent | df0163cd2b0dfd7c825f13ecb1c22f4f4d494a3b (diff) | |
download | yosys-caa274ada6f2f35119cff943d0e9ed05dfaaeec7.tar.gz yosys-caa274ada6f2f35119cff943d0e9ed05dfaaeec7.tar.bz2 yosys-caa274ada6f2f35119cff943d0e9ed05dfaaeec7.zip |
Added design->rename(module, new_name)
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r-- | kernel/rtlil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index b6248c4c0..854ec1303 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -809,6 +809,7 @@ struct RTLIL::Design void add(RTLIL::Module *module); RTLIL::Module *addModule(RTLIL::IdString name); void remove(RTLIL::Module *module); + void rename(RTLIL::Module *module, RTLIL::IdString new_name); void scratchpad_unset(std::string varname); |