Main Content

Check file extension

Check ID: com.mathworks.HDL.ModelChecker.runFileExtensionChecks

Check ID: com.mathworks.HDL.ModelAdvisor.runFileExtensionChecks

Check file extensions based on the target language.

Description

This check detects whether the file extension is:

  • .vhd when you generate code with VHDL as the target language.

  • .v when you generate code with Verilog as the target language.

This check corresponds to rule 1.A.A.1 of the industry-standard rules.

Results and Recommended Actions

To fix this warning, click Modify Settings and the code generator updates the file name extension to .vhd.

See Also

Rule 1.A.A.1 of Basic Coding Practices.