Basic Logic Gate Simulation

How do I configure the schematic to allow me to switch inputs while simultaneously viewing my output, in real time? Thank you!

by aja432
February 18, 2014

One way to do it is to replace all the input spdt switches with voltage sources.

Configure the V sources as PWS() sources which switch from 0V to 5V to 0V and set the times of the levels so that each one goes to 0V or 5V whenever you want. In effect you create a set of sequence generators.

For more on PWS() sources:

https://www.circuitlab.com/docs/circuit-elements/#behavioralsources

https://www.circuitlab.com/docs/expressions/

by signality
February 18, 2014

Post a Reply

Please sign in or create an account to comment.