mirror of https://github.com/YosysHQ/yosys.git
Remove check for cell->name[0] == '$'
This commit is contained in:
parent
c373640a3a
commit
20ca795b87
|
@ -1248,7 +1248,7 @@ void dump_cell(std::ostream &f, std::string indent, RTLIL::Cell *cell)
|
|||
f << stringf("%s" "%s", indent.c_str(), id(cell->type, false).c_str());
|
||||
|
||||
std::string init;
|
||||
if (cell->name[0] == '$' && reg_ct.count(cell->type) && cell->hasPort("\\Q")) {
|
||||
if (reg_ct.count(cell->type) && cell->hasPort("\\Q")) {
|
||||
std::stringstream ss;
|
||||
dump_reg_init(ss, cell->getPort("\\Q"), false /* write_equals */);
|
||||
init = ss.str();
|
||||
|
|
Loading…
Reference in New Issue