CN100541385C - Device and method for generating synchronous frequency division clock in digital TV modulator chip - Google Patents
Device and method for generating synchronous frequency division clock in digital TV modulator chip Download PDFInfo
- Publication number
- CN100541385C CN100541385C CNB2007103046986A CN200710304698A CN100541385C CN 100541385 C CN100541385 C CN 100541385C CN B2007103046986 A CNB2007103046986 A CN B2007103046986A CN 200710304698 A CN200710304698 A CN 200710304698A CN 100541385 C CN100541385 C CN 100541385C
- Authority
- CN
- China
- Prior art keywords
- frequency
- signal
- clock
- clock signal
- frequency division
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 38
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000012360 testing method Methods 0.000 claims abstract description 25
- 230000005540 biological transmission Effects 0.000 abstract description 3
- 238000013461 design Methods 0.000 description 26
- 238000010586 diagram Methods 0.000 description 11
- 239000000872 buffer Substances 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000001934 delay Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005405 multipole Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Images
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
本发明提供了数字电视调制器芯片中同步分频时钟的产生装置及其方法,用于国标GB20600地面数字电视多媒体广播基带调制器芯片中,可对主频时钟信号进行二的幂次分频。该装置包括一个主频时钟信号输入端、一个测试使能信号输入端、三个串联的基本分频单元和三个选择器,特别地,还包括两个锁存器。该装置及其方法利用寄存器及反相器对主频时钟信号分别进行二、四、八分频,同时利用主频时钟信号对分频信号进行锁存,得到的分频信号通过选择器才成为最终的分频时钟信号。主要优点在于,可将各分频时钟信号针对主频时钟信号的传递延时进行平均,减少同步时钟信号的歪斜,从而降低整个集成电路芯片的时钟歪斜,提高芯片的频率和性能。
The invention provides a synchronous frequency-division clock generation device and method in a digital TV modulator chip, which is used in the national standard GB20600 terrestrial digital TV multimedia broadcasting baseband modulator chip, and can perform power-of-two frequency division on the main frequency clock signal. The device includes a main frequency clock signal input end, a test enable signal input end, three basic frequency division units connected in series and three selectors, especially two latches. The device and its method use registers and inverters to divide the main frequency clock signal by 2, 4 and 8 respectively, and at the same time use the main frequency clock signal to latch the frequency division signal. The final divided clock signal. The main advantage is that it can average the transmission delay of each frequency-divided clock signal with respect to the main frequency clock signal to reduce the skew of the synchronous clock signal, thereby reducing the clock skew of the entire integrated circuit chip and improving the frequency and performance of the chip.
Description
技术领域 technical field
本发明属于集成电路设计领域,涉及数字集成电路领域,具体来说,涉及一种国标GB20600地面数字电视多媒体广播基带调制器芯片设计中同步分频时钟的产生装置及其方法。The invention belongs to the field of integrated circuit design, and relates to the field of digital integrated circuits. Specifically, it relates to a device and a method for generating a synchronous frequency-division clock in the chip design of a baseband modulator for terrestrial digital TV multimedia broadcasting according to the national standard GB20600.
背景技术 Background technique
数字电视作为电视产业的又一次飞跃,它集成了当今世界上最先进的图像编码处理技术、数字处理技术和数字通信技术,是当今世界技术竞争的焦点之一。地面数字电视国家标准GB20600-2006《数字电视地面广播传输系统帧结构、信道编码和调制》已经正式颁布,但目前还没有完全符合国标GB20600地面数字电视多媒体广播的基带调制器芯片。As another leap forward of the TV industry, digital TV integrates the world's most advanced image coding processing technology, digital processing technology and digital communication technology, and is one of the focuses of technological competition in the world today. The national standard for terrestrial digital TV GB20600-2006 "Digital TV Terrestrial Broadcasting Transmission System Frame Structure, Channel Coding and Modulation" has been officially promulgated, but there is no baseband modulator chip that fully complies with the national standard GB20600 for terrestrial digital TV multimedia broadcasting.
自上世纪80年代以来,集成电路产业以摩尔定律的速度不断发展。目前,数字专用集成电路(Application Specific Integrated Circuit,简称为ASIC)工艺正向两个不同的方向发展,一是片上系统(System on Chip,简称为SOC)技术、多IP核复杂系统设计,二是更小线宽、更大规模、更低的低功耗设计。在这两方面的发展中,芯片时钟树的结构设计和综合均是关键技术之一。一般来说,在SOC设计中,IP核之间的时钟关系比较复杂,单一时钟频率的情况很少,多数情况下都由多个不同的时钟构成,时钟信号的复杂程度不断提高,如何设计复杂的时钟树结构,既能满足系统设计的需要,又能在电子设计自动化(ElectronicDesign Automatic,简称为EDA)工具中进行快速的综合是SOC设计中,必须解决的问题之一。同时,在低功耗设计中,由于芯片的时钟信号的网络布线资源占整个芯片信号网络的50%以上,因此合理得时钟树结构可以减小大量的布线资源对减小芯片的面积和功耗都有重大的意义。而门控时钟是实现低功耗最常见的方法,这种方法无疑进一步增加了时钟树的复杂程度。同时,可测性的设计要求又在目前的复杂情况下加入一个与系统时钟频率无关的测试时钟,使得时钟树的设计至少涉及两个无关频率的时钟。因此,时钟树的好坏直接影响到芯片的频率性能和功耗。虽然,目前的EDA工具提供了自动化的时钟树分析和设计程序,但过于复杂的时钟树结构不仅增加了芯片的面积和功耗,而且会增大EDA工具的计算量,延长了设计周期。因此,需要设计人员在系统设计之初就考虑到时钟树在芯片中的分布情况和连接方法。Since the 1980s, the integrated circuit industry has been developing at the speed of Moore's Law. At present, the digital application specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC) process is developing in two different directions, one is system on chip (System on Chip, referred to as SOC) technology, multi-IP core complex system design, and the other is Smaller line width, larger scale, lower low power consumption design. In the development of these two aspects, the structural design and synthesis of chip clock tree are one of the key technologies. Generally speaking, in SOC design, the clock relationship between IP cores is more complicated. There are few cases of a single clock frequency. In most cases, it is composed of multiple different clocks. The complexity of clock signals continues to increase. How to design complex The clock tree structure, which can not only meet the needs of system design, but also can be quickly synthesized in Electronic Design Automation (EDA) tools is one of the problems that must be solved in SOC design. At the same time, in the design of low power consumption, since the network wiring resources of the clock signal of the chip account for more than 50% of the entire chip signal network, a reasonable clock tree structure can reduce a large number of wiring resources and reduce the area and power consumption of the chip. All have great significance. The gating clock is the most common method to achieve low power consumption, which undoubtedly further increases the complexity of the clock tree. At the same time, the testability design requires adding a test clock that has nothing to do with the system clock frequency in the current complex situation, so that the design of the clock tree involves at least two clocks with no frequency. Therefore, the quality of the clock tree directly affects the frequency performance and power consumption of the chip. Although the current EDA tools provide automated clock tree analysis and design programs, an overly complex clock tree structure not only increases the area and power consumption of the chip, but also increases the calculation load of the EDA tool and prolongs the design cycle. Therefore, designers need to take into account the distribution and connection methods of the clock tree in the chip at the beginning of system design.
通常,一个系统会集成成千上万甚至几百万个寄存器,这些寄存器由一个时钟源来控制,这些寄存器称为寄存器堆,由同一个时钟控制的寄存器堆被认为属于同一个时钟网络;而时钟网络在芯片中的拓扑结构被称为时钟树。时钟树的设计需考虑以下几个因素:Usually, a system will integrate tens of thousands or even millions of registers. These registers are controlled by a clock source. These registers are called register files. Register files controlled by the same clock are considered to belong to the same clock network; and The topology of a clock network in a chip is called a clock tree. The design of the clock tree needs to consider the following factors:
第一、最大功率,由于时钟信号决定了数据传输速率,决定了设计所能达到的最大功率;First, the maximum power, since the clock signal determines the data transmission rate, it determines the maximum power that the design can achieve;
第二、功耗,由于时钟网络的规模都比较庞大,翻转速度比较快,所以对功耗的影响很大;Second, power consumption. Since the scale of the clock network is relatively large and the flipping speed is relatively fast, it has a great impact on power consumption;
第三、噪声,由于时钟信号的每次翻转都会有较大的电流通过电源和地,所以对其他信号会产生较大的噪声干扰。Third, noise, because every time the clock signal flips, a large current will pass through the power supply and ground, so it will generate large noise interference to other signals.
在时钟树的设计中,通常的做法是在EDA工具中给定时钟源到时钟树的叶节点的最大延迟目标值,EDA则根据该目标值自动进行时钟树的规划。时钟树的叶结点是指芯片的输出端口以及锁存器、寄存器或者IP模块的时钟输入端。时钟信号的歪斜(clock skew)是决定电路时序的最主要因素。在时钟网络中由于时钟到达不同寄存器的路径不同,各寄存器的触发时钟并不是同时跳变的,总是存在时间差异的;因此,时钟信号的歪斜是指各寄存器之间延时的相对最大值。若时钟在芯片中的最大延时为TL,最小延时为TS,则时钟歪斜为SKEW=TL-TS。In the design of the clock tree, the usual practice is to specify the maximum delay target value from the clock source to the leaf node of the clock tree in the EDA tool, and EDA will automatically plan the clock tree according to the target value. The leaf nodes of the clock tree refer to the output ports of the chip and the clock input terminals of the latches, registers or IP blocks. The skew of the clock signal (clock skew) is the most important factor in determining the timing of the circuit. In the clock network, due to the different paths of the clock to different registers, the trigger clock of each register does not jump at the same time, and there is always a time difference; therefore, the skew of the clock signal refers to the relative maximum value of the delay between the registers . If the maximum delay of the clock in the chip is TL, and the minimum delay is TS, then the clock skew is SKEW=TL-TS.
时钟布线设计的主要目标就是使时钟信号的歪斜、相位延迟最小化,即零时钟信号的歪斜。采用的主要时钟拓扑结构是平衡时钟(balance-tree)结构,如图1所示,采用从顶而下的设计方法,将时钟路径分成多极H型分布,并通过插入缓存器和增加线宽的方法来实现平衡时钟树的数据结构,实现零偏差电路。The main goal of clock routing design is to minimize the skew and phase delay of the clock signal, that is, zero clock signal skew. The main clock topology adopted is a balanced clock (balance-tree) structure, as shown in Figure 1, using a top-down design method, the clock path is divided into multi-pole H-shaped distribution, and by inserting buffers and increasing the line width A method to realize the data structure of the balanced clock tree and realize the zero-skew circuit.
如图1所示,EDA工具通过对芯片时钟结构的分析,插入大小不同的缓冲器,将时钟网络规划为如图1所示的平衡的时钟树结构,从而尽量保证到达每个寄存器的时钟信号相位相同。时钟树的H型树状结构图的构成方式为主频时钟信号输入端为该H型树状结构的起点S。其中每个节点N为分频寄存器的输出或是驱动缓冲器的输出,H型树状结构的终点F为数据寄存器的时钟输入端。As shown in Figure 1, the EDA tool analyzes the clock structure of the chip, inserts buffers of different sizes, and plans the clock network into a balanced clock tree structure as shown in Figure 1, so as to ensure the clock signal reaching each register as much as possible same phase. The H-shaped tree structure graph of the clock tree is constructed in such a way that the main frequency clock signal input terminal is the starting point S of the H-shaped tree structure. Each node N is the output of the frequency division register or the output of the drive buffer, and the end point F of the H-shaped tree structure is the clock input end of the data register.
如图2所示,为现有的同步分频时钟的产生装置结构图,主频时钟信号M通过寄存器1,和反相器2构成的基本分频单元得到二分频信号,二分频信号通过寄存器3,和反相器4构成的基本分频单元得到四分频信号,四分频信号通过寄存器5,和反相器6构成的基本分频单元得到八分频信号。二、四、八分频信号分别连接到三个选择器7~9的一端,三个选择器7~9的另一端连接主频时钟信号M,利用测试使能信号T控制选择器的输出。As shown in Figure 2, it is a structural diagram of an existing synchronous frequency-division clock generation device. The main frequency clock signal M is obtained by the basic frequency division unit formed by the
如图3所示,为利用现有的同步分频时钟的产生装置及其方法构造出的时钟树结构图,其中二分频时钟信号C2处于第二级时钟节点,相对主频时钟信号M的相位延时为一个寄存器的保持时间。四分频时钟信号C4处于第三级时钟节点,相对主频时钟信号M的相位延时为两个寄存器的保持时间。其中八分频时钟信号C8处于第四级时钟节点,相对主频时钟信号M的相位延时为三个寄存器的延时保持时间。目前的EDA工具对于时钟树网络的处理模式主要为这种H型平衡时钟树结构,为了保证时钟树的平衡性,EDA工具则不得不在非时钟产生路径上插入大量缓冲器已保证第三级节点的延时一致。这通常是比较困难的,而且通过进行插入大量的缓冲器会使时钟信号延长其跳变时间,从而影响时钟信号在芯片中的延时增大;同时必将占用芯片内的绕线资源造成芯片面积的增加。As shown in Figure 3, it is a clock tree structure diagram constructed by using the existing synchronous frequency-divided clock generation device and its method, wherein the frequency-divided clock signal C2 is at the second-level clock node, relative to the main frequency clock signal M The phase delay is the hold time of one register. The frequency-divided clock signal C4 is at the third-level clock node, and the phase delay relative to the main frequency clock signal M is the holding time of the two registers. Wherein, the frequency-divided-by-eight clock signal C8 is at the fourth-level clock node, and the phase delay relative to the main frequency clock signal M is the delay holding time of the three registers. The current EDA tool's processing mode for the clock tree network is mainly this H-shaped balanced clock tree structure. In order to ensure the balance of the clock tree, the EDA tool has to insert a large number of buffers on the non-clock generation path to ensure the third-level nodes. The delay is consistent. This is usually difficult, and by inserting a large number of buffers, the clock signal will prolong its transition time, thereby affecting the increase in the delay of the clock signal in the chip; increase in area.
国标GB20600地面数字电视多媒体广播基带调制器芯片,有180多万个标准单元门电路,45个大型存储器宏模块,201个输入输出pad,且包含一个集成模拟PLL,面积为6324.16×6320.24(um2),即40平方毫米。该芯片含60.48MHz、30.24MHz、15.12MHz、7.48MHz四个同步的时钟信号,基于面积和功耗优化的考虑,在各时钟域之间存在频繁的数据交换;同时,由于芯片有大量的macro单元,且规模也较大,时钟路径较长且复杂,因此对芯片中的时钟信号的设计提出了较高的要求。运用现有的同步时钟分频技术生成同步分频时钟的装置及其方法,会将分频时钟置于时钟树的不同级,因此,时钟相位延迟逐级增加,时钟信号的歪斜增大,会造成芯片内部同步时钟信号相位不一致的问题,从而导致芯片的工作频率下降,过大的时钟信号的歪斜甚至影响到芯片的正常工作。The national standard GB20600 terrestrial digital TV multimedia broadcasting baseband modulator chip has more than 1.8 million standard unit gate circuits, 45 large memory macro modules, 201 input and output pads, and includes an integrated analog PLL, with an area of 6324.16×6320.24 (um 2 ), that is, 40 square millimeters. The chip contains four synchronous clock signals of 60.48MHz, 30.24MHz, 15.12MHz, and 7.48MHz. Based on the consideration of area and power consumption optimization, there is frequent data exchange between each clock domain; at the same time, because the chip has a large number of macro Unit, and the scale is also large, the clock path is long and complex, so the design of the clock signal in the chip puts forward higher requirements. The device and method for generating a synchronous frequency-divided clock using the existing synchronous clock frequency division technology will place the frequency-divided clock at different levels of the clock tree. Therefore, the clock phase delay will increase step by step, and the skew of the clock signal will increase. It causes the phase inconsistency of the synchronous clock signal inside the chip, which leads to the decrease of the working frequency of the chip, and the excessive skew of the clock signal even affects the normal operation of the chip.
发明内容 Contents of the invention
本发明针对数字集成电路设计中现有的同步分频时钟的产生装置及其方法会造成芯片内部同步时钟延时增大的问题,提供了一种改进的用于国标GB20600地面数字电视多媒体广播基带调制器芯片设计中同步分频时钟的产生装置及其方法,该装置及其方法能够减小芯片内部时钟信号的歪斜,提高芯片的工作频率。The present invention aims at the problem that the existing synchronous frequency-division clock generation device and its method in digital integrated circuit design will increase the delay of the internal synchronous clock in the chip, and provides an improved baseband for national standard GB20600 terrestrial digital TV multimedia broadcasting A device and method for generating a synchronous frequency division clock in modulator chip design, the device and method can reduce the skew of the internal clock signal of the chip and increase the operating frequency of the chip.
本发明提供的装置包括主频时钟信号输入端、测试使能信号输入端、三个串联的基本分频单元和三个选择器,该装置还包括两个锁存器;其中,The device provided by the present invention includes a main frequency clock signal input end, a test enable signal input end, three basic frequency division units in series and three selectors, and the device also includes two latches; wherein,
每个分频单元由一个寄存器和一个反相器构成,在每个分频单元内部,寄存器的输出与反相器的输入相连,反相器的输出与寄存器的输入相连,反相器的输出为该分频单元的分频时钟输出。Each frequency division unit is composed of a register and an inverter. Inside each frequency division unit, the output of the register is connected to the input of the inverter, the output of the inverter is connected to the input of the register, and the output of the inverter It is the frequency division clock output of the frequency division unit.
主频时钟信号输入端与第一分频单元中的寄存器的时钟输入端相连,第一分频单元中反相器的输出端和主频时钟信号输入端分别与第一个选择器的两个输入端相连;第一分频单元中的反相器的输出端同时与第二分频单元中的寄存器的时钟输入端相连,第二分频单元中的反相器的输出端与第一个锁存器的数据输入端相连,第一个锁存器的时钟输入端与主频时钟信号相连,第一个锁存器的输出端和主频时钟信号输入端分别与第二个选择器的两个输入端相连;The main frequency clock signal input end is connected with the clock input end of the register in the first frequency division unit, and the output end of the inverter in the first frequency division unit and the main frequency clock signal input end are respectively connected with two selectors of the first selector. The input terminal is connected; the output terminal of the inverter in the first frequency division unit is connected with the clock input terminal of the register in the second frequency division unit at the same time, and the output terminal of the inverter in the second frequency division unit is connected with the first The data input end of the latch is connected, the clock input end of the first latch is connected with the main frequency clock signal, the output end of the first latch and the main frequency clock signal input end are respectively connected with the second selector The two inputs are connected;
第二分频单元中的反相器的输出端同时与第三分频单元中的寄存器的时钟输入端相连,第三分频单元中的反相器的输出端与第二个锁存器相连,第二个锁存器的时钟输入端与主频时钟信号输入端相连,第二个锁存器的输出端和主频时钟信号输入端分别与第三个选择器的两个输入端相连;The output terminal of the inverter in the second frequency division unit is connected with the clock input terminal of the register in the third frequency division unit at the same time, and the output terminal of the inverter in the third frequency division unit is connected with the second latch , the clock input end of the second latch is connected to the main frequency clock signal input end, and the output end of the second latch and the main frequency clock signal input end are respectively connected to the two input ends of the third selector;
三个选择器的选择控制端均与测试使能信号输入端相连,三个选择器的输出端作为该同步时钟产生装置的输出端。The selection control terminals of the three selectors are all connected to the input terminal of the test enable signal, and the output terminals of the three selectors are used as the output terminals of the synchronous clock generating device.
本发明还提供一种利用上述装置产生同步分频时钟的方法,该方法包括以下步骤:The present invention also provides a method for generating a synchronous frequency-divided clock by utilizing the above-mentioned device, the method comprising the following steps:
a)利用分频器和反相器对系统主频时钟进行分频;a) divide the frequency of the main frequency clock of the system by using a frequency divider and an inverter;
b)将分频后得到的分频时钟利用寄存器进行锁存;b) Latching the frequency-divided clock obtained after the frequency division with a register;
c)将输出分频锁存后的时钟信号与主频时钟信号输入选择器进行选择操作得到最终的分频时钟。c) Selecting the output clock signal after frequency division and latching with the main frequency clock signal input selector to obtain the final frequency division clock.
本发明所介绍的方法在于将不平衡的时钟树结构经过电路改造,将通过分频单元得到的分频时钟,输入寄存器,利用主频时钟进行二次锁存,该寄存器的输出作为芯片内的同步时钟使用。由于利用主频时钟信号的锁存,因此,各分频时钟信号针对主频时钟信号的延迟一致,均为寄存器的保持时间;因此,在得到的重新构造成的时钟树结构中,所有的分频时钟都处于第二级节点,从而构造出相对平衡的时钟树结构,使得芯片内不同频率时钟信号的时钟相位保持一致,减小了芯片时钟信号的歪斜,从而提高了时钟频率。The method introduced in the present invention is to reform the unbalanced clock tree structure through the circuit, input the frequency division clock obtained by the frequency division unit into the register, and use the main frequency clock to perform secondary latching, and the output of the register is used as the Synchronous clock usage. Due to the use of the latch of the main frequency clock signal, the delays of each divided clock signal for the main frequency clock signal are the same, which is the hold time of the register; therefore, in the obtained reconstructed clock tree structure, all divided clock signals The frequency clocks are all in the second-level nodes, so as to construct a relatively balanced clock tree structure, so that the clock phases of different frequency clock signals in the chip are consistent, reducing the skew of the chip clock signal, thereby increasing the clock frequency.
附图说明 Description of drawings
图1为现有的时钟树的H型结构图;Fig. 1 is the H-shaped structural diagram of existing clock tree;
图2为现有的同步分频时钟的产生装置结构图;Fig. 2 is the structure diagram of the generation device of existing synchronous frequency division clock;
图3为利用现有的同步分频时钟的产生装置及其方法构造出的时钟树结构图;Fig. 3 is the clock tree structural diagram that utilizes existing synchronous frequency division clock generation device and method thereof to construct;
图4为本发明所提供的用于国标GB20600地面数字电视多媒体广播基带调制器芯片中的同步分频时钟的产生装置结构图;Fig. 4 is the structural diagram of the generating device for the synchronous frequency division clock in the national standard GB20600 terrestrial digital TV multimedia broadcasting baseband modulator chip provided by the present invention;
图5为本发明所提供的用于国标GB20600地面数字电视多媒体广播基带调制器芯片中的同步分频时钟的产生方法流程图;Fig. 5 is used for the generation method flowchart of the synchronous frequency division clock in the national standard GB20600 terrestrial digital TV multimedia broadcasting baseband modulator chip provided by the present invention;
图6为利用本发明所提供的用于国标GB20600地面数字电视多媒体广播基带调制器芯片中的同步分频时钟的产生装置及其方法构造出的时钟树结构图。Fig. 6 is a clock tree structure diagram constructed by using the synchronous frequency-divided clock generation device and method used in the national standard GB20600 terrestrial digital TV multimedia broadcasting baseband modulator chip provided by the present invention.
具体实施方式 Detailed ways
下面结合具体实施方式对本发明作进一步的描述。The present invention will be further described below in combination with specific embodiments.
如图4所示,为本发明所提供的用于国标GB20600地面数字电视多媒体广播基带调制器芯片中的同步分频时钟的产生装置结构图,该装置包括主频时钟信号输入端、测试使能信号输入端、三个串联的基本分频单元和三个选择器,特别地,该装置还包括两个锁存器;其中,As shown in Figure 4, it is a structural diagram of the generation device for the synchronous frequency division clock in the national standard GB20600 terrestrial digital TV multimedia broadcasting baseband modulator chip provided by the present invention, the device includes a main frequency clock signal input terminal, a test enable Signal input terminal, three basic frequency division units in series and three selectors, in particular, the device also includes two latches; wherein,
由寄存器10和反相器11构成第一基本分频单元,寄存器12和反相器13构成第二分频单元,寄存器14和反相器15构成第三分频单元。三个分频单元的连接方式相同,以第一分频单元为例:寄存器10的输出与反相器11的输入相连,反相器的输出与寄存器10的输入相连,该反相器的输出为分频单元的输出,该输出为输入分频单元的中寄存器10的时钟输入端的时钟信号的二分频信号。The
主频时钟信号M输入端与第一分频单元中寄存器10的时钟输入端相连,第一分频单元中的反相器11的输出端和主频时钟信号M输入端分别与第一个选择器18的两个输入端相连。第一分频单元中的反相器11的输出端同时与第二分频单元中的寄存器12的时钟输入端相连,第二个寄存器12和第二个反相器13构成第二个基本分频单元,连接方式同上述第一个寄存器10和第一个反相器11。第二个反相器13的输出端与第一个锁存器16的数据输入端相连,第一个锁存器16的时钟输入端与主频时钟信号M输入端相连,第一个锁存器16的输出端和主频时钟信号M输入端分别与第二个选择器19的两个输入端相连。第二分频单元中的反相器13的输出端同时与第三分频单元中的寄存器14的时钟输入端相连,第三个寄存器14和第三个反相器15构成第三基本分频单元,连接方式同第一个寄存器10和第一个反相器11;第三分频单元中的反相器15的输出端与第二个锁存器17相连,第二个锁存器17的时钟输入端与主频时钟信号M输入端相连,第二个锁存器17的输出端和主频时钟信号M输入端分别与第三个选择器20的两个输入端相连。三个选择器18~20的选择控制端均与测试使能信号T相连,三个选择器18~20的输出端作为该同步时钟产生装置的输出端。The main frequency clock signal M input end is connected with the clock input end of the
该装置将输入的主频时钟信号进行三级分频,该三级分频均为二的幂次分频,即进行二、四、八次分频。具体工作流程如下:The device performs three-level frequency division on the input main frequency clock signal, and the three-level frequency division is all power-of-two frequency division, that is, two, four, and eight frequency divisions are performed. The specific workflow is as follows:
首先,由主频时钟信号M产生二分频信号。主频时钟信号M驱动第一个寄存器10,得到数据信号通过第一个反相器11,接回到寄存器的数据端,得到二分频信号;该二分频信号由主频时钟信号M触发产生,因此该二分频信号相对主频时钟信号M的延时为一个寄存器的保持时间。First, a frequency-divided signal is generated from the main frequency clock signal M. The main frequency clock signal M drives the
然后,由二分频信号产生四分频信号。二分频信号驱动第二个寄存器12,得到的输出信号通过第二个反相器13后接回第二个寄存器12的数据端,得到原始四分频信号;该四分频信号由二分频信号触发产生,则该四分频信号相对二分频信号的延时为寄存器的保持时间,而二分频信号相对主频时钟信号M的延时也为寄存器的保持时间,因此原始四分频信号相对主频时钟信号M的延时为二个寄存器的保持时间。Then, a frequency-divided-by-four signal is generated from the divided-by-two signal. The second frequency-division signal drives the
接着,由四分频时钟信号产生八分频信号。四分频信号驱动第三个寄存器14,得到的输出信号通过第三个反相器15后接回第三个寄存器14的数据端,得到原始八分频信号。该八分频信号由四分频信号触发产生,则该八分频信号相对四分频信号的延时为一个寄存器的保持时间,而四分频信号相对主频时钟信号M的延时为二个寄存器的保持时间,因此原始八分频信号相对主频时钟信号M的延时为三个寄存器的保持时间。Next, a frequency-divided signal by eight is generated from the clock signal divided by four. The frequency-divided-by-four signal drives the
随后,利用主频时钟信号M对原始四分频信号、八分频信号进行锁存。原始四分频信号从由主频时钟信号M驱动的第一个锁存器16的数据端输入,从第一个锁存器16的输出端得到四分频信号。原始八分频信号从由主频时钟信号M驱动的第二个锁存器17的数据端输入,在第二个锁存器17的输出端得到的八分频信号。该步骤所得的四分频信号、八分频信号为主频时钟信号M所触发的锁存器产生,因此,该四分频信号、八分频信号相对主频时钟信号M之间的相位差只为一个寄存器保持时间。Subsequently, the main frequency clock signal M is used to latch the original frequency-divided-by-four signal and the divided-by-eight signal. The original frequency-divided-by-four signal is input from the data terminal of the
最后,根据输入的测试使能信号T选择输出主频时钟信号M还是分频时钟信号。得到的二分频信号与主频时钟信号M通过第一个选择器18选择,得到输出的二分频时钟信号C2;得到的四分频信号与主频时钟信号M通过第二个选择器19选择,得到输出的四分频时钟信号C4;得到八分频信号与主频时钟信号M通过第三个选择器20选择,得到输出的八分频时钟信号C8。三个选择器18~20由测试使能信号T控制,在工作状态时选择分频时钟信号输出,在测试状态时选择主频时钟信号输出。Finally, according to the input test enable signal T, it is selected to output the main frequency clock signal M or the frequency-divided clock signal. The obtained two-frequency signal and the main frequency clock signal M are selected by the
如图4所示,为本发明所提供的用于国标GB20600地面数字电视多媒体广播基带调制器芯片中的同步分频时钟的产生装置结构图,该装置共包含三个基本分频单元,二个锁存器,即锁存器的个数较基本分频单元少一个。四分频信号、八分频信号分别经过第二和三基本分频单元产生,相对主频时钟信号M的延时为二个和三个寄存器的保持时间。再分别经过一个锁存器后,相对主频时钟信号M的延时为一个寄存器的保持时间。而二分频信号经过第一个基本分频单元产生,相对主频时钟信号M的延时为一个寄存器的保持时间。因此该装置为了保证同步分频时钟信号的相位一致,需要三个串联的基本分频单元,二个锁存器,即锁存器个数较基本分频单元少一个。As shown in Figure 4, it is a structural diagram of the generation device used for the synchronous frequency division clock in the national standard GB20600 terrestrial digital TV multimedia broadcasting baseband modulator chip provided by the present invention, the device comprises three basic frequency division units altogether, two The number of latches, that is, the number of latches is one less than that of the basic frequency division unit. The frequency-divided signal by four and the frequency-divided signal by eight are respectively generated by the second and three basic frequency division units, and the delay relative to the main frequency clock signal M is the holding time of two and three registers. After passing through a latch respectively, the delay relative to the main frequency clock signal M is the holding time of a register. The frequency-divided-by-two signal is generated by the first basic frequency-dividing unit, and the delay relative to the main frequency clock signal M is the holding time of one register. Therefore, in order to ensure that the phases of the synchronous frequency division clock signal are consistent, the device needs three series-connected basic frequency division units and two latches, that is, the number of latches is one less than that of the basic frequency division unit.
如图4所示,为本发明所提供的用于国标GB20600地面数字电视多媒体广播基带调制器芯片中的同步分频时钟的产生装置结构图,该装置中包含三个用于可测性设计的选择器,分别与二、四、八分频信号和主频时钟信号M相连,并由测试使能信号T与选择信号相连来控制选择器的输出。当测试使能信号为“0”时,该装置处与工作状态,输出信号为二分频时钟信号C2、四分频时钟信号C4、八分频时钟信号C8;当测试使能信号为“1”时,该装置处于测试状态,输出信号为主频时钟信号M。这样保证在测试状态,所有寄存器所接的时钟为同一个时钟信号。As shown in Figure 4, it is a structural diagram of the generation device used for the synchronous frequency division clock in the national standard GB20600 terrestrial digital TV multimedia broadcasting baseband modulator chip provided by the present invention, which includes three devices for testability design The selector is respectively connected with the 2-, 4-, 8-frequency division signal and the main frequency clock signal M, and the output of the selector is controlled by connecting the test enable signal T with the selection signal. When the test enable signal is "0", the device is in the working state, and the output signals are the clock signal C2, the clock signal C4, and the clock signal C8; when the test enable signal is "1 ", the device is in the test state, and the output signal is the main frequency clock signal M. This ensures that in the test state, the clocks connected to all registers are the same clock signal.
如图5所示,为本发明所提供的用于国标GB20600地面数字电视多媒体广播基带调制器芯片中的同步分频时钟的产生方法流程图,该方法的具体流程可为:As shown in Figure 5, for the generation method flowchart of the synchronous frequency division clock in the national standard GB20600 terrestrial digital TV multimedia broadcasting baseband modulator chip provided by the present invention, the concrete flow process of this method can be:
Step1:由主频时钟信号产生二分频同步时钟信号。主频时钟信号驱动寄存器10,得到数据信号通过反相器11,接回到寄存器的数据端,得到二分频时钟信号。该二分频信号与主频时钟信号的延时为一个寄存器延时。Step1: Generate a two-frequency synchronous clock signal from the main frequency clock signal. The main frequency clock signal drives the
Step2:由二分频时钟信号产生四分频同步时钟信号。二分频信号驱动寄存器12,得到的输出信号通过反相器13后接回寄存器12的数据端,得到四分频信号。该四分频信号与主频时钟信号的延时为两个寄存器延时。Step2: Generate a four-frequency synchronous clock signal from the two-frequency clock signal. The frequency-divided signal drives the
Step3:由四分频时钟信号产生八分频同步时钟信号。四分频信号驱动寄存器14,得到的输出信号通过反相器15后接回寄存器14的数据端,得到八分频信号。该八分频信号与主频时钟信号的延时为三个寄存器延时。Step3: Generate an eight-frequency synchronous clock signal from the four-frequency clock signal. The frequency-divided-by-four signal drives the
Step4:利用主频时钟信号对四、八分频信号进行锁存。由Step2中得到的四分频信号通过由主频时钟信号驱动的锁存器16,在锁存器16的输出端得到四分频信号。由Step3中得到的八分频信号通过由主频时钟信号驱动的锁存器17,在锁存器17的输出端得到八分频信号。该步骤所得的四、八分频信号与主频时钟信号之间的相位差为一个寄存器延时。Step4: Use the main frequency clock signal to latch the frequency-divided by four and eight signals. The frequency-divided signal obtained in
Step5:根据输入的测试信号选择输出主频时钟信号还是分频时钟信号。由Step1中得到二分频时钟信号与主频时钟通过选择器18选择,得到输出的二分频时钟信号。由Step4中得到四分频时钟信号与主频时钟通过选择器19选择,得到输出的四分频时钟信号。由Step4中得到八分频时钟信号与主频时钟通过选择器20选择,得到输出的八分频时钟信号。三个选择器18~20由测试使能信号控制,在工作状态选择原始分频信号输出,在测试状态选择主频时钟分频信号输出。Step5: Choose to output the main frequency clock signal or the frequency division clock signal according to the input test signal. The frequency-divided clock signal obtained in Step1 and the main frequency clock are selected by the
如图6所示,为利用本发明所提供的用于国标GB20600地面数字电视多媒体广播基带调制器芯片中的同步分频时钟的产生装置及其方法构造出的时钟树结构图,与图3中现有的方法构成的时钟树结构相比,利用主频时钟信号M锁存已经产生的原始四分频信号、原始八分频信号,则二分频时钟信号C2、四分频时钟信号C4、八分频时钟信号C8均可视为由主频时钟信号M经过一个寄存器产生的分频信号,相对主频时钟信号M的延时相同,而由三个串联的基本寄存器单元产生的时钟则被视为数据路径不被考虑在时钟树的拓扑结构中,因此二分频时钟信号C2、四分频时钟信号C4、八分频时钟信号C8均处于第二级时钟树结构中,在逻辑上保证了时钟树结构的平衡。不必在时钟树综合(Clock Tree Synthesis,简称CTS)过程中插入大量的缓冲器来保证时钟信号的歪斜最小化,因此,节省了大量的绕线资源,对于减小芯片的面积有很大贡献。同时也节省了EDA工具在计算CTS结构上所使用的时间,缩短了芯片的设计周期。As shown in Figure 6, it is a clock tree structure diagram constructed for the generation device and method thereof for the synchronous frequency division clock used in the national standard GB20600 terrestrial digital TV multimedia broadcasting baseband modulator chip provided by the present invention, which is the same as that in Figure 3 Compared with the clock tree structure formed by the existing method, using the main frequency clock signal M to latch the original four-frequency signal and the original eight-frequency signal, the two-frequency clock signal C2, the four-frequency clock signal C4, The eight-frequency clock signal C8 can be regarded as a frequency-division signal generated by the main frequency clock signal M through a register, and the delay relative to the main frequency clock signal M is the same, while the clock generated by the three series-connected basic register units is It is considered that the data path is not considered in the topology of the clock tree, so the two-frequency clock signal C2, the four-frequency clock signal C4, and the eight-frequency clock signal C8 are all in the second-level clock tree structure, which is logically guaranteed Balanced clock tree structure. It is not necessary to insert a large number of buffers in the clock tree synthesis (CTS) process to ensure that the skew of the clock signal is minimized. Therefore, a large number of winding resources are saved, which greatly contributes to reducing the chip area. At the same time, the time used by the EDA tool for calculating the CTS structure is saved, and the design cycle of the chip is shortened.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007103046986A CN100541385C (en) | 2007-12-28 | 2007-12-28 | Device and method for generating synchronous frequency division clock in digital TV modulator chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007103046986A CN100541385C (en) | 2007-12-28 | 2007-12-28 | Device and method for generating synchronous frequency division clock in digital TV modulator chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101216721A CN101216721A (en) | 2008-07-09 |
CN100541385C true CN100541385C (en) | 2009-09-16 |
Family
ID=39623164
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007103046986A Expired - Fee Related CN100541385C (en) | 2007-12-28 | 2007-12-28 | Device and method for generating synchronous frequency division clock in digital TV modulator chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100541385C (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5743063B2 (en) * | 2011-02-09 | 2015-07-01 | ラピスセミコンダクタ株式会社 | Semiconductor integrated circuit, semiconductor chip, and semiconductor integrated circuit design method |
CN102497206B (en) * | 2011-11-29 | 2014-04-09 | 中国科学院微电子研究所 | Clock control device and system on chip comprising same |
US8677305B2 (en) * | 2012-06-04 | 2014-03-18 | International Business Machines Corporation | Designing a robust power efficient clock distribution network |
CN104283561B (en) * | 2014-09-22 | 2018-04-27 | 电子科技大学 | A kind of asynchronous clock parallel-serial conversion half period output circuit |
CN110888038B (en) * | 2018-09-11 | 2021-12-14 | 中芯国际集成电路制造(上海)有限公司 | Standard unit test circuit layout, optimization method thereof and standard unit test structure |
CN109799870B (en) * | 2018-12-29 | 2021-03-05 | 深圳云天励飞技术有限公司 | Clock control circuit and control method |
CN110673689B (en) * | 2019-09-23 | 2021-09-14 | 深圳云天励飞技术有限公司 | Clock control circuit and method |
CN111061335B (en) * | 2019-12-12 | 2023-10-31 | 涌现(南京)芯片科技有限公司 | Clock network circuit, circuit system, chip and electronic equipment |
CN115589372B (en) * | 2022-01-25 | 2025-03-25 | 浙江理工大学 | A non-resident data cross-clock domain method based on co-frequency and out-of-phase clocks |
CN115510779B (en) * | 2022-11-22 | 2023-05-02 | 飞腾信息技术有限公司 | Clock tree comprehensive processing method, device, equipment and medium based on chip design |
CN116341481B (en) * | 2023-05-26 | 2023-08-22 | 南京芯驰半导体科技有限公司 | Clock file confirmation method and device, electronic equipment and storage medium |
-
2007
- 2007-12-28 CN CNB2007103046986A patent/CN100541385C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101216721A (en) | 2008-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100541385C (en) | Device and method for generating synchronous frequency division clock in digital TV modulator chip | |
CN110336545B (en) | A Bidirectional Adaptive Clock Circuit Supporting Wide Frequency Range | |
US7583106B2 (en) | Clock circuitry | |
CN102970013A (en) | Resetting method and resetting control device of register inside chip based on scanning chain | |
US7423928B2 (en) | Clock circuitry for DDR-SDRAM memory controller | |
US8086982B2 (en) | Methods and systems for reducing clock skew in a gated clock tree | |
US6651230B2 (en) | Method for reducing design effect of wearout mechanisms on signal skew in integrated circuit design | |
CN103560786B (en) | A kind of digital successive approximation register formula quick lock in delay-locked loop | |
US8644439B2 (en) | Circuits and methods for signal transfer between different clock domains | |
CN109815619B (en) | Method for converting synchronous circuit into asynchronous circuit | |
US8677295B1 (en) | Sequential clock gating using net activity and xor technique on semiconductor designs including already gated pipeline design | |
CN104795091B (en) | System and method for realizing ZBT (zero bus turnaround) reading and writing timing sequence stability in FPGA (field programmable gate array) | |
Amini et al. | Globally asynchronous locally synchronous wrapper circuit based on clock gating | |
CN117811539B (en) | FPGA clock glitch-free switching circuit | |
CN103607199A (en) | Quick delay locked loop of full-digital successive approximation register | |
Tarawneh et al. | Formal verification of clock domain crossing using gate-level models of metastable flip-flops | |
Pasandi et al. | A graph partitioning algorithm with application in synthesizing single flux quantum logic circuits | |
Kuzmin | Clock Network Design Challenges | |
Teng et al. | Latch-based performance optimization for FPGAs | |
US20170212861A1 (en) | Clock tree implementation method, system-on-chip and computer storage medium | |
Lu et al. | Register on MEsh (ROME): A novel approach for clock mesh network synthesis | |
US7818695B2 (en) | Redistribution of current demand and reduction of power and DCAP | |
US20250005247A1 (en) | Method and system for emulating ic design with fpga, and storage medium | |
Bhesaniya et al. | Shift Power Reduction in High-Performance Clock Network Designs | |
Santhanam et al. | Generic methodolgy and solution for Additive Jitter correction in Mesh based clock architectures |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090916 Termination date: 20111228 |