vccs_sw :
A switchable voltage-controlled current source (VCCS).
The vccs_sw primitive represents a dependent current source controlled by a voltage across two circuit terminals. Its scale factor is set by the real-typed input scale.
This primitive is a pseudo-module to describe a structural netlist of electrical circuits and not a behavioral model by itself. The XMODEL simulator extracts an event-driven behavioral model at run-time based on the circuit network described by these circuit-level pseudo-modules.
Input/Output Terminals
| Name | I/O | Type | Description |
| pos | input | xreal | positive terminal |
| neg | input | xreal | negative terminal |
| in_pos | input | xreal | positive reference terminal |
| in_neg | input | xreal | negative reference terminal |
| scale | input | real | scale factor |
Parameters
| Name | Type | Default | Unit | Description |
| m | real | 1.0 | None | multiplicity factor |