Download HDL Coder User`s Guide

Transcript
HDL Code Generation Pane: Global Settings
Minimize intermediate signals
Specify whether to optimize HDL code for debuggability or code coverage.
Settings
Default: Off
On
Optimize for code coverage by minimizing intermediate signals. For example,
suppose that the generated code with this setting off is:
const3 <= to_signed(24, 7);
subtractor_sub_cast <= resize(const3, 8);
subtractor_sub_cast_1 <= resize(delayout, 8);
subtractor_sub_temp <= subtractor_sub_cast - subtractor_sub_cast_1;
With this setting on, HDL Coder optimizes the output to:
subtractor_sub_temp <= 24 - (resize(delayout, 8));
The coder removes the intermediate signals const3, subtractor_sub_cast, and
subtractor_sub_cast_1.
Off
Optimize for debuggability by preserving intermediate signals.
Command-Line Information
Property: MinimizeIntermediateSignals
Type: string
Value: 'on' | 'off'
Default: 'off'
To set this property, use hdlset_param or makehdl. To view the property value, use
hdlget_param.
See Also
MinimizeIntermediateSignals
10-81