SCLA080 October   2024 TPLD1201 , TPLD1202 , TPLD801

 

  1.   1
  2. 12
  3.   Trademarks

Application Description

Delaying a signal is an important function in many analog and logic systems, and TI Programmable Logic Devices (TPLD) offer multiple blocks that can delay both signals generated inside the device and signals from an external source. Each block behaves differently and, while there are many simple delay applications where any block can be used, understanding the differences of the blocks allows a designer to optimize their system. This document will cover the delay blocks present in TPLD1201, TPLD1202, and TPLD801, how each block is configured in InterConnect Studio (ICS), and applications specific to each delay block.

Delay Blocks

The basic delay block accepts an input signal and delays that signal for a number of clock pulses configured using the Control Data setting, which can be set from 1 to 255.

 Delay Block in ICS Figure 1 Delay Block in ICS

The clock can be set using the internal oscillators of the device, the internal oscillators modified by a frequency divider, or an external clock signal.

 Frequency Divider Figure 2 Frequency Divider

The designer can also select which edge to delay using the Delay Mode setting. Any edge not set to delay is passed through when detected, as shown in Figure 3 with a signal set to rising edge delay only.

 Rising Edge Only Delay ICS Simulation Figure 3 Rising Edge Only Delay ICS Simulation

The delay block is versatile and can be used to generate long delays by setting a high control data with low frequency clock source. This is shown in the voltage monitor design shown in Figure 4. In this design, the delay block sets a limit equal to the delay to the pulse length that can be sent when the analog comparator sends a high signal. The delay is set to use the 25kHz counter with a control data of 125, for a total delay of 5 ms.

 Voltage Monitor in ICS Figure 4 Voltage Monitor in ICS

Pipe Delay, Shift Register Blocks

The pipe delay, shift register block acts as a series of flip flops, and allows the user to set the number of flip flops in the sequence. The pipe delay block and shift register block both allow for up to 8 flip flops to be set in series.

 Pipe Delay BlockFigure 5 Pipe Delay Block

The key distinction between the pipe delay block and the shift register block is that the pipe delay block allows for two outputs from the sequence of flip flops, while the shift register block allows only one. However, the shift register block allows for additional control over the flip flops, with set or reset functionality and control over the initial state of the flip flops.

 Shift Register Block Figure 6 Shift Register Block

The pipe delay and shift register blocks are useful when sampling inputs or whenever a shift register is needed. In this example, a shift register is used to sample an input PWM signal, and the sampled signal is sent as an output when a reset signal is sent.

 PWM Sampler in ICS Figure 7 PWM Sampler in ICS

Programmable Filter Blocks

The programmable filter block typically acts as an edge detector. However, the programmable filter block has a delay mode that can be selected in ICS.

 Programmable Filter in
                    ICS Figure 8 Programmable Filter in ICS

When in delay mode, the programmable filter block delays the input signal by the selected delay time, filtering out any signals shorter than the delay time in the process. Unlike the other delay blocks, which are controlled by a clock signal, the programmable filter has a selection of pre-configured delay times that are not controlled by an oscillator.

 Programmable Filter Delay Times Figure 9 Programmable Filter Delay Times

This allows a designer to set a smaller delay than can be possible with an oscillator-controlled delay. The delay can also be more consistent than an oscillator-controlled delay block. In this example, the block is used to delay a signal by 125ns, with an additional delay caused by propagation of the signal through the device. With a regular delay block operating at maximum oscillator speed on the TPLD1201, the minimum delay possible is 500ns.

 Programmable Filter ICS Simulation Figure 10 Programmable Filter ICS Simulation

Conclusions

Delaying a signal is a basic function of signal handling that can be implemented with several different methods, each with different optimizations. By integrating several different signal delay methods into a single device, TPLD gives designers more flexibility in their designs without increasing the BOM or board size.

Learn more about TI’s portfolio of programmable logic devices