发送预设数量的脉冲

发送预设数量的脉冲

Communication Protocols Technique

This technique can be done in any GreenPAK. Multi-function blocks within some GreenPAKs help reduce the component count.

In many communication protocols it’s necessary for a set number of bits to be sent or received by another IC. Typically, this means the GreenPAK must track the number of pulses sent or received. For example, in a shift register receiving data, the number of bits must be monitored to ensure that the expected data is in the correct register, rather than skewed incorrectly or unrelentingly continuing to shift.

在GreenPak中设置预定数量的脉冲有很多方法:在该技术中描述了可扩展,有效的方式。它还通过重置每次交易后,通过重置时钟偏斜来限制在其他IC和GreenPak之间的时钟偏斜的增加的益处。图23示出了用于创建预设数量的脉冲的块的管道。它包括:Turnon条件,脉冲周期和脉冲计数器。

Figure 23 Preset Pulse Generator Design

该Turnon Condition stage has two components: a DLY block to ensure a minimum active signal to begin the pulse generation and a LUT to ensure the turnon condition isn’t re-instantiated before the last transaction has completed. Depending upon the application this stage may not be necessary.

该Pulse Period stage has two elements: a DFF and a counter. The DFF will disable theRESET_INsignal of the counter when the turnon condition is met. It will stay low until the pulse count has finished. The counter is used to set the period of the discrete pulses and can be configured to match the application.

该Pulse Count stage has a falling-edge delay and a logic gate. The delay’sCLK.连接到脉冲周期级的计数器,这导致它跟踪脉冲的数量。该dly延迟连接到脉冲周期级中的DFF。这导致延迟在设定的脉冲数后跌落,重置DFF并停止移位时钟。

<上一页:水平移位|Table of Contents|Next: Building a Shift Register >