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:
.vhdwhen you generate code with VHDL® as the target language..vwhen you generate code with Verilog® as the target language..svwhen you generate code with SystemVerilog as the target language.
This check corresponds to rule 1.A.A.1 of the
industry-standard rules.
Available with Simulink®, HDL Coder™, Fixed-Point Designer™, and MATLAB® Coder™.
Results and Recommended Actions
To fix this warning, click Modify Settings and the code generator updates the file name extension.
Capabilities and Limitations
Runs on library models.
Analyzes content in all masked subsystems.
Analyzes only the functions that the Simulink model directly references.
See Also
Rule 1.A.A.1 of Basic Coding Practices.