summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/devices/nld_system.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/devices/nld_system.cpp')
-rw-r--r--src/lib/netlist/devices/nld_system.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/lib/netlist/devices/nld_system.cpp b/src/lib/netlist/devices/nld_system.cpp
index e3369e514e5..836e744fc6a 100644
--- a/src/lib/netlist/devices/nld_system.cpp
+++ b/src/lib/netlist/devices/nld_system.cpp
@@ -86,38 +86,6 @@ namespace netlist
{
}
- // ----------------------------------------------------------------------------------------
- // nld_d_to_a_proxy
- // ----------------------------------------------------------------------------------------
-
- void nld_d_to_a_proxy::reset()
- {
- //m_Q.initial(0.0);
- m_last_state = -1;
- m_RV.do_reset();
- m_is_timestep = m_RV.m_P.net().solver()->has_timestep_devices();
- m_RV.set(NL_FCONST(1.0) / logic_family().m_R_low, logic_family().m_low_V, 0.0);
- }
-
- NETLIB_UPDATE(d_to_a_proxy)
- {
- const int state = static_cast<int>(m_I());
- if (state != m_last_state)
- {
- m_last_state = state;
- const nl_double R = state ? logic_family().m_R_high : logic_family().m_R_low;
- const nl_double V = state ? logic_family().m_high_V : logic_family().m_low_V;
-
- // We only need to update the net first if this is a time stepping net
- if (m_is_timestep)
- {
- m_RV.update_dev();
- }
- m_RV.set(NL_FCONST(1.0) / R, V, 0.0);
- m_RV.m_P.schedule_after(NLTIME_FROM_NS(1));
- }
- }
-
// -----------------------------------------------------------------------------
// nld_res_sw