mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Added "techmap -map %{design-name}"
This commit is contained in:
parent
397b00252d
commit
03c96f9ce7
4 changed files with 29 additions and 10 deletions
|
@ -352,11 +352,16 @@ struct RTLIL::Design
|
|||
std::map<RTLIL::IdString, RTLIL::Selection> selection_vars;
|
||||
std::string selected_active_module;
|
||||
|
||||
Design();
|
||||
~Design();
|
||||
|
||||
RTLIL::ObjRange<RTLIL::Module*> modules();
|
||||
RTLIL::Module *module(RTLIL::IdString name);
|
||||
|
||||
bool has(RTLIL::IdString id) const {
|
||||
return modules_.count(id) != 0;
|
||||
}
|
||||
|
||||
void add(RTLIL::Module *module);
|
||||
RTLIL::Module *addModule(RTLIL::IdString name);
|
||||
void remove(RTLIL::Module *module);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue