forked from github/verilator
Fix array bound checks on real variables.
This commit is contained in:
parent
053e016388
commit
97633f7bed
2
Changes
2
Changes
@ -7,6 +7,8 @@ indicates the contributor was also the author of the fix; Thanks!
|
||||
|
||||
*** Support case inside, bug708. [Jan Egil Ruud]
|
||||
|
||||
**** Fix array bound checks on real variables.
|
||||
|
||||
|
||||
* Verilator 3.855 2014-01-18
|
||||
|
||||
|
@ -126,7 +126,7 @@ private:
|
||||
else {
|
||||
string name = ((string)"__Vlvbound"+cvtToStr(m_modp->varNumGetInc()));
|
||||
AstVar* varp = new AstVar(fl, AstVarType::MODULETEMP, name,
|
||||
VFlagLogicPacked(), prep->width());
|
||||
prep->dtypep());
|
||||
m_modp->addStmtp(varp);
|
||||
|
||||
AstNode* abovep = prep->backp(); // Grab above point before lose it w/ next replace
|
||||
|
Loading…
Reference in New Issue
Block a user