You will receive one of the following errors or warnings or similar messages when compiling a VHO generated by the MAX PLUS II software in ModelSim if you use conflicting versions of the language in the two software packages.
ERROR: ./<filename>.vho(<number>): near "<number>." :Number must terminate with a digit.
WARNING[4]: ./<filename>.vho(<number>) :A space is required between a number and an identifier.
ERROR: ./<filename>.vho(<number>): near "\": expecting: ';'
For example, if you use the 1993 VHDL language syntax in the MAX PLUS II software to and the 1987 VHDL language syntax in ModelSim, the above error or warning messages are generated. The VHDL 1993 language allows for identifiers to include special characters when enclosed by slashes, which is a feature that the MAX PLUS II Compiler implements in the VHO file. To avoid these error/warning messages, make sure that the VHDL language syntax setting is the same in the MAX PLUS II VHDL Writer Settings and in ModelSim. Below are the instructions for making these settings:
In the MAX PLUS II software:
- In the MAX PLUS II Compiler, choose VHDL Netlist Writer Settings (Interfaces menu)
- Choose the desired VHDL setting
In ModelSim:
- Select Change Directory (File menu)
- Choose the directory which contains the project files
- Select Compile (File menu)
- Click the Default Options
- Click the VHDL tab
- Make the appropriate selection for the Use 1993 Language Syntax check box