주요 콘텐츠

Using Absolute Time Temporal Logic in Stateflow Charts

When you use absolute time temporal logic in your Stateflow® Chart blocks in your model for HDL code generation, use these settings.

For the sample rate of the chart:

  • If you use seconds (sec), then the sample time must be an integer 65535 or lower, or a decimal between 65.535 and 0.001 with no more than three decimal places.

  • If you use milliseconds (msec), the sample time must be a decimal between 65.535 and 0.001 with no more than three decimal places, or a decimal between 0.065535 and 0.000001 with no more than six decimal places.

  • If you use microseconds (usec), the sample time must be a decimal between 0.065535 and 0.000001 with no more than six decimal places, or a decimal between 0.000065535 and 0.000000001 with no more than nine decimal places.

  • If the sample time is an integer below 2^16, then use sec.

  • If 1000 * sample time is an integer below 2^16, then use sec or msec.

  • If 1000000 * sample time is an integer below 2^16, then use msec or usec.

  • If 1000000000 * sample time is an integer below 2^16, then use usec.