mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-21 05:13:40 +00:00
Added "rename -top new_name"
This commit is contained in:
parent
9f7a5b4ef9
commit
99100f367d
3 changed files with 43 additions and 0 deletions
|
@ -800,6 +800,7 @@ struct RTLIL::Design
|
|||
|
||||
RTLIL::ObjRange<RTLIL::Module*> modules();
|
||||
RTLIL::Module *module(RTLIL::IdString name);
|
||||
RTLIL::Module *top_module();
|
||||
|
||||
bool has(RTLIL::IdString id) const {
|
||||
return modules_.count(id) != 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue