Clock Period and Clock Frequency

Period measures time per clock cycle, and frequency measures cycles per unit time. They are reciprocals for a regular clock.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Convert a small example
  2. Connect cycles to elapsed time
  3. Convert units before taking a reciprocal
  4. Compare a stage delay with the whole available budget

Convert a small example

A period of 10 nanoseconds corresponds to \(10^8\) cycles per second, or 100 MHz. That arithmetic requires the unit scale to be explicit.

Connect cycles to elapsed time

A computation taking five such cycles occupies fifty nanoseconds from its first to fifth-cycle interval under that model. Raising frequency alone does not guarantee the circuit settles in time. Setup and hold are part of that constraint.[1]

Convert units before taking a reciprocal

A 40 megahertz clock gives forty million cycles per second. Its period is \(1/(40\cdot10^6)\) seconds, or twenty-five nanoseconds. Three complete cycles take seventy-five nanoseconds. See values and units for avoiding a frequency-period mix-up.

Frequency     Period
20 MHz        50 ns
40 MHz        25 ns
80 MHz        12.5 ns
Doubling frequency halves period

Compare a stage delay with the whole available budget

A twenty-nanosecond combinational delay appears to fit a twenty-five-nanosecond period. Launch delay, setup time and clock uncertainty can consume the remaining five. Use a defined timing budget before declaring a clock rate sufficient.

References

  1. Noam Nisan and Shimon Schocken, From Nand to Tetris: Course Projects ↩