Give fatal instead of coredump

This commit is contained in:
Wilson Snyder 2009-09-15 18:11:56 -04:00
parent 9cf61cef9d
commit 4c7b5005a6

View File

@ -650,6 +650,7 @@ private:
if (nodep->modVarp()->user1p()) {
// create the input pin
AstVarRef* refp = nodep->exprp()->castVarRef();
if (!refp) nodep->v3fatal("Unsupported: Tristate pin not connected to simple net");
AstVar* inp;
if (refp->varp()->user1p()) { // this is a tristate
inp = (AstVar*) refp->varp()->user1p();