Check ID:
com.mathworks.HDL.ModelChecker.runModelParamsChecks
Check for model parameters set up for HDL code generation.
This check verifies whether the model parameters that you specify are compatible for HDL code generation. This check ensures that you use these settings in the Configuration Parameters dialog box.
Command-Line Parameter Setting | Configuration Parameter Setting |
---|---|
Set Solver to
FixedStepDiscrete . | Set Type to
Fixed-step and
Solver to Discrete
(no continuous
states) . |
Set FixedStep to
auto . | Set Fixed-step size (fundamental sample
time) to auto . |
Set EnableMultiTasking to
off . | Disable the Treat each discrete rate as a separate task check box. |
Set AlgebraicLoopMsg to
error | Set Algebraic loop to
error . |
Set SingleTaskRateTransMsg to
error . | Set Single task rate transition to
error . |
Set MultiTaskRateTransMsg to
error . | Set Multitask rate transition to
error . |
Set BlockReduction to
off | Disable the Block Reduction check box. |
Set ConditionallyExecuteInputs to
off . | Disable Conditional input branch execution. |
Set DefaultParameterBehaviour to
Inlined . You can set this parameter at
the command line by using set_param or
hdlsetup . | et Default parameter behavior to
Note Enabling this parameter is the same as setting the
|
Set DataTypeOverride to
off . | No dialog box prompt. |
Set ProdHWDeviceType to
ASIC/FPGA->ASIC/FPGA . | Set Device vendor to
ASIC/FPGA . |
Set ShowLineDimensions and
ShowPortDataTypes to
on . | In the Debug tab, on the Information Overlays > Ports section, select Base data types. |
Set SignalLoggingSaveFormat to
Dataset . | No dialog box prompt. |
If there are incompatible model parameters, HDL Coder™ displays a warning and lists the model parameters that have to be fixed.
To fix this warning, click Modify Settings, and the code
generator runs the hdlsetup
command to set up the model
parameters for HDL code generation. You can then rerun the check.