Support jumps in program modules

This commit is contained in:
Wilson Snyder 2011-10-27 19:13:24 -04:00
parent e378cc5791
commit 1a15d41523
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ private:
typedef vector<AstBegin*> BeginStack;
// STATE
AstModule* m_modp; // Current module
AstNodeModule* m_modp; // Current module
AstNodeFTask* m_ftaskp; // Current function/task
AstWhile* m_loopp; // Current loop
bool m_loopInc; // In loop increment
@ -109,7 +109,7 @@ private:
}
// VISITORS
virtual void visit(AstModule* nodep, AstNUser*) {
virtual void visit(AstNodeModule* nodep, AstNUser*) {
m_modp = nodep;
m_repeatNum = 0;
nodep->iterateChildren(*this);

View File

@ -3,7 +3,7 @@
// Use this file as a template for submitting bugs, etc.
// This module takes a single clock input, and should either
// $write("*-* All Finished *-*\n");
// $finish
// $finish;
// on success, or $stop.
//
// The code as shown applies a random vector to the Test