diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-01 12:56:01 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-01 12:56:01 +0100 |
commit | eefe78be094f8009cdb4a7a0e657e86b9624adf1 (patch) | |
tree | 6bda1ad89e9b4a01b288d3193d23771e17a4190e /backends/ilang | |
parent | 17c1c5547365ae9ec58a1600a67c2b878449de1f (diff) | |
download | yosys-eefe78be094f8009cdb4a7a0e657e86b9624adf1.tar.gz yosys-eefe78be094f8009cdb4a7a0e657e86b9624adf1.tar.bz2 yosys-eefe78be094f8009cdb4a7a0e657e86b9624adf1.zip |
Fixed memory->start_offset handling
Diffstat (limited to 'backends/ilang')
-rw-r--r-- | backends/ilang/ilang_backend.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/ilang/ilang_backend.cc b/backends/ilang/ilang_backend.cc index dd5b6f3ce..60fb09901 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()); } |