Error using xlGenerateForPA (line 35)
Failed to netlist model 'test_opmode.slx' (error code 4). Errors occurred during netlist generation.
'test_opmode/Opmode' has an invalid constant (inf) sample time. Discrete states, continuous states, and tunable parameters are not allowed with constant sample times.
This is a known issue in Matlab and cannot be resolved within the Vivado Sysgen environment.
To work around the issue:
1) Revert back to Matlab R2013b
2) If feasible use the CONSTANT block instead of the OPMODE block in your model. (See (Xilinx Answer 61951))
Answer Number | Answer Title | Version Found | Version Resolved |
---|---|---|---|
61951 | 2014.2 Vivado Sysgen - Constant blocks that have the "sampled constant" option unchecked generate a Matlab error. | N/A | N/A |
AR# 61346 | |
---|---|
Date | 04/15/2015 |
Status | Active |
Type | General Article |
Tools |