BLK_Switch1P2T : A single-pole, double-throw switch
A single-pole, double-throw switch is a set of two switches sharing a common connection at the port out
. The switch connects between the ports in1
and out
when the control input ctrl
is 1, and connects between the ports in0
and out
when ctrl
is 0.
This single-pole, double-throw switch model is described with two switch
primitives sharing a connection at the port out
.
Input/Output Terminals
Name | I/O | Type | Description |
out | input | xreal | common terminal |
ctrl | input | xbit | control |
in0 | input | xreal | terminal connected when ctrl=0 |
in1 | input | xreal | terminal connected when ctrl=1 |
Parameters
Name | Type | Default | Description |
Ron | real | 0.01 | switch on-resistance |
Roff | real | `INFINITY | switch off-resistance |