(→Overview) |
|||
Line 4: | Line 4: | ||
== Overview == | == Overview == | ||
The clock cycle is a fundamental part of all [[synchronous circuits]] which must accommodate the time taken for the longest [[critical path]] for all possible states in a circuit. In other words, it's usually the sum of all the wire and switching delay for the longest indivisible portion of the circuit. The clock cycle is usually a constant value, although various [[power management mechanisms]] can modulate it to achieve better performance and efficiency attributes. | The clock cycle is a fundamental part of all [[synchronous circuits]] which must accommodate the time taken for the longest [[critical path]] for all possible states in a circuit. In other words, it's usually the sum of all the wire and switching delay for the longest indivisible portion of the circuit. The clock cycle is usually a constant value, although various [[power management mechanisms]] can modulate it to achieve better performance and efficiency attributes. | ||
+ | |||
+ | The clock cycle is the reciprocal of the [[clock speed]]. | ||
+ | |||
+ | :<math>\text{clock cycle} = \frac{1}{\text{clock speed}}</math> | ||
+ | |||
+ | For example, a [[microprocessor]] operating at 1 GHz has a clock cycle of 1 [[ns]]. | ||
+ | |||
+ | :<math>\text{clock cycle} = \frac{1}{1 \text{GHz}} = 1 ns</math> | ||
+ | |||
+ | === Relation to execution time === | ||
+ | {{main|runtime}} | ||
+ | Thus, the [[runtime|length of time it takes to execute]] [[serialized code]] is directly related to the length of a clock cycle (or clock speed). | ||
+ | |||
+ | :<math>\text{execution time} = \text{clock cycles for a code} \times \text{clock cycle} = \frac{\text{clock cycles for a code}}{\text{clock speed}}</math> | ||
== See also == | == See also == |
Latest revision as of 15:58, 4 January 2019
Clock Cycle (also known as clock period, clock tick, or simply a tick or a cycle) is the minimum time unit required to perform all the most basic operations in a synchronous circuit such as a value transfer between two buffers. The length of a single clock cycle is the time required for one complete clock pulse. It is the reciprocal of the clock speed.
Overview[edit]
The clock cycle is a fundamental part of all synchronous circuits which must accommodate the time taken for the longest critical path for all possible states in a circuit. In other words, it's usually the sum of all the wire and switching delay for the longest indivisible portion of the circuit. The clock cycle is usually a constant value, although various power management mechanisms can modulate it to achieve better performance and efficiency attributes.
The clock cycle is the reciprocal of the clock speed.
For example, a microprocessor operating at 1 GHz has a clock cycle of 1 ns.
Relation to execution time[edit]
- Main article: runtime
Thus, the length of time it takes to execute serialized code is directly related to the length of a clock cycle (or clock speed).
See also[edit]
This article is still a stub and needs your attention. You can help improve this article by editing this page and adding the missing information. |