| Inports
| |
| In | Real input |
| Outports
| |
| Out | Integer output |
| Mask Parameters | |
| Scale | Scaling factor from real to integer |
Conversion block from real (floating point) datatypes to integer (fixed point) datatypes.
Out = In / Scale
| Float32_FiP8 | 32 Floating Point to 8 Bit Fixed Point Implementation |
| Float32_FiP16 | 32 Floating Point to 16 Bit Fixed Point Implementation |
| Float32_FiP32 | 32 Floating Point to 32 Bit Fixed Point Implementation |
| Float64_FiP8 | 64 Floating Point to 8 Bit Fixed Point Implementation |
| Float64_FiP16 | 64 Floating Point to 16 Bit Fixed Point Implementation |
| Float64_FiP32 | 64 Floating Point to 32 Bit Fixed Point Implementation |
| Float32_Bool | 32 Floating Point to Boolean Implementation |
| Float64_Bool | 64 Floating Point to Boolean Implementation |
32 Floating Point to 8 Bit Fixed Point Implementation
| Inports Data Type
| |
| In | float32 |
| Outports Data Type
| |
| Out | int8 |
32 Floating Point to 16 Bit Fixed Point Implementation
| Inports Data Type
| |
| In | float32 |
| Outports Data Type
| |
| Out | int16 |
32 Floating Point to 32 Bit Fixed Point Implementation
| Inports Data Type
| |
| In | float32 |
| Outports Data Type
| |
| Out | int32 |
64 Floating Point to 8 Bit Fixed Point Implementation
| Inports Data Type
| |
| In | float64 |
| Outports Data Type
| |
| Out | int8 |
64 Floating Point to 16 Bit Fixed Point Implementation
| Inports Data Type
| |
| In | float64 |
| Outports Data Type
| |
| Out | int16 |
64 Floating Point to 32 Bit Fixed Point Implementation
| Inports Data Type
| |
| In | float64 |
| Outports Data Type
| |
| Out | int32 |
32 Floating Point to Boolean Implementation
| Inports Data Type
| |
| In | float32 |
| Outports Data Type
| |
| Out | bool |
64 Floating Point to Boolean Implementation
| Inports Data Type
| |
| In | float64 |
| Outports Data Type
| |
| Out | bool |