From WikiChip
Difference between revisions of "clock cycle"

(cycle)
 
(Overview)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{title|Clock Cycle}}
 
{{title|Clock Cycle}}
'''Clock Cycle'''  (also known as '''clock period''', '''clock tick''', or simply a '''tick''' or a '''cycle''') is the minimum time unit required to perform the most basic operation on a microprocessor 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]]. The  
+
'''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 ==
 +
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 ==
 +
* [[clock speed]]
 +
* [[synchronous circuits]]
 +
* [[critical path]]
 +
* [[performance]]
  
  
 
{{stub}}
 
{{stub}}

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.

Equation clock cycle equals StartFraction 1 Over clock speed EndFraction

For example, a microprocessor operating at 1 GHz has a clock cycle of 1 ns.

Equation clock cycle equals StartFraction 1 Over 1 GHz EndFraction equals 1 n s

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).

Equation execution time equals clock cycles for a code times clock cycle equals StartFraction clock cycles for a code Over clock speed EndFraction

See also[edit]


Text document with shapes.svg 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.