A clock system and a clock synchronization method

By using configurable reference clock sources and sub-module clock components in integrated circuits, combined with phase-locked loops and phase compensation FIFOs, the problem of synchronizing clocks for multiple intellectual property modules is solved, achieving low-power DDR transmission rates and reducing host costs. Logic circuitry for interface backpressure handling, supporting wide external memory interfaces.

CN114647598BActive Publication Date: 2024-08-30SAIKAIZHI CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110104622.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-26
Publication Date
2024-08-30
Estimated Expiration
2041-01-26

AI Technical Summary

Technical Problem

It is difficult for existing clock systems to implement a single synchronized clock for multiple intellectual property modules in integrated circuits, especially on silicon wafers, and the traditional method of using full-rate clocks or dual-frequency clocks results in high DDR transmission rates and requires additional logic Circuitry handles backpressure on the host interface.

Method used

Utilizes configurable reference clock sources and sub-module clock components to achieve synchronized transmission of multiple IP modules through phase-locked loop blocks, clock phase alignment clocks, global clocks and configurable phase compensation FIFOs, and through 0° and 90° phase-shifted clocks Supports half-rate clocking, combined with clock phase alignment operation, to provide synchronized transmission among multiple IP modules.

Benefits of technology

It enables synchronous transmission of multiple IP modules, supports wide external memory interfaces, reduces power consumption, and reduces the logic circuitry and delays required to handle host interface backpressure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114647598B_ABST
    Figure CN114647598B_ABST
Patent Text Reader

Abstract

The present invention relates to a clock system (100) for an intellectual property module (10), comprising: a phase-locked loop block (3) for generating a clock output; a clock phase alignment clock (5) connected to a host interface to support splicing of peripheral intellectual property clock domains; characterized in that a configurable reference clock comprises a configurable reference clock tree (2) and a configurable reference clock source (31) for grouping the phase-locked loop blocks (3) of each intellectual property module (10) into a single synchronous clock; a submodule clock component (32) for running a different operating frequency from the reference clock; a global clock comprising a clock pair of 0° and 90° phase-shifted clocks for receiving clock outputs, and a clock pair of 180° and 270° phase-shifted clocks for duty cycle correction and inter-cycle correction; and a configurable phase compensation first-in-first-out (FIFO) (7); the clock system supports splicing modular peripheral intellectual property modules to form a wide external memory interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention generally relates to a clock system, and more particularly to a clock system of an intellectual property module and a method for forming clock synchronization of an external memory interface. Background Art

[0002] Advances in integrated circuit design and manufacturing have brought significant benefits to today's electronics industry. Faster and denser circuits with ever-increasing functionality have become possible. Along with these positive developments, many challenges have also emerged. The miniaturization of integrated circuits has made it possible to place an entire system on a single chip. System-on-a-chip design faces challenges such as signal integrity, power distribution and dissipation, and clock signal distribution and synchronization. System-on-a-chip (SoC) designs have different intellectual property (IP) blocks that operate on independent clocks, signals between clock domains can be subject to errors, and it is difficult to synchronize a single clock.

[0003] US10528513 B1 discloses an integrated circuit, which includes a programmable resource, a plurality of hard blocks, and a programmable connector coupled to the programmable resource and the hard blocks, wherein the programmable connector is configurable to route a signal between a first hard block and a second hard block in a first operating mode.

[0004] US 7388795 B1 discloses a memory controller, which includes a phase-locked loop (PLL) generating a differential reference clock and a first clock component coupled to the PLL. The first clock component includes a first delay locked loop (DLL) for receiving a reference clock and generating a transmit and receive delay correction clock signal; a first group of phase interpolators for providing data transmission correction; and a first group of slave delay lines for providing data reception correction.

[0005] US 8352774 B2 discloses an inter-clock domain data transfer first-in-first-out (FIFO) circuit, which provides a circuit for transferring data between two clock domains of unrelated frequencies. The number of gates is kept relatively low, thereby allowing data to be transferred between the two clock domains at one data item per cycle of the lower of the two frequencies. Depending on the frequency difference between the data producer and the user, the initial delay may be as low as a fraction of a cycle and not exceed two cycles of the user's clock. The operation of the data transfer FIFO circuit is verified using gate-level simulations for several clock frequency ratios.

