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.