How the hardware designer determined the suitable frequency of the clock for the device to work on? After which he/she created the timing diagram which is then further used for interfacing.
All I need to know what is the mechanism for determining the suitable clock and then creating the timing diagrams. My own logic is first designer creates the device such as microprocessor then give it different instructions and then check the results on different clock rates but this is trial and error method, and is there any specific algorithm to do that?