08-03-2013, 06:01 AM
(This post was last modified: 08-03-2013, 06:03 AM by CMOSprinkles.)
The global clock speed would be the time it takes to perform the slowest instruction, so you need to take a look at what components the data is travelling through in each instruction. Typically the slowest instruction would be one that uses an operand from main memory, here is a breakdown of how you can add the ticks to find out how long it takes; Main Memory is addressed and data is sent to CPU (add X ticks), Data goes through ALU (add X ticks if your ALU has input inverters or output inverters, add X ticks to perform the logical/arithmetic operation, add X ticks if your ALU uses a multiplexer to differentiate logical and arithmetic operations, etc.), Data is stored in CPU's General Register or Main Memory (add X ticks for the RAM to store the information). That is typically one of the longest instructions to execute, but it could be different in your computer, so you should check any semi-complex instructions like that. Of course, if you are utilizing some kind of pipelining, then the above doesn't really apply. So in summary, I'm not an expert but that's how I understand it. (Hope it helps)