3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 13:18:56 +00:00

Removed at() method from RTLIL::IdString

This commit is contained in:
Clifford Wolf 2014-08-02 19:08:02 +02:00
parent 04727c7e0f
commit 8e7361f128
3 changed files with 7 additions and 8 deletions

View file

@ -50,7 +50,7 @@ static bool consider_cell(RTLIL::Design *design, std::set<RTLIL::IdString> &dff_
{
if (cell->name[0] == '$' || dff_cells.count(cell->name))
return false;
if (cell->type.at(0) == '\\' && !design->modules_.count(cell->type))
if (cell->type[0] == '\\' && !design->modules_.count(cell->type))
return false;
return true;
}