DVswitch


Synopsis

select one output from a series of inputs


group 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.

Files

v/dv.v

Example

Not available.

See also