Fix RTLIL::Memory::start_offset initialization
authorClifford Wolf <clifford@clifford.at>
Wed, 25 Jan 2017 16:00:59 +0000 (17:00 +0100)
committerClifford Wolf <clifford@clifford.at>
Wed, 25 Jan 2017 16:00:59 +0000 (17:00 +0100)
kernel/rtlil.cc

index 40ad8ca138317c7ca3b0ece82ee53a18abf503da..365bfd9f8f81d2d3457cfc78f9b1cdc9cd1981e1 100644 (file)
@@ -2050,6 +2050,7 @@ RTLIL::Memory::Memory()
        hashidx_ = hashidx_count;
 
        width = 1;
+       start_offset = 0;
        size = 0;
 }