Main Content

Check for global reset setting for Xilinx and Altera devices

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

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

Check asynchronous reset setting for Altera® devices and synchronous reset setting for Xilinx® devices.

Description

This check verifies whether you use a global synchronous reset for a Xilinx device or a global asynchronous reset for an Altera device. You can improve the performance of your design by adhering to this recommended global reset setting depending on whether you target a Xilinx device or an Altera device.

Note

If you do not specify a target device, this check passes successfully.

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 Reset type setting to Synchronous if you use a Xilinx device and Asynchronous if you use an Altera device. You can then rerun the check.

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

Reset type