diff options
author | 2020-08-22 16:25:26 +0200 | |
---|---|---|
committer | 2020-08-22 16:31:22 +0200 | |
commit | b0e0ac2b24b74ec70fc2ea9fb8387f77602913a7 (patch) | |
tree | c0cb1c4c9fb3cde42f45ab9558b686211f531491 /src/lib/netlist/nl_setup.cpp | |
parent | 9e401f0b3ef8953bbae78a9e71f051df8917df44 (diff) |
netlist: Add NETLIB_DELEGATE_NOOP()
* This should be used for inputs which do not need a handler.
* Examples are data inputs which are only accessed on a clock change.
Diffstat (limited to 'src/lib/netlist/nl_setup.cpp')
-rw-r--r-- | src/lib/netlist/nl_setup.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/netlist/nl_setup.cpp b/src/lib/netlist/nl_setup.cpp index 70860747f93..06ad0619cc7 100644 --- a/src/lib/netlist/nl_setup.cpp +++ b/src/lib/netlist/nl_setup.cpp @@ -1688,12 +1688,15 @@ void setup_t::prepare_to_run() } for (auto &n : m_nlstate.nets()) + { for (auto & term : n->core_terms()) - if (!term->delegate().is_set()) + if (!term->delegate()) { log().fatal(MF_DELEGATE_NOT_SET_1(term->name())); throw nl_exception(MF_DELEGATE_NOT_SET_1(term->name())); } + n->rebuild_list(); + } } // ---------------------------------------------------------------------------------------- |