Adding implementation of NetEvWait::nex_input to handle event controls inside always@(*) blocks

(cherry picked from commit 1f9bf656ed)
This commit is contained in:
Henry Wong 2016-10-16 22:01:26 -04:00 committed by Martin Whitaker
parent 6e460a6a3f
commit c06e2790a7
2 changed files with 11 additions and 0 deletions

View File

@ -404,6 +404,16 @@ NexusSet* NetDoWhile::nex_input(bool rem_out)
return result;
}
NexusSet* NetEvWait::nex_input(bool rem_out)
{
NexusSet*result;
if (statement_)
result = statement_->nex_input(rem_out);
else
result = new NexusSet;
return result;
}
NexusSet* NetForce::nex_input(bool)
{
cerr << get_fileline() << ": internal warning: NetForce::nex_input()"

View File

@ -3346,6 +3346,7 @@ class NetEvWait : public NetProc {
// process? This method checks.
virtual bool is_synchronous();
virtual NexusSet* nex_input(bool rem_out = true);
virtual void nex_output(NexusSet&out);
virtual bool synth_async(Design*des, NetScope*scope,