forked from github/verilator
Fix core dump on v3Number replace'ed assertions.
This commit is contained in:
parent
71265a8ec9
commit
1a36e05cc6
@ -58,6 +58,7 @@ private:
|
||||
dtypeSetLogicUnsized(m_num.width(), (m_num.sized() ? 0 : m_num.widthMin()),
|
||||
AstNumeric::fromBool(m_num.isSigned()));
|
||||
}
|
||||
m_num.nodep(this);
|
||||
}
|
||||
public:
|
||||
AstConst(FileLine* fl, const V3Number& num)
|
||||
|
@ -1,4 +1,5 @@
|
||||
%Error: t/t_math_shift_over_bad.v:18: Value too wide for 32-bits expected in this context 64'h123456789abcdef
|
||||
: ... In instance t
|
||||
assign o = i << 64'h01234567_89abcdef;
|
||||
^~~~~~~~~~~~~~~~~~~~~
|
||||
%Error: Exiting due to
|
||||
|
Loading…
Reference in New Issue
Block a user