mirror of
https://github.com/verilator/verilator.git
synced 2026-09-06 17:01:09 +02:00
Cast as scope always under topscopes - no func change
git-svn-id: file://localhost/svn/verilator/trunk/verilator@765 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
@@ -643,6 +643,7 @@ private:
|
||||
}
|
||||
virtual void visit(AstNodeFTaskRef* nodep, AstNUser* vup) {
|
||||
// Function hasn't been widthed, so make it so.
|
||||
if (!nodep->taskp()) nodep->v3fatalSrc("Unlinked");
|
||||
if (nodep->taskp()->width()==0) {
|
||||
if (m_taskDepth > 100) {
|
||||
nodep->v3error("Unsupported: Recursive function or task call\n");
|
||||
|
||||
Reference in New Issue
Block a user