Create the following diagram to implement clock domains that control the execution rates of code within Clock-Driven Loops.
Customize the gray sections for your unique programming goals.
|Divide your code into sections according to the separate timing objectives of your application. Place each section inside a Clock-Driven Loop.|
|When you wire a clock to the Clock-Driven Loop, all code placed within the loop attempts to execute within one clock cycle of the chosen clock. For each Clock-Driven Loop on your diagram, select a clock that allows you to execute code at a rate that meets your timing objective for that section of code.
If your code fails to meet the timing objectives of your application using the clocks you choose:
Search within the programming environment to access the following installed example: Multiple Clock Domains.