Reference Manual
User Manual:
Open the PDF directly: View PDF .
Page Count: 1
Reference Manual
Creating Expressions
The syntax for creating logical expressions is very straightforward. Expressions are
written by defining individual logical gates:
name = OP name name… - The name in the left side of the assignment is the variable
name for the desired expression, it can be an input of a previously created logic gate
but it cannot be a name given to a previously created one. The names on the left side
of the assignment are the inputs of the gate. These can be existing expression, it is a
list of names separated by spaces. The NOT operator can only receive one input at a
time. OP is the name of the logic gate that will be used for the expression. Available
gates are:
●AND
●NAND
●OR
●NOR
●XOR
●XNOR
●NOT
Expression Functions
Functions are operations you can do with a declared logical expressions. The functions
available in Logically are:
DISPLAY name
- displays the resulting logical expression with the given name.
DEL name -deletes the specified expression and all its sub expressions. If it’s the
input of another expression, it will be replaced with a simple input variable.
TABLE name
- generates the truth table for the specified logical expression.
CKT name
-draws the circuit diagram for a given expression. Supports logic circuits
with 2 or 3 input variables.
VENN name
-draws the venn diagram of a given logical expression. Can draw
diagrams with 2 or 3 variables.
SIMPLIFY name -simplifies the specified expression to an equivalent using its
minterms.
Other Functions
HELP
- displays available functions and how to define expressions.
EXIT
- closes Logically.
Created by Logically Team