mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix large array initialization (#6669)
This commit is contained in:
@@ -254,6 +254,7 @@ class SliceVisitor final : public VNVisitor {
|
||||
const int elementLimit = v3Global.opt.fSliceElementLimit();
|
||||
if (elements > elementLimit && elementLimit > 0) {
|
||||
++m_statSliceElementSkips;
|
||||
m_okInitArray = true; // VL_RESTORER in visit(AstNodeAssign)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user