summaryrefslogtreecommitdiff
path: root/backends/ilang/ilang_backend.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-24 17:37:27 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-24 17:37:27 +0100
commit0ef22c76095bcca8ac7cacfc32e4ce6dd552addf (patch)
treebd6b604cf13f8f035af64c249a8204e3b10e35ee /backends/ilang/ilang_backend.cc
parent7eaad2218dab9feec82e8ffe7adbc58463cadb7d (diff)
Added support for signed parameters in ilang
Diffstat (limited to 'backends/ilang/ilang_backend.cc')
-rw-r--r--backends/ilang/ilang_backend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/ilang/ilang_backend.cc b/backends/ilang/ilang_backend.cc
index b51b3f88..57370841 100644
--- a/backends/ilang/ilang_backend.cc
+++ b/backends/ilang/ilang_backend.cc
@@ -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");
}