[0006] The above-mentioned references attempt to provide clock systems in terms of functional chips. However, they have many limitations and disadvantages. For example, in the above-mentioned references, the clock systems only use full-rate clocks or dual-frequency clocks to generate double data rate (DDR) transmissions. In addition, the above-mentioned references generally use free-running phase compensation FIFOs, which require additional logic circuits and queues to handle back pressure of the host interface.

[0007] Therefore, there remains a need for an improved clock system for supporting the stitching of multiple intellectual property (IP) blocks to operate as a single wide interface on silicon. Summary of the invention

[0008] The following brief summary of the invention provides a basic understanding of some aspects of the invention. This brief summary is not an extensive overview of the invention, and its sole purpose is to present some concepts of the invention in a simplified form as a prelude to the more detailed description that follows.

[0009] An object of the present invention is to provide a configurable reference clock with a configurable reference clock source to group the phase locked loop (PLL) of each intellectual property (IP) module into a single synchronous clock.

[0010] Another object of the present invention is to provide a sub-module clock component to allow a single IP module to operate independently at different operating frequencies.

[0011] It is yet another object of the present invention to provide a global clock distribution that uses 0° and 90° phase shifted clocks to allow half rate clocking.

[0012] It is yet another object of the present invention to produce DDR transfer rates with lower power consumption.

[0013] Yet another object of the present invention is to provide synchronous transmission among multiple IP modules by combining a phase compensation FIFO with a clock phase alignment (CPA) operation.

[0014] Therefore, these objectives can be achieved by following the teachings of the present invention. The present invention relates to a clock system for an intellectual property module, the system comprising: a phase-locked loop block for generating a clock output; a clock phase alignment clock connected to a host interface to support the splicing of peripheral intellectual property clock domains; characterized in that a configurable reference clock comprises a configurable reference clock tree and a configurable reference clock source so as to be used to group the phase-locked loop blocks of each intellectual property module into a single synchronous clock; a sub-module clock component for running an operating frequency different from the reference clock; a global clock comprising a clock pair of 0° and 90° phase-shifted clocks for receiving clock outputs, and a clock pair of 180° and 270° phase-shifted clocks for duty cycle correction and inter-cycle correction; a configurable phase compensation FIFO comprising a host interface backpressure and no backpressure processing component; wherein the sub-module clock components are multiplexed to different clock domains to clock synchronize data paths and address or command paths respectively; wherein the phase compensation FIFO is clock synchronized by the multiplexed clock domain clock at one end and by the clock phase alignment clock at the other end; wherein the clock system supports splicing modular peripheral intellectual property modules to form a wide external memory interface.

[0015] The present invention also relates to a method for clock synchronization of an external memory interface, characterized in that the method includes: generating a clock output from a phase-locked loop block via a sub-module clock component; multiplexing the clock output to different clock domains through a global clock; synchronizing data and address or command paths by each clock domain clock; synchronizing a phase compensation FIFO by clock domain and clock phase alignment clocks; generating a pointer for the phase compensation FIFO by a central pointer generation block; and synchronizing pointers of adjacent intellectual property modules with a parent intellectual property module.

[0016] The foregoing and other objects, features, aspects and advantages of the present invention will become more readily understood in conjunction with the detailed description provided herein below, with appropriate reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to understand the above-mentioned features of the present invention in detail, a more specific description of the present invention briefly summarized above can be drawn through embodiments, some of which are shown in the accompanying drawings. However, it should be noted that the accompanying drawings only show typical embodiments of the present invention and are therefore not to be construed as limiting the scope of the present invention, because the present invention may allow other equivalent embodiments.

[0018] These and other features, benefits and advantages of the present invention will become apparent by reference to the following drawings, like reference numerals referring to like structures throughout the views, wherein:

[0019] Figure 1 A block diagram of a clock system of an intellectual property (IP) module according to an embodiment of the present invention is shown.

[0020] Figure 2 A schematic diagram of a configurable reference clock tree module according to an embodiment of the present invention is shown.

