summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-01-01 12:56:01 +0100
committerClifford Wolf <clifford@clifford.at>2015-01-01 12:56:01 +0100
commiteefe78be094f8009cdb4a7a0e657e86b9624adf1 (patch)
tree6bda1ad89e9b4a01b288d3193d23771e17a4190e /backends
parent17c1c5547365ae9ec58a1600a67c2b878449de1f (diff)
Fixed memory->start_offset handling
Diffstat (limited to 'backends')
-rw-r--r--backends/ilang/ilang_backend.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/ilang/ilang_backend.cc b/backends/ilang/ilang_backend.cc
index dd5b6f3c..60fb0990 100644
--- a/backends/ilang/ilang_backend.cc
+++ b/backends/ilang/ilang_backend.cc
@@ -150,6 +150,8 @@ void ILANG_BACKEND::dump_memory(std::ostream &f, std::string indent, const RTLIL
f << stringf("width %d ", memory->width);
if (memory->size != 0)
f << stringf("size %d ", memory->size);
+ if (memory->start_offset != 0)
+ f << stringf("offset %d ", memory->start_offset);
f << stringf("%s\n", memory->name.c_str());
}