forked from github/verilator
Fix segfault on multidimensional dotted arrays, bug607.
This commit is contained in:
parent
498ab23355
commit
e1eb41fe77
2
Changes
2
Changes
@ -24,6 +24,8 @@ indicates the contributor was also the author of the fix; Thanks!
|
||||
|
||||
**** Fix signed/unsigned parameter misconversion, bug606. [Jeremy Bennett]
|
||||
|
||||
**** Fix segfault on multidimensional dotted arrays, bug607. [Jie Xu]
|
||||
|
||||
**** Fix package logic var compile error.
|
||||
|
||||
|
||||
|
@ -1563,6 +1563,7 @@ private:
|
||||
m_ds.init(m_curSymp);
|
||||
nodep->rhsp()->iterateAndNext(*this);
|
||||
nodep->thsp()->iterateAndNext(*this);
|
||||
nodep->attrp()->iterateAndNext(*this);
|
||||
}
|
||||
m_ds = lastStates;
|
||||
}
|
||||
|
@ -21,10 +21,12 @@ module t (/*AUTOARG*/
|
||||
);
|
||||
input clk;
|
||||
wire [71:0] ctrl;
|
||||
wire [7:0] cl; // this line is added
|
||||
|
||||
memory #(.words(72)) i_memory (.clk (clk));
|
||||
|
||||
assign ctrl = i_memory.mem[0];
|
||||
assign cl = i_memory.mem[0][7:0]; // and this line
|
||||
endmodule
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user