[0021] Figure 3 A schematic diagram of a balanced reference clock tree structure with a configurable reference clock tree module according to an embodiment of the present invention is shown.

[0022] Figure 4 A block diagram of a backpressure-enabled phase compensation FIFO according to an embodiment of the present invention is shown.

[0023] Figure 5 A block diagram of a central pointer generation block for a phase compensation FIFO according to an embodiment of the present invention is shown.

[0024] Figure 6 An example of a silicon die containing a modular IP queue is shown.

[0025] Figure 7 A flow chart of a method for clock synchronization of an external memory interface according to an embodiment of the present invention is shown.

[0026] Figure 8 An example of a modular peripheral memory IP queue configuration according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0027] As required, detailed embodiments of the present invention are disclosed herein. However, it should be understood that the disclosed embodiments are merely examples of the present invention, which can be implemented in various forms. Therefore, the specific structural and functional details disclosed herein should not be interpreted as restrictive, but only as the basis of the claims. It should be understood that the drawings and their detailed description are not intended to limit the present invention to the specific forms disclosed, on the contrary, the present invention will cover all modifications, equivalent forms and alternative forms within the scope of the present invention defined by the claims. In the terms used throughout this application, the word "may" means the meaning of permission (i.e., it means that it is possible), rather than the mandatory meaning (i.e., it must). Similarly, the word "include, including, include" means including but not limited to. In addition, unless otherwise specified, the word "a, an" means "at least one", and the word "plurality" means one or more. In the case of using abbreviations or technical terms, they represent the commonly recognized meanings in the technical field.

[0028] Hereinafter, the present invention is described with reference to the accompanying drawings by various embodiments, wherein the reference numerals used in the accompanying drawings correspond to similar elements throughout the specification. However, the present invention can be implemented in many different forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, the embodiments provided make this disclosure sufficient and complete, and will fully convey the scope of the present invention to those skilled in the art. In the following detailed description, numerical values ​​and ranges are provided for various aspects of the described embodiments. These numerical values ​​and ranges should only be considered as examples, and are not intended to limit the scope of the claims. In addition, many materials are identified as being suitable for various aspects of implementation. These materials will be considered exemplary, and are not intended to limit the scope of the present invention.

[0029] The following will refer to the attached Figure 1-8 The present invention is described in more detail.

[0030] Reference Figure 1 The present invention relates to a clock system (100) for an intellectual property (IP) module (10), comprising: a phase-locked loop (PLL) block (3) for generating a clock output; a clock phase alignment clock (5) connected to a host interface to support splicing of peripheral intellectual property clock domains; a configurable reference clock, comprising a configurable reference clock tree (2) and a configurable reference clock source (31) for grouping the PLLs (3) of each intellectual property module (10) into a single synchronous clock; a submodule clock component (32) for running at a different operating frequency than the reference clock; a global clock, comprising a clock pair of 0° and 90° phase-shifted clocks for receiving the clock output, and a clock pair of 180° and 270° phase-shifted clocks for duty cycle correction and inter-cycle correction; a configurable phase compensation FIFO (7) including host interface backpressure and no-backpressure handling components; wherein submodule clock components (32) are multiplexed into different clock domains (4) to clock synchronize data paths and address or command paths respectively; wherein the phase compensation FIFO (7) is clock synchronized by the multiplexed clock domain (4) at one end and by the clock phase alignment clock (5) at the other end; wherein the clock system supports splicing modular peripheral IP modules (10) to form a wide external memory interface, even when the IP modules (10) have a span distance on the silicon chip.

[0031] According to an embodiment of the present invention, the configurable reference clock source (31) of the PLL block (3) receives input from the reference clock input pin (1) of the local IP module (10) or the adjacent IP module (10). The PLL (3) can be configured to receive different inputs while allowing the reference clock input pin (1) to always be located in the center relative to the entire width of the memory interface as much as possible. In addition, the reference clock input pin (1) can also be configured to obtain the source point from the I / O pair of byte channel 1 or byte channel 2 to provide flexible pin mapping when building a memory interface. This is because some command interfaces only occupy two byte channels, so the command interface can be flexibly mapped to byte channels 0 and 1 or channels 2 and 3 of the command channel, so that the entire command pin can be moved without interrupting the reference clock tree source (2). Figure 2 As shown, this configurability is implemented by a configurable reference clock tree module (2) to allow the creation of a balanced reference clock tree with variable length.

