Conversion Block Models
Truncate
File: general_blocks/Conversions/truncate.sim
Description
The model converts a real number to an integer. The real number
is
truncated to determine the value of the integer.
Ports
Input Ports
Output Ports
Parameters
Round
File: general_blocks/Conversions/round.sim
Description
The model converts a real number to integer. The real number is
rounded up if the decimal portion
is >= 0.5, and rounded down otherwise.
Ports
Input Ports
Output Ports
Parameters
Int_to_Real
File: general_blocks/Conversions/int_to_real.sim
Description
The model converts the integer input in to type REAL,
and places it on the output out.
Ports
Input Ports
Output Ports
Parameters