diff options
author | 2019-02-05 18:31:14 +0100 | |
---|---|---|
committer | 2019-02-05 18:31:14 +0100 | |
commit | 6381ed11ed452d10f119b220e0cbe6bd4880cfcc (patch) | |
tree | d94d7597a948aefe7802e54f05e1a6d4a5f99470 /src/lib/netlist/devices/nld_7448.cpp | |
parent | b49a2e6e497d80c3736e233fbf2da0a49e1f92eb (diff) |
netlist: Optionally store input values instead of referencing them. (nw)
Useful for debugging purposes in the end - but not performance.
/*! Store input values in logic_terminal_t.
*
* Set to 1 to store values in logic_terminal_t instead of
* accessing them indirectly by pointer from logic_net_t.
* This approach is stricter and should identify bugs in
* the netlist core faster.
* By default it is disabled since it is not as fast as
* the default approach.
*
*/
#define USE_COPY_INSTEAD_OF_REFERENCE (0)
Diffstat (limited to 'src/lib/netlist/devices/nld_7448.cpp')
-rw-r--r-- | src/lib/netlist/devices/nld_7448.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/netlist/devices/nld_7448.cpp b/src/lib/netlist/devices/nld_7448.cpp index efc06d83cae..239d6b50921 100644 --- a/src/lib/netlist/devices/nld_7448.cpp +++ b/src/lib/netlist/devices/nld_7448.cpp @@ -188,11 +188,13 @@ namespace netlist NETLIB_RESET(7448) { m_state = 0; +#if 0 m_A.set_state(logic_t::STATE_INP_PASSIVE); m_B.set_state(logic_t::STATE_INP_PASSIVE); m_C.set_state(logic_t::STATE_INP_PASSIVE); m_D.set_state(logic_t::STATE_INP_PASSIVE); m_RBIQ.set_state(logic_t::STATE_INP_PASSIVE); +#endif } NETLIB_FUNC_VOID(7448, update_outputs, (unsigned v)) |