Fixed an issue causing prolonged instability in 7400 oscillators.

This commit is contained in:
Couriersud 2014-02-02 12:59:08 +00:00
parent 40d7eb65a2
commit 0d0ae43b09
2 changed files with 5 additions and 5 deletions

View File

@ -148,7 +148,7 @@ ATTR_HOT inline bool netlist_matrix_solver_t::solve()
netlist_time delta = now - m_last_step;
if (delta < netlist_time::from_nsec(1)) // always update capacitors
delta = delta < netlist_time::from_nsec(1);
delta = netlist_time::from_nsec(1);
{
NL_VERBOSE_OUT(("Step!\n"));
/* update all terminals for new time step */

View File

@ -137,14 +137,14 @@ NETLIB_START(C)
register_param("C", m_C, 1e-6);
// set up the element
//set(NETLIST_GMIN, 0.0, -5.0 / NETLIST_GMIN);
set(1.0/NETLIST_GMIN, 0.0, -5.0 * NETLIST_GMIN);
set(NETLIST_GMIN, 0.0, -5.0 / NETLIST_GMIN);
//set(1.0/NETLIST_GMIN, 0.0, -5.0 * NETLIST_GMIN);
}
NETLIB_RESET(C)
{
//set(NETLIST_GMIN, 0.0, -5.0 / NETLIST_GMIN);
set(1.0/NETLIST_GMIN, 0.0, -5.0 * NETLIST_GMIN);
set(NETLIST_GMIN, 0.0, -5.0 / NETLIST_GMIN);
//set(1.0/NETLIST_GMIN, 0.0, -5.0 * NETLIST_GMIN);
}
NETLIB_UPDATE_PARAM(C)