[0032] According to an embodiment of the present invention, the reference clock further comprises an analog multiplexer (21). The analog multiplexer (21) is suitable for use as a multiplexer stage in a balanced clock tree (2). From the reference clock source to any PLL (3) of any IP module (10), or even to the IP module (10) where the reference clock input I / O is located, the number of multiplexer stages and clock path insertion delays is always the same. Figure 3 As shown, in an extended reference clock tree covering from a single IP module (10) to multiple IP modules (10), the reference clock can receive input from any of the non-central IP modules shown in several examples. The balanced configurable reference clock tree helps ensure that all local PLLs (3) in each IP module (10) are aligned relative to each other.

[0033] According to an embodiment of the present invention, preferably, the PLL (3) includes but is not limited to three submodule clock components (32) as output counters to generate outputs, namely counter 0 (C0), counter 1 (C1) and counter 2 (C2). Preferably, each counter (32) outputs preferably (but not limited to) four separate clock pairs, consisting of 0°, 90°, 180° and 270° phase shifted clocks. More counters can be implemented to make the clock more flexible. Figure 1The example shown includes two clock counters or submodule clock components (32) to allow each IP module (10) to have up to two operating frequencies. The two clock counters C0 and C1 are multiplexed into five different clock domains (4). Four of the clock domains (4) are connected to each byte channel of the memory IP host to clock the data path, and the fifth clock domain (4) is connected to the memory controller (6) to clock the address or command path. The insertion delay of all clock domains (4) will match all destinations to allow any clock domain (4) to communicate synchronously with other clock domains (4).

[0034] According to an embodiment of the present invention, the 0° and 90° phase-shifted clocks are a half-rate clock distribution pair relative to each byte channel. The 0° and 90° phase-shifted clocks are connected to a combiner in the I / O interface (11) to generate a higher quadruple transfer rate, thereby achieving a higher operating frequency. In addition, the PLL (3) also provides 180° and 270° phase-shifted clocks, which are beneficial to clock duty cycle correction and cycle-to-cycle correction at the combiner. The 180° and 270° phase-shifted clocks can be routed to their destinations through a shared multiplexed clock tree.

[0035] According to an embodiment of the present invention, the clock domain (4) also performs clock synchronization on the corresponding phase compensation FIFO (7). Each phase compensation FIFO (7) is clock synchronized by the multiplexing clock domain (4) at one end or the integer divided version, and is clock synchronized by the clock phase alignment clock (5). The clock phase alignment clock (5) is used to align its clock phase to the multiplexing command clock domain (4).

[0036] According to an embodiment of the present invention, on the other hand, the phase compensation FIFO (7) is used to act like a sponge to absorb the high clock uncertainty caused by a potentially large clock tree or the high insertion delay caused by a wide host interface. This is achieved by configuring the phase compensation FIFO (7) to have a larger spacing between the FIFO load pointer (72) and the unload pointer (73). Figure 4 As shown, the phase compensation FIFO (7) is also equipped with logic circuits to handle the back pressure of the host interface. Figure 4The implementation example in uses FIFO storage of the phase compensation FIFO (7) to temporarily store the backpressure AXI4 interface instead of creating a separate FIFO for it. This helps to reduce the amount of logic circuitry and latency required to handle phase compensation and backpressure on the host interface. The backpressure enabled phase compensation FIFO (7) also supports an asynchronous transfer interface to allow asynchronous transfers through the FIFO. The backpressure enabled phase compensation FIFO (7) can be easily mapped to any host interface protocol with backpressure support, such as the Advanced eXtensible Interface (AXI). The phase compensation FIFO (7) also supports a non-backpressure mode, which can be used for protocols without backpressure enablement, such as the DDR PHY interface (DFI), which allows bypassing the memory controller to support only the memory physical layer (PHY).

