mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
34 lines
495 B
C
34 lines
495 B
C
// license:GPL-2.0+
|
|
// copyright-holders:Couriersud
|
|
/*
|
|
* ne555_astable.c
|
|
*
|
|
*/
|
|
|
|
#include "netlist/devices/net_lib.h"
|
|
|
|
NETLIST_START(ls629)
|
|
|
|
/*
|
|
* Astable ne555
|
|
*
|
|
*/
|
|
|
|
/* Standard stuff */
|
|
|
|
SOLVER(Solver, 48000)
|
|
|
|
ANALOG_INPUT(V5, 5) // 5V
|
|
ANALOG_INPUT(VF, 2.5) // 5V
|
|
ANALOG_INPUT(VR, 5) // 5V
|
|
|
|
SN74LS629(OSC, 0.022e-6)
|
|
|
|
NET_C(GND, OSC.GND)
|
|
NET_C(VR, OSC.RNG)
|
|
NET_C(VF, OSC.FC)
|
|
NET_C(GND, OSC.ENQ)
|
|
|
|
LOG(log2, OSC.Y)
|
|
|
|
NETLIST_END()
|