Digital Logic
Digital Logic #
![]()
The Digital Logic (LOGIC) applies a single logic operation to multiple digital inputs and produces one digital result. Supported operators are AND, OR, NAND, NOR, XOR, and NXOR. The number of inputs is configurable. It is suitable for building combinational logic, combining status signals, and generating control bits for optical switches.
Ports #
The number of input ports is set by number of input ports (default 2); output delivers the operation result. All ports are digital signals.
| Name | Type | Data |
|---|---|---|
| input 1 | Digital Signal | Input |
| input 2 | Digital Signal | Input |
| output | Digital Signal | Output |
The table shows the default of 2 input ports; changing number of input ports updates the number of input ports accordingly.
Properties #
General #
Used to identify and manage the element itself, including name, annotation, enabled state, and display. This property group affects schematic presentation only and does not change device behavior.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| name | Element name | LOGIC_1 | - | - |
| annotate | Whether to show annotation | true | - | [true, false] |
| enabled | Whether to enable this element | true | - | [true, false] |
| type | Unique type identifier of the element | Digital Logic | - | - |
| description | Brief description of the element | This elements applies a logical operation to any number of input ports | - | - |
| prefix | Prefix for the element name | LOGIC | - | - |
| local path | Local path or working folder of the element | - | - | - |
Standard #
Sets the logic operation type and number of inputs, which determine the gate function.
| Name | Description | Default value | Default unit | Range |
|---|---|---|---|---|
| logic operator | Logic operator | AND | - | [AND, OR, NAND, NOR, XOR, NXOR] |
| number of input ports | Number of input ports | 2 | - | [2, 1000] |
Results #
None

