Don't include local signals in @* sensitivity list.
A locally created signal should not be included in the sensitivity list created by @*.
This commit is contained in:
parent
f01b25b60c
commit
1e32ce5df8
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2002-2010 Stephen Williams (steve@icarus.com)
|
||||
* Copyright (c) 2002-2011 Stephen Williams (steve@icarus.com)
|
||||
*
|
||||
* This source code is free software; you can redistribute it
|
||||
* and/or modify it in source code form under the terms of the GNU
|
||||
|
|
@ -149,6 +149,8 @@ NexusSet* NetESignal::nex_input(bool rem_out)
|
|||
* as the trigger. Other simulators also add everything.
|
||||
*/
|
||||
NexusSet*result = new NexusSet;
|
||||
/* Local signals are not added to the sensitivity list. */
|
||||
if (net_->local_flag()) return result;
|
||||
/* If we have an array index add it to the sensitivity list. */
|
||||
if (word_) {
|
||||
NexusSet*tmp;
|
||||
|
|
|
|||
Loading…
Reference in New Issue