Block: Selector



PIC




Inports


In0

Input #0



In1

Input #1



In2

Input #2



In3

Input #3



In4

Input #4



In5

Input #5



In6

Input #6



In7

Input #7



Select

Input select






Outports


Out

Selected input signal




Description:

Passing through of input signal selected by the select inport:

Select = 0 (DSP): Out = In0

Select = 1 (DSP): Out = In1

...

Select = 7 (DSP): Out = In7

Implementations:
FiP8 8 Bit Fixed Point Implementation
FiP16 16 Bit Fixed Point Implementation
FiP32 32 Bit Fixed Point Implementation
Float32 32 Bit Floating Point Implementation
Float64 64 Bit Floating Point Implementation

Implementation: FiP8


Name FiP8
ID 400
Revision 1.0
C filename Selector_FiP8.c
H filename Selector_FiP8.h

8 Bit Fixed Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     int8          *In0; 
     int8          *In1; 
     int8          *In2; 
     int8          *In3; 
     int8          *In4; 
     int8          *In5; 
     int8          *In6; 
     int8          *In7; 
     int8          *Select; 
     int8          Out; 
} SELECTOR_FIP8;

Implementation: FiP16


Name FiP16
ID 401
Revision 1.0
C filename Selector_FiP16.c
H filename Selector_FiP16.h

16 Bit Fixed Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     int16         *In0; 
     int16         *In1; 
     int16         *In2; 
     int16         *In3; 
     int16         *In4; 
     int16         *In5; 
     int16         *In6; 
     int16         *In7; 
     int8          *Select; 
     int16         Out; 
} SELECTOR_FIP16;

Implementation: FiP32


Name FiP32
ID 402
Revision 1.0
C filename Selector_FiP32.c
H filename Selector_FiP32.h

32 Bit Fixed Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     int32         *In0; 
     int32         *In1; 
     int32         *In2; 
     int32         *In3; 
     int32         *In4; 
     int32         *In5; 
     int32         *In6; 
     int32         *In7; 
     int8          *Select; 
     int32         Out; 
} SELECTOR_FIP32;

Implementation: Float32


Name Float32
ID 403
Revision 1.0
C filename Selector_Float32.c
H filename Selector_Float32.h

32 Bit Floating Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     float32       *In0; 
     float32       *In1; 
     float32       *In2; 
     float32       *In3; 
     float32       *In4; 
     float32       *In5; 
     float32       *In6; 
     float32       *In7; 
     int8          *Select; 
     float32       Out; 
} SELECTOR_FLOAT32;

Implementation: Float64


Name Float64
ID 404
Revision 1.0
C filename Selector_Float64.c
H filename Selector_Float64.h

64 Bit Floating Point Implementation

Data Structure:

typedef struct { 
     uint16        ID; 
     float64       *In0; 
     float64       *In1; 
     float64       *In2; 
     float64       *In3; 
     float64       *In4; 
     float64       *In5; 
     float64       *In6; 
     float64       *In7; 
     int8          *Select; 
     float64       Out; 
} SELECTOR_FLOAT64;