Logic Gates

The object that describes how to configure logic gate primitive.

Example

Typescript
Copy

Fields

NameTypeDescription
typeReadonlyThe type of gate, taking the following possible values: xOrGate , orGate , norGate , andGate , nandGate .
highVoltagenumber(V) Determines the threshold and output voltage.
map_input_one_to_terminal_uidReadonlyThe terminal ID corresponding to the gate's first input.
map_input_two_to_terminal_uidReadonlyThe terminal ID corresponding to the gate's second input.
map_output_to_terminal_uidReadonlyThe terminal ID corresponding to the gate's output.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard