Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 1.45 KB

readme.md

File metadata and controls

50 lines (41 loc) · 1.45 KB

Logical Circuit

Logical Circuit is a circuit simulation tool. You can use the built-in scripting language to quickly build your own circuit and set the input to run it. You can view the internal state of each latch, evaluate the process, or exhaust all the inputs to get the circuit truth table and state transition truth table.

Catalogue

Documents

Colon Expression

input

Setting the input line of the circuit (automatically defining a line variable)

input:A

output

Set the output line of the circuit (the existing line variable)

output:r

set

Set the value of the input line variable

set: A 1

load

Load a logical circuit script file (*. lc). It will be executed directly.

load:D:/test.lc

Command

  • trueTable: Running circuit with enumerating all inputs
  • statTable Running circuit with enumerating all inputs and trigger state
  • multiplexing: Statistics of all line usage
  • gateNum: Output the number of logic gates in the current circuit
  • stru: Output of the current circuit structure (does not look good)
  • run: Running Circuit with Current Input
  • clear: Clear the current circuit
  • middleVar: Running circuit and output all line values with Current Input
  • multiplexing: Statistics of all line usage
  • resetTri Reset all triggers with initial state of 0