Signal Processing Components
AddFix2 (
2-Input Fixed-Point Adder )
Symbol
Parameters
Name | Description | Default | Type |
OverflowHandler | output overflow characteristic: wrapped, saturate, zero saturate, warning | wrapped |
enumerated |
ReportOverflow | simulation overflow error report: DONT REPORT, REPORT | REPORT |
enumerated |
RoundFix | fixed-point computations, assignments, and data type conversions: TRUNCATE, ROUND | TRUNCATE |
enumerated |
UseArrivingPrecision | use precision of arriving data: NO, YES | YES |
enumerated |
InputPrecision | precision of input(used only if UseArrivingPrecision is set to NO) | 2.14 |
precision |
OutputPrecision | precision of output accumulation | 2.14 |
precision |
Pin Inputs
Pin No. | Name | Description | Signal Type |
1 |
input1 | |
fix |
2 |
input2 | |
fix |
Pin Outputs
Pin No. | Name | Description | Signal Type |
3 |
output | |
fix |
Notes/Equations/References
1. |
AddFix2 outputs the sum of the two inputs as a fixed-point value with precision specified by OutputPrecision. |
2. |
If the fixed-point operations cannot fit into the precision specified, overflow occurs with the overflow characteristic specified by OverflowHandler. If ReportOverflow=REPORT, after the simulation has finished the number of overflow errors (if any) will be reported. RoundFix identifies whether fixed-point computations are truncate or round method. If UseArrivingPrecision=NO, the input is cast to the precision specified by InputPrecision. |
- For details on these fixed-point parameters refer to "Parameters for Fixed-Point Components" in the Agilent Ptolemy Simulation manual.
|
|