From 1e32ce5df8b35bc90c47209c29c2fbb57622c62a Mon Sep 17 00:00:00 2001 From: Cary R Date: Sun, 30 Jan 2011 23:24:47 -0800 Subject: [PATCH] Don't include local signals in @* sensitivity list. A locally created signal should not be included in the sensitivity list created by @*. --- net_nex_input.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net_nex_input.cc b/net_nex_input.cc index b9897ada3..800b798d2 100644 --- a/net_nex_input.cc +++ b/net_nex_input.cc @@ -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;