Type: Answers
Area: Tools

Last Modified: September 11, 2012
Version Found: v9.0
Version Fixed: v11.0

Why does my Default Parameter assignment get corrupted when generating a HardCopy companion revision?


Due to a problem in the Quartus® II software version 10.1 SP1 and earlier, a Default Parameter assignment with a hex value may get corrupted when generating a HardCopy® companion revision.

To set a Default Parameter, on the Assigments menu, click Settings, expand Analysis & Synthesis Settings, click Default Parameters. For example, if you enter a hex value such as X"F0", this value may be corrupted to X"F0 when creating a HardCopy companion revision.

This corruption can result in a synthesis error such as the one below in your HardCopy compilation:

Error (10315): VHDL syntax error at <filename>: object with std_logic type cannot contain character '"'

The actual error you get may differ slightly as it depends on how you are using the Parameter in your code.

To avoid this type of error, specify your Default Parameter using a binary value instead of hex.

For example, use a binary value of 11110000 instead of the hex equivalent X"F0"

This problem is fixed beginning with the Quartus II software version 11.0.