# HDL1002: The number of clock domains per design should be as low as possible ## Summary ```{raw} html

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
HIGH-MEDIUMIntentionality | Clear4hsynthesis, bug-finder, cdc, cnes, clock, cnes-std-04600, linty-ultra
``` ## Description ```{raw} html

Keeping the number of clock domains in a design as low as possible limits potential clock domain crossing issues.

An issue is raised if the number of clock domains is greater than the threshold defined through the max parameter.

Note that a clock domain used for both rising and falling edges is counted as two separate clock domains.

``` ## Parameters ```{raw} html

Count: 1

ParameterValueDescription
max1Maximum number of allowed clock domains. Note that a clock domain used for both rising and falling edges is counted as two separate clock domains.
``` ```{raw} html ```