simulate_sequential
Simulate a clocked Logisim 2.7.1 circuit by driving its clock and per-cycle input sequences, then return outputs after each rising edge.
Instructions
Simulate a clocked (sequential) circuit in Logisim 2.7.1.
The clock input pin (clock, auto-detected if labelled clk/clock) is driven by a
free-running Clock; a Clock component already in the circuit also works. Other
inputs are held at inputs (unlisted = 0). sequence (up to 16 steps) changes
them per cycle: sequence[k] = inputs sampled at rising edge k+1, each step keeps
earlier values it does not mention, and the last step stays in force.
ram_image (words from address 0) is loaded into every RAM before the first edge.
Returns power-on outputs and outputs after each rising edge (cycle 1..cycles).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "simulate_sequential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| clock | No | ||
| cycles | No | ||
| inputs | No | ||
| circuit | No | ||
| sequence | No | ||
| ram_image | No | ||
| include_half_steps | No |