Skip to content

Commit

Permalink
Update database syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviens committed Jul 5, 2024
1 parent 767b513 commit 20a432e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion passes/cellift/cellift.cc
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ struct CelliftPass : public Pass {
for (auto cell : module->selected_cells()) {
RTLIL::Module *tpl = design->module(cell->type);
if (tpl != nullptr) {
if (topo_modules.database.count(tpl) == 0)
if (topo_modules.get_database().count(tpl) == 0)
worklist.push_back(tpl);
topo_modules.edge(tpl, module);
non_top_modules.insert(cell->type);
Expand Down
2 changes: 1 addition & 1 deletion passes/cmds/insert_dff_cell.cc
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ struct InsertDffCellPass : public Pass {
for (auto cell : module->selected_cells()) {
RTLIL::Module *tpl = design->module(cell->type);
if (tpl != nullptr) {
if (topo_modules.database.count(tpl) == 0)
if (topo_modules.get_database().count(tpl) == 0)
worklist.push_back(tpl);
topo_modules.edge(tpl, module);
non_top_modules.insert(cell->type);
Expand Down
2 changes: 1 addition & 1 deletion passes/cmds/insert_shift_cell.cc
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ struct InsertShiftCellPass : public Pass {
for (auto cell : module->selected_cells()) {
RTLIL::Module *tpl = design->module(cell->type);
if (tpl != nullptr) {
if (topo_modules.database.count(tpl) == 0)
if (topo_modules.get_database().count(tpl) == 0)
worklist.push_back(tpl);
topo_modules.edge(tpl, module);
non_top_modules.insert(cell->type);
Expand Down
2 changes: 1 addition & 1 deletion passes/cmds/insert_shiftx_cell.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ struct InsertShiftXCellPass : public Pass {
for (auto cell : module->selected_cells()) {
RTLIL::Module *tpl = design->module(cell->type);
if (tpl != nullptr) {
if (topo_modules.database.count(tpl) == 0)
if (topo_modules.get_database().count(tpl) == 0)
worklist.push_back(tpl);
topo_modules.edge(tpl, module);
non_top_modules.insert(cell->type);
Expand Down
2 changes: 1 addition & 1 deletion passes/cmds/meta_reset.cc
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ struct MetaResetPass : public Pass {
for (auto cell : module->selected_cells()) {
RTLIL::Module *tpl = design->module(cell->type);
if (tpl != nullptr) {
if (topo_modules.database.count(tpl) == 0)
if (topo_modules.get_database().count(tpl) == 0)
worklist.push_back(tpl);
topo_modules.edge(tpl, module);
}
Expand Down
2 changes: 1 addition & 1 deletion passes/cmds/mul_to_adds.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ struct MulToAddsPass : public Pass {
for (auto cell : module->selected_cells()) {
RTLIL::Module *tpl = design->module(cell->type);
if (tpl != nullptr) {
if (topo_modules.database.count(tpl) == 0)
if (topo_modules.get_database().count(tpl) == 0)
worklist.push_back(tpl);
topo_modules.edge(tpl, module);
non_top_modules.insert(cell->type);
Expand Down
2 changes: 1 addition & 1 deletion passes/cmds/taint_probes.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ struct TaintProbesPass : public Pass {
for (auto cell : module->selected_cells()) {
RTLIL::Module *tpl = design->module(cell->type);
if (tpl != nullptr) {
if (topo_modules.database.count(tpl) == 0)
if (topo_modules.get_database().count(tpl) == 0)
worklist.push_back(tpl);
topo_modules.edge(tpl, module);
}
Expand Down

0 comments on commit 20a432e

Please sign in to comment.