OrGate
OrGate with multiple input
Library
Modelica/Electrical/Digital/Gates
Description
The OrGate model has a multiple valued (n) input vector, and a single valued output. It is composed by a Basic Or and an InertialDelaySensitive. Its parameters are the delay parameters (rise and fall inertial delay time, and initial value).
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_tLH | tLH | Rise inertial delay | Scalar | |
mo_tHL | tHL | Fall inertial delay | Scalar | |
mo_y0 | y0 | Initial value of output | Structure | |
mo_y0/choice1 | U Uninitialized | Number | 0 | |
mo_y0/choice2 | X Forcing Unknown | Number | 0 | |
mo_y0/choice3 | 0 Forcing 0 | Number | 0 | |
mo_y0/choice4 | 1 Forcing 1 | Number | 0 | |
mo_y0/choice5 | Z High Impedance | Number | 0 | |
mo_y0/choice6 | W Weak Unknown | Number | 0 | |
mo_y0/choice7 | L Weak 0 | Number | 0 | |
mo_y0/choice8 | H Weak 1 | Number | 0 | |
mo_y0/choice9 | - Do not care | Number | 0 | |
mo_n | n | Number of inputs | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
x | implicit | Connector of Digital input signal vector | input | 1 |
y | implicit | Connector of Digital output signal | output | 1 |