MATLAB: Do I receive error messages when I generate HDL code for a model that has sample times which are not integer multiples of each other in HDL Coder 3.0 (R2012a)

HDL Coder

I would like to generate HDL code for a model, which operates on sample times that are not integer multiples of each other. A rate transition block is inserted between two blocks that are operating at different sample times. For HDL code generation, it is stated on the documentation that the option 'Ensure deterministic data transfer' has to be checked when using rate transition blocks. When I generate HDL code for my model, I receive the following error:
Illegal rate transition found between 'MyModel/block1' and 'MyModel/block2'. Sample time 4.768717215069147e-07 of 'MyModel/block1' and sample time 6.253908692933084e-08 of 'MyModel/block2' must be integer multiples, but are currently not. You can resolve this by using a rate transition block whose parameter 'Ensure deterministic data transfer' is unchecked.

Best Answer

The 'Ensure deterministic data transfer' option of the Rate Transition block is only supported for periodic tasks where the sample rates are integer multiples of each other. The ability to generate HDL code for models which have sample times that are not integer multiples of each other is not supported in HDL Coder 3.0 (R2012a). There are no workarounds.
Related Question