Fix error message showing pointer
This commit is contained in:
parent
afdfa4df87
commit
07e6bc17db
|
|
@ -277,7 +277,8 @@ private:
|
||||||
m_rightClkWidth = varrefp->width();
|
m_rightClkWidth = varrefp->width();
|
||||||
if (varrefp->varp()->attrClocker() == AstVarAttrClocker::CLOCKER_YES) {
|
if (varrefp->varp()->attrClocker() == AstVarAttrClocker::CLOCKER_YES) {
|
||||||
if (m_inClocked) {
|
if (m_inClocked) {
|
||||||
varrefp->v3warn(CLKDATA, "Clock used as data (on rhs of assignment) in sequential block "<<varrefp<<endl);
|
varrefp->v3warn(CLKDATA, "Clock used as data (on rhs of assignment) in sequential block "
|
||||||
|
<<varrefp->prettyName()<<endl);
|
||||||
} else {
|
} else {
|
||||||
m_hasClk = true;
|
m_hasClk = true;
|
||||||
UINFO(5, "node is already marked as clocker "<<varrefp<<endl);
|
UINFO(5, "node is already marked as clocker "<<varrefp<<endl);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue