DVswitch
Synopsis
select one output from a series of inputs
module DVswitch {
group+IPort2 &in[];
int+IPort2 index;
olink+nres out=>in[index];
};
Description
DVswitch creates a new output that is selected by the user from any number or type of inputs.
Input
&in[]
An array of references to other objects.
index
An integer that selects which of the input objects to output.
Output
&out
The output is a new object that contains a reference to one of the input objects.
Example
Not available.
File
v/dv.v
See also