mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Added support for signed parameters in ilang
This commit is contained in:
parent
7eaad2218d
commit
0ef22c7609
3 changed files with 9 additions and 2 deletions
|
@ -155,7 +155,7 @@ void ILANG_BACKEND::dump_cell(FILE *f, std::string indent, const RTLIL::Cell *ce
|
|||
}
|
||||
fprintf(f, "%s" "cell %s %s\n", indent.c_str(), cell->type.c_str(), cell->name.c_str());
|
||||
for (auto it = cell->parameters.begin(); it != cell->parameters.end(); it++) {
|
||||
fprintf(f, "%s parameter %s ", indent.c_str(), it->first.c_str());
|
||||
fprintf(f, "%s parameter%s %s ", indent.c_str(), cell->signed_parameters.count(it->first) ? " signed" : "", it->first.c_str());
|
||||
dump_const(f, it->second);
|
||||
fprintf(f, "\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue