mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-26 07:43:42 +00:00
kernel: use more ID::*
This commit is contained in:
parent
164dd0f6b2
commit
fdafb74eb7
69 changed files with 843 additions and 841 deletions
|
@ -207,7 +207,7 @@ struct DesignPass : public Pass {
|
|||
if (import_mode) {
|
||||
for (auto module : copy_src_modules)
|
||||
{
|
||||
if (module->get_bool_attribute("\\top")) {
|
||||
if (module->get_bool_attribute(ID::top)) {
|
||||
copy_src_modules.clear();
|
||||
copy_src_modules.push_back(module);
|
||||
break;
|
||||
|
@ -244,7 +244,7 @@ struct DesignPass : public Pass {
|
|||
RTLIL::Module *t = mod->clone();
|
||||
t->name = prefix;
|
||||
t->design = copy_to_design;
|
||||
t->attributes.erase("\\top");
|
||||
t->attributes.erase(ID::top);
|
||||
copy_to_design->add(t);
|
||||
|
||||
queue.insert(t);
|
||||
|
@ -276,7 +276,7 @@ struct DesignPass : public Pass {
|
|||
RTLIL::Module *t = fmod->clone();
|
||||
t->name = trg_name;
|
||||
t->design = copy_to_design;
|
||||
t->attributes.erase("\\top");
|
||||
t->attributes.erase(ID::top);
|
||||
copy_to_design->add(t);
|
||||
|
||||
queue.insert(t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue