Script console

Drive a logic circuit with short commands: set, tick, expect.

Choose Tools › Script Console. Type a command in the field at the bottom and press Return, or write a script in the editor and click Run Script. Reset clears the circuit’s state.

CommandDoes
set S1 1Sets an input to 0 or 1 (also high, low, true, false).
get LP1Prints a signal’s level and voltage.
pulse S1Pulses an input high, then low.
tick 4Advances the clocks by that many ticks (up to 10,000). step works too.
expect LP1 1Checks a level and counts failures.
listLists the names you can use.
resetClears the carried state.
helpLists the commands.

Names can be a toggle’s reference, a port name (an undriven port is driven for you), a probe or part reference, or a pin such as U1.QA. Lines starting with # are comments.

# count to three and check
set RST 0
tick 3
expect LP1 1

Applies to Coppa 0.1 Preview 14. Last updated 22 November 2026.