Digital Logic

Digital Logic

LOGIC

Digital Logic(LOGIC)对多路数字输入执行单一逻辑运算,输出一路数字结果。支持 AND、OR、NAND、NOR、XOR 与 NXOR,输入路数可配置,适用于组合逻辑搭建、状态信号合并,以及为光开关产生控制比特。

端口

输入端口数量由 number of input ports 决定,默认 2 路;output 输出运算结果。所有端口均为数字信号。

Name Type Data
input 1 Digital Signal Input
input 2 Digital Signal Input
output Digital Signal Output

表中按默认的 2 路输入展开;修改 number of input ports 后,输入端口数量会随之变化。

属性

General

用于标识与管理元件本身,包括名称、注释、启用状态与显示方式。该组属性仅影响原理图呈现,不改变器件行为。

Name Description Default value Default unit Range
name 元件的名称 LOGIC_1 - -
annotate 是否显示注释 true - [true, false]
enabled 是否启用该元件 true - [true, false]
type 元件的唯一类型标识 Digital Logic - -
description 元件的简要说明 This elements applies a logical operation to any number of input ports - -
prefix 元件名称的前缀 LOGIC - -
local path 元件的本地路径或工作文件夹 - - -

Standard

设置逻辑运算类型与输入路数,决定逻辑门功能。

Name Description Default value Default unit Range
logic operator 逻辑运算符 AND - [AND, OR, NAND, NOR, XOR, NXOR]
number of input ports 输入端口数量 2 - [2, 1000]

结果

无