Clock Division by Non-Integers

By | 9th January 2021

Previously we have discussed clock division by odd and even numbers in the tutorial sequential circuits. Later we have also developed a programmable clock divider that divides clock frequency by any integer from 1 to 15. This tutorial talks about clock division by non-integers which is also required is some critical digital systems.

Clock division by integers generates clock signal of 50% duty cycle but in case of non-integers duty cycle can not be 50%. Only analog Phase-Locked Loop (PLL) circuits can achieve clock division by non-integers with 50% duty cycle. In this tutorial we will discuss clock division by non-integers according to the circuits reported in [1]. Three types of schemes are discussed here.

Scheme 1: Clock division by 1.5

Here, Figure 1 shows the division of clock frequency by 1.5. The signal clock divided by 1.5 is generated by clock divided by 3 signal. Clock division by 3 can be achieved by any scheme mentioned in sequential circuits. The scheme for clock division by 1.5 is shown in Figure 2. Here duty cycle is 66.66% instead of 50%. Glitches can be generated in this scheme of clock division due to the presence of the MUX.

Figure 1: Clock division by 1.5
Figure 2: Architecture for clock division by 1.5

Scheme 2: Clock division by 4.5

Shift register based clock division schemes are also possible. In order to divide the clock frequency by 4.5, a 9-bit Serial Input Serial Output (SISO) is taken. Initially, flip-flops are loaded with 000000001. This means the 9th flip-flop is set and others are cleared. Output of the 9th flip-flop is fed to input of the first flip-flop. The phase signals are shown in Figure 3. This scheme is shown in Figure 4. Output of the first and second flip-flop are ORed to divide clock by 4.5. Also output of the fifth and sixth flip-flop is delayed by half-cycles and then ORed. The result of these two OR operation is then ORed to generate the output signal. Here start signal sets the 9th flip-flop but clears all other flip-flops. Here, dff9 and dff10 are negative edge triggered. Duty cycle is 44.44% instead of 50%. This scheme is glitch free compared to scheme 1.

Figure 3: Phase diagram for clock division by 4.5
Figure 4: Shift register based division of clock by 4.5

Scheme 2: Clock division by 1.5

Another approach for clock division is LUT based. The phase diagram for clock division process is shown in Figure 5. Here, q_0 and q_1 are both result of clock division by 3 but they do not have 50% duty cycle. These signals together with clock signal generates the desired clock signal.

The signal clk/1.5 is generated by ORing q_0 and signal t. Keeping the signal q_0 fixed we need to generate signal t using clk and q_1. Table 1 shows the truth table generation of signal t.

Figure 5: Phase diagram for LUT approach to achieve clock division by 1.5
clkq_1t
000
011
101
110
Table 1: Truth table for generation of signal t.

The scheme for clock division by 1.5 by LUT approach is shown in Figure 6. These scheme has two parts and first part is the circuit for clock division by 3. Second part is required to generate signal t and output signal.

Figure 6: Architecture for LUT based clock division by 1.5

Similarly we can develop circuit to divide clock frequency by 2.5 using LUT approach. The Verilog code for clock division by 2.5 is given in the downloadable Verilog file.

Verilog code for clock division by 1.5, 2.5 and 4.5 (89 downloads)

[1]. Mohit Arora, “Clock Dividers Made Easy”, Design Flow and Reuse (CR&D), ST Microelectronics Ltd, Plot No. 2 & 3, Sector 16A, Noida-201301, India

(Visited 841 times, 3 visits today)

2 thoughts on “Clock Division by Non-Integers

  1. Pavithra M

    This vlogs are very useful.How to build a programmable clock divider for fractional number.

    Reply
  2. Pavithra M

    This vlogs are very helpful.How to design a programmable clock divider for fractional numbers?

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *