USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN
-bool defparam, noattr;
pool<string> used_names;
dict<IdString, string> namecache;
int autoid_counter;
void process_instance(RTLIL::Cell *cell, vector<string> &wire_exprs)
{
- // TODO: Deal with cell attributes
- if (!noattr && !cell->attributes.empty()) {
-
- }
std::string cell_type = fid(cell->type);
- // TODO: Deal with cell parameters
- if (!defparam && cell->parameters.size() > 0) {
-
- }
-
std::string cell_name = cellname(cell);
std::string cell_name_comment;
if (cell_name != fid(cell->name))