mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 10:01:11 +02:00
Support typedef
This commit is contained in:
@@ -84,7 +84,7 @@ private:
|
||||
|
||||
virtual void visit(AstVar* nodep, AstNUser*) {
|
||||
nodep->iterateChildren(*this);
|
||||
if (nodep->isIO() && !nodep->dtypep()->castBasicDType()) {
|
||||
if (nodep->isIO() && !nodep->dtypeSkipRefp()->castBasicDType()) {
|
||||
nodep->v3error("Unsupported: Inputs and outputs must be simple data types; no arrays");
|
||||
}
|
||||
if (m_ftaskp) nodep->funcLocal(true);
|
||||
|
||||
Reference in New Issue
Block a user