This page tries out ways to model simple blocks of logic doing a digital monstable. Each IC has an input and output and other logic.
An LED is connected to the output
Each IC is clocked. There is a wire between each block. The wire is updated each time slice. Instead of an RC network, the IC is clocked. In a monostable, the edge trigger could be a done using a delay and logic.
input -- [ IC ] -- [ IC ] -- [ IC ] -- [ IC ] -- [ IC ] -- [ IC ] -- [ IC ] -- [ IC ] -- op => ip xor button // Digital Monostable - trigger a count down that is ticked. A monostabled used a Resistor and Capacitor instead of an onClickTick(). onInputEdge(){ Set Count to 10 } onClockTick() { decrement count down to zero , if count == 5 set output 1 if count == 0 set output 0 } wire( a,b ){ b.ip = a.op }
Integrated circuits are connected together using bits of wire. Modelling this on a web page is an interesting diversion.
The simulated circuit was drawn https://www.circuit-diagram.org/editor/
This web page is based on a circuit like the one below, using D type Flip flops as delays. The web page models monostables use countdown state machines.