[0037] Reference Figure 5 The phase compensation FIFO (7) also includes a central pointer generation block (8) for pointer generation. The central pointer generation block (8) also includes a global pointer (71), a load pointer (72) and an unload pointer (73) for obtaining source points from a local intellectual property module (10) or an adjacent intellectual property module (10) to ensure that all phase compensation FIFOs (7) operate in a deterministic and synchronous manner. The generated pointer can also be sent to an adjacent IP module (10) to synchronize with the pointer of the parent IP module (10), thereby ensuring deterministic behavior between all IP modules (10) to form a similarly wide memory interface.

[0038] Reference Figure 6 , the clock system connects multiple IP modules (10) to form an IP queue. The IP modules (10) in the queue are connected through a shared clock domain (4) to operate as a single wide interface. Each type of modular IP queue is terminated with a left stub "STUB_L" (20) and a right stub "STUB_R" (30). The stubs are used to terminate any dangling inputs of the IP module (10) located at the edge, so that the edge IP module (10) still appears to be adjacent to another identical IP module (10). As long as the modular IP queues are terminated by their corresponding stubs, different modular IP queues using the clock system (100) can be deployed on a single chip, even on the same peripheral edge.

[0039] Reference Figure 7The present invention also relates to a method (200) for clock synchronization of an external memory interface, characterized in that the method (200) comprises the following steps: generating a clock output from a PLL block (3) via a submodule clock component (32); multiplexing the clock output to different clock domains (4) via a global clock; synchronizing data and address or command paths by clocks in each clock domain (4); synchronizing a phase compensation FIFO (7) by clock domains (4) and a clock phase alignment clock (5); generating a pointer for the phase compensation FIFO (7) by a central pointer generation block (8); and synchronizing pointers of adjacent IP modules (10) with a parent IP module (10).

[0040] Hereinafter, examples of the present invention will be provided for more detailed description. It will be understood that the examples described below are not intended to limit the scope of the present invention.

[0041] Examples

[0042] The IP module (10) shared between the two memory interfaces will have different operating frequencies. The local PLL (3) will be configured to output two different operating frequencies from the C0 and C1 outputs respectively. Thus, the multiplexers for the address or command path and the data path will be configured to allow each address or command and data path to operate at the required operating frequency. If the address or command of the memory interface is mapped to the local IP module (10) and the data path is shared with the adjacent IP module (10), where the address or command of the interface is located will have a pointer derived from the adjacent IP module (10), then the control of the phase compensation FIFO (7) will be configured to obtain the source point from the local center pointer generation block (8).

[0043] The clock system (100) of the present invention allows different IP modules (10) in the same queue to operate as a single wide interface using a shared clock domain (4). For example, an IP module (10) has 54 I / Os and is organized into byte channels of 14 I / Os or 13 I / Os, each channel including enough I / Os to build a narrow 16-bit 2-level DDR5 interface, i.e., the I / Os required for the address or command and data paths, and more similar IP modules (10) are needed to build an 80-bit 2-level DDR5 interface. In this case, if Figure 8 As shown, three adjacent IP modules (10) need to be spliced ​​together to form a wider 80-bit 2-level DDR5 interface. The same queue of three IP modules (10) can also be suitable for two 32-bit 2-level DDR5 interfaces, but some IP modules (10) need to share clock sources and configuration resources between adjacent IP modules (10).

[0044] The exemplary embodiments described above are shown with certain features, but the scope of the present invention may also include various other features.

[0045] Various modifications to these embodiments will be apparent to those skilled in the art through the description and drawings. The principles associated with the various embodiments described herein may be applied to other embodiments. Therefore, the description of the invention is not limited to the embodiments described in the drawings. Figure 1 The present invention is not limited to the embodiments shown, but provides the broadest scope consistent with the principles and novel and creative features disclosed or inspired herein. Therefore, all alternatives, modifications and changes made according to the present invention fall within the scope of the present invention and the appended claims.

[0046] It should be appreciated that reference to any prior art publication herein is not an admission that the publication forms part of the common general knowledge in the art.

Claims

1. A clock system (100) of an intellectual property module (10), comprising: A phase-locked loop block (3) for generating a clock output; A clock phase alignment clock (5) connected to the host interface to support splicing of peripheral intellectual property clock domains; Features A configurable reference clock comprising a configurable reference clock tree (2) and a configurable reference clock source (31) for grouping the phase-locked loop blocks (3) of each intellectual property module (10) into a single synchronous clock; A submodule clock component (32), connected to the phase-locked loop block (3), for running at a different operating frequency than the reference clock; Global clock, which includes: 0° phase-shifted clock for receiving clock output; 90° phase-shifted clock for receiving clock output; 180° phase-shifted clock for duty cycle correction and cycle-to-cycle correction; and 270° phase-shifted clock for duty cycle correction and cycle-to-cycle correction; Configurable phase-compensated first-in-first-out (FIFO) (7) including host interface backpressure and no-backpressure handling components; wherein the submodule clock components (32) are multiplexed into different clock domains (4) to clock synchronize the data path and the address or command path respectively; wherein the phase compensation FIFO (7) is clock-synchronized by the clock domain (4) at one end and by the clock phase alignment clock (5) at the other end; The clock system (100) supports splicing modular peripheral intellectual property modules to form a wide external memory interface.

2. The clock system (100) according to claim 1, characterized in that The configurable reference clock source (31) receives input from a local intellectual property module (10) or a neighboring intellectual property module (10).

3. The clock system (100) according to claim 1, characterized in that: The configurable reference clock also includes an analog multiplexer (21).

4. The clock system (100) according to claim 1, characterized in that: The 0°, 90°, 180° and 270° phase-shifted clocks are distributed pairs of half-rate clocks relative to each byte lane.

5. The clock system (100) according to claim 1, characterized in that: The phase compensation FIFO (7) also includes a central pointer generation block (8) for generating a pointer.

6. The clock system (100) according to claim 5, characterized in that: The central pointer generation block (8) further comprises a global pointer (71), a loading pointer (72) and an unloading pointer (73), which are used to obtain source points from a local intellectual property module (10) or an adjacent intellectual property module (10).

7. The clock system (100) according to claim 1, characterized in that: The 0°, 90°, 180° and 270° phase shifted clocks are connected to a combiner in each I / O interface (11).

8. The clock system (100) according to claim 1, characterized in that: Each clock domain (4) performs clock synchronization on the corresponding phase compensation FIFO (7).

9. The clock system (100) according to claim 1, characterized in that: Each of the clock domains (4) has a matched insertion delay to communicate synchronously with the other clock domains (4).

10. The clock system (100) according to claim 9, characterized in that: The clock domain (4) is connected to each byte channel of the memory intellectual property host to synchronize the data path with the clock; and is connected to the memory controller (6) to synchronize the address or command path with the clock.

11. A method (200) for clock synchronization of an external memory interface, characterized in that: The method (200) comprises: Producing a clock output from the phase-locked loop block (3) via a submodule clock component (32); Multiplexing clock outputs to different clock domains via a global clock (4); The data and address or command paths are synchronized by a clock in each clock domain (4); A clock synchronization phase compensation FIFO (7) is provided by a clock domain (4) and a clock phase alignment clock (5); generating a pointer for the phase compensation FIFO (7) by a central pointer generation block (8); and The pointers of the adjacent intellectual property module (10) are synchronized with the parent intellectual property module (10).

12. The method (200) according to claim 11, characterized in that: The step of synchronizing the data and address or command path by the clock of each clock domain (4) also includes: increasing the transmission rate by a combiner in the I / O interface (11) to achieve a high operating frequency.

13. The method (200) according to claim 11, characterized in that: The step of synchronizing data and address or command paths by clocking each clock domain (4) also includes correcting duty cycle, cycle-to-cycle distortion, or both.

Citation Information

Patent Citations

  • Circuit for and method of providing a programmable connector of an integrated circuit device

    US10528513B1

  • Modular memory controller clocking architecture

    US7388795B1

  • Inter-clock domain data transfer FIFO circuit

    US8352774B2

  • Clock-forwarding low-power signaling system

    CN102257569A

  • Input / output bank architecture for an integrated circuit

    CN103039006A