Processing chip, design method, and electronic device

By introducing a first clock conversion circuit and a second clock conversion circuit into the asynchronous clock interface circuit, and utilizing the first trigger circuit to output signals simultaneously, the problem of control signal interaction delay in asynchronous clock integrated circuits is solved, thereby improving chip performance.

WO2024245162A1PCT designated stage expired Publication Date: 2024-12-05HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/095332
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-30
Filing Date
2024-05-24
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

In asynchronous clock integrated circuits, the control signal interaction of the asynchronous clock interface circuit has a large time delay, which affects the chip performance.

Method used

An asynchronous clock interface circuit is adopted, including a first clock conversion circuit, a second clock conversion circuit, and a first trigger circuit. By simultaneously outputting signals to the two clock conversion circuits, the interaction delay of control signals is reduced.

Benefits of technology

This reduces the control signal interaction delay between different clock domain sub-circuits in asynchronous clock integrated circuits, thereby improving the performance of the processing chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024095332_05122024_PF_FP_ABST
    Figure CN2024095332_05122024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a processing chip, a design method, and an electronic device. The processing chip comprises a first sub-circuit (10), an asynchronous clock interface circuit (20C), and a second sub-circuit (30). The asynchronous clock interface circuit (20C) comprises a first beat conversion circuit (21C), a first trigger circuit (23C), and a second beat conversion circuit (22C). A first signal end (X1) of the first sub-circuit (10) is coupled to a trigger input end (D1) of the first trigger circuit (23C). A trigger output end (Q1) of the first trigger circuit (23C) is separately coupled to an input end of the first beat conversion circuit (21C) and an input end of the second beat conversion circuit (22C). An output end of the first beat conversion circuit (21C) is coupled to a third signal end (X3) of the first sub-circuit (10). An output end of the second beat conversion circuit (22C) is coupled to a second signal end (X2) of the second sub-circuit (30). According to the embodiments of the present application, the interaction delay of the processing chip based on an asynchronous clock integrated circuit during asynchronous interaction of control signals is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Processing chip, design method and electronic device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 30, 2023, with application number 202310626996.6 and application name “A processing chip, design method and electronic device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of chip design technology, and in particular to a processing chip, a design method and an electronic device. Background Art

[0003] In chip integrated circuit design, a globally synchronized clock signal is often used. With the development of integrated circuits, the scale of integrated circuits has also gradually increased. However, globally clocked integrated circuits using globally synchronized clock signals suffer from high power consumption and complex communication interactions, which limit the expansion of circuit scale. To meet the research and development of even larger integrated circuits, asynchronous clock signals are gradually being adopted in very large-scale integrated circuits (VLSIs). In this case, two sub-circuits in a VLSI are based on different clock signals. However, how to asynchronously communicate control signals between these two asynchronous sub-circuits is a challenge.

[0004] A method for interaction between asynchronous clock integrated circuits includes providing an asynchronous clock interface circuit between a first and a second asynchronous subcircuit. The asynchronous clock interface includes a transmitting beat conversion circuit and a receiving beat conversion circuit. The first subcircuit implements control signal interaction between the transmitting beat conversion circuit and the receiving beat conversion circuit based on a handshake mechanism. Specifically, the first subcircuit transmits a first request handshake signal to the receiving beat conversion circuit. The receiving beat conversion circuit clocks the first request handshake signal in the same clock domain as the first subcircuit, converting the first request handshake signal into a second request handshake signal in the same clock domain as the second subcircuit, and then transmitting the signal to the second subcircuit. The second subcircuit transmits a first feedback handshake signal to the transmitting beat conversion circuit based on the second request handshake signal. The transmitting beat conversion circuit clocks the first feedback handshake signal in the same clock domain as the second subcircuit, converting the first feedback handshake signal into a second feedback handshake signal in the same clock domain as the first subcircuit, and then transmitting the signal to the first subcircuit, thereby completing the control signal interaction between the first and second subcircuits. However, in this implementation, each handshake interaction of the control signal needs to be beaten by the sending beat conversion circuit and the receiving beat conversion circuit respectively, and the beating operations of the sending beat conversion circuit and the receiving beat conversion circuit will bring a certain delay, thereby affecting the performance of the chip based on the asynchronous clock integrated circuit.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a processing chip, a design method, and an electronic device, which reduce the delay of asynchronous interaction of control signals in a processing chip based on an asynchronous clock integrated circuit, and improve the performance of the processing chip.

[0007] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0008] In a first aspect, a processing chip is provided, comprising a first subcircuit, an asynchronous clock interface circuit, and a second subcircuit. The asynchronous clock interface circuit comprises a first beat conversion circuit, a first trigger circuit, and a second beat conversion circuit. A first signal terminal of the first subcircuit is coupled to a trigger input terminal of the first trigger circuit. A trigger output terminal of the first trigger circuit is coupled to an input terminal of the first beat conversion circuit and an input terminal of the second beat conversion circuit, respectively. An output terminal of the first beat conversion circuit is coupled to a third signal terminal of the first subcircuit. An output terminal of the second beat conversion circuit is coupled to a second signal terminal of the second subcircuit. A first clock output terminal of the first subcircuit is coupled to a first clock terminal of the first beat conversion circuit. A second clock output terminal of the second subcircuit is coupled to a second clock terminal of the second beat conversion circuit.

[0009] In an embodiment of the present application, the first subcircuit and the second subcircuit are two subcircuits based on different clock signals. When control signals are exchanged between the two subcircuits, it is necessary to beat the control signals entering different clock domains. When the first signal terminal of the first subcircuit sends a first request handshake signal to the trigger input terminal of the first trigger circuit, the first request handshake signal triggers the trigger output terminal of the first trigger circuit to output a second request handshake signal. The trigger output terminal of the first trigger circuit simultaneously outputs the second request handshake signal to a first beat conversion circuit coupled to the first subcircuit and a second beat conversion circuit coupled to the second subcircuit. Both beat conversion circuits simultaneously begin beating the second request handshake signal. The first beat conversion circuit beats the second request handshake signal to obtain a second feedback handshake signal, which is output to the third signal terminal of the first subcircuit. The second beat conversion circuit beats the second request handshake signal to obtain a second request handshake signal in the same clock domain as the second subcircuit and outputs it to the second signal terminal of the second subcircuit, thereby completing the exchange of control signals between the first and second subcircuits. The embodiment of the present application reduces the interaction delay of control signals between sub-circuits in two different clock domains in an asynchronous clock integrated circuit by simultaneously beating the first beat conversion circuit and the second beat conversion circuit.

[0010] In one possible implementation, the asynchronous clock interface circuit further includes a clock generation circuit. Multiple input terminals of the clock generation circuit are respectively coupled to the first signal terminal of the first sub-circuit, the trigger output terminal of the first trigger circuit, and the fourth signal terminal of the second sub-circuit. The output terminal of the clock generation circuit is coupled to the first enable terminal of the first trigger circuit. In an embodiment of the present application, a clock enable signal independent of the first sub-circuit and the second sub-circuit can be generated by the clock generation circuit. The operation of the first trigger circuit is driven and controlled by the clock enable signal. The clock generation circuit can generate the clock enable signal based on the control signal exchanged between the first sub-circuit and the second sub-circuit and the signal output by the first trigger circuit.

[0011] In one possible implementation, the asynchronous clock interface circuit further includes a data buffer. The first data output terminal of the first sub-circuit is coupled to the first data input terminal of the data buffer. The second data output terminal of the data buffer is coupled to the second data input terminal of the second sub-circuit. The output terminal of the clock generation circuit is also coupled to the second enable terminal of the data buffer and the first enable terminal of the first trigger circuit. In an embodiment of the present application, the first sub-circuit and the second sub-circuit can also achieve asynchronous interaction of data signals through the data buffer. At the same time, during this process, the clock enable signal output by the clock generation circuit can be used to control the input and / or output of the data buffer.

[0012] In one possible implementation, the asynchronous clock interface circuit further includes a first register and a second register. The first data output terminal of the first sub-circuit is coupled to the input terminal of the first register. The output terminal of the first register is coupled to the first data input terminal of the data buffer. The clock output terminal of the first sub-circuit is also coupled to the third clock terminal of the first register. The input terminal of the second register is coupled to the second data output terminal of the data buffer. The output terminal of the second register is coupled to the second data input terminal of the second sub-circuit. The clock output terminal of the second sub-circuit is also coupled to the fourth clock terminal of the second register. In an embodiment of the present application, the first register can be used to beat the transmitted data signal between the first sub-circuit and the data buffer. The second register can be used to beat the transmitted data signal between the data buffer and the second sub-circuit.

[0013] In one possible embodiment, the asynchronous clock interface circuit further includes a voltage holding circuit. The output end of the clock generation circuit is coupled to the second enable end of the data buffer via the voltage holding circuit. In an embodiment of the present application, when the data signal transmitted between the first sub-circuit and the second sub-circuit is a multi-bit data signal. In order to ensure that the clock enable signal can drive the data buffer to input the multi-bit data signal output by the first sub-circuit, and / or the data buffer can output the multi-bit data signal to the second sub-circuit, a voltage holding circuit can be provided to maintain the clock generation circuit's drive on the data buffer.

[0014] In one possible implementation, the asynchronous clock interface circuit further includes a pulse width delay circuit. The output of the clock generation circuit is coupled to the first enable terminal of the first trigger circuit via the pulse width delay circuit. In this embodiment of the present application, the pulse width delay circuit can be used to adjust the effective pulse width of the clock enable signal to accommodate the operation of the first trigger circuit.

[0015] In one possible embodiment, the pulse width delay circuit includes a delay circuit and a first AND gate. The output of the clock generation circuit is coupled to the first input of the first AND gate. The output of the clock generation circuit is further coupled to the second input of the first AND gate via the delay circuit. In an embodiment of the present application, the clock generation circuit outputs a clock enable signal. The clock enable signal can be delayed by the delay circuit to obtain a delayed clock enable signal. The delayed clock enable signal and the undelayed clock enable signal are then logically ANDed together via the first AND gate to obtain a clock enable signal with an adjusted effective pulse width. The clock enable signal with an adjusted effective pulse width is used to drive the first trigger circuit.

[0016] In one possible embodiment, the clock generation circuit includes an XOR gate, an XOR gate, and a second AND gate. The multiple inputs of the clock generation circuit include a first input of the XOR gate, a second input of the XOR gate, a first input of the XOR gate, and a second input of the XOR gate. The first input of the XOR gate is coupled to the first signal terminal of the first sub-circuit. The second input of the XOR gate is coupled to the trigger output of the first trigger circuit. The first input of the XOR gate is coupled to the fourth signal terminal of the second sub-circuit. The second input of the XOR gate is coupled to the trigger output of the first trigger circuit. The output of the XOR gate is coupled to the first input of the second AND gate. The output of the XOR gate is coupled to the second input of the second AND gate. The output of the second AND gate serves as the output of the clock generation circuit. In this embodiment of the present application, the trigger output of the first trigger circuit outputs a second request handshake signal. The first signal terminal of the first sub-circuit outputs the first request handshake signal. The second signal terminal of the second sub-circuit outputs a first feedback handshake signal. The XOR gate performs a logical XOR operation on the first request handshake signal output from the first signal terminal and the second request handshake signal output from the trigger output. An exclusive-OR operation is performed on the second request handshake signal output from the trigger output terminal and the first feedback handshake signal output from the fourth signal terminal of the second sub-circuit through an exclusive-OR gate. A logical AND operation is performed on the results of the exclusive-OR operation and the exclusive-OR operation through a second AND gate to obtain a clock enable signal.

[0017] In one possible implementation, the asynchronous clock interface circuit further includes a first level logic conversion circuit. The fourth signal terminal of the second sub-circuit is coupled to at least one of the multiple input terminals of the clock generation circuit via the first level logic conversion circuit. In an embodiment of the present application, when the triggering modes of the second sub-circuit and the clock generation circuit differ, the triggering mode can be converted by providing the first level logic conversion circuit. For example, conversion from level triggering to edge triggering, or vice versa.

[0018] In one possible embodiment, the asynchronous clock interface circuit further includes at least one of a second level logic conversion circuit, a third level logic conversion circuit, and a fourth level logic conversion circuit. The first signal terminal of the first sub-circuit is coupled to the trigger input terminal of the first trigger circuit via the second level logic conversion circuit. The output terminal of the first beat conversion circuit is coupled to the third signal terminal of the first sub-circuit via the third level logic conversion circuit. The output terminal of the second beat conversion circuit is coupled to the second signal terminal of the second sub-circuit via the fourth level logic conversion circuit. In an embodiment of the present application, when the triggering modes of the first sub-circuit and the first trigger circuit are different, the triggering mode can be converted by the second level logic conversion circuit. When the triggering modes of the first sub-circuit and the first beat conversion circuit are different, the triggering mode can be converted by the third level logic conversion circuit. When the triggering modes of the second sub-circuit and the second beat conversion circuit are different, the triggering mode can be converted by the fourth level logic conversion circuit.

[0019] In one possible implementation, the first sub-circuit and / or the second sub-circuit are any one of a storage circuit, a logic control circuit, a routing interface circuit, and a neural network processing circuit. In the embodiment of the present application, the processing chip may be a system-on-chip, a network-on-chip, etc. The first sub-circuit and / or the second sub-circuit in the processing chip may be sub-circuits in a very large-scale integrated circuit such as a system-on-chip or a network-on-chip, such as a storage circuit, a logic control circuit, a routing interface circuit, a neural network processing circuit, etc.

[0020] In a second aspect, an embodiment of the present application further provides a design method for designing a processing chip as described in the second aspect above. The design method includes: combining a first description file and a second description file to obtain a third description file. The first description file is used to describe the logical function of the first chip; the first chip includes multiple sub-circuits. The multiple sub-circuits are based on the same clock domain; or, some or all of the multiple sub-circuits are based on different clock domains. The second description file is used to describe the logical function of the asynchronous clock interface circuit. The third description file is used to describe the logical function of the processing chip. Timing constraints are applied to the third description file. The logical circuit structure of the processing chip is obtained based on the third description file after timing constraints.

[0021] In an embodiment of the present application, in an EDA design for chip manufacturing, the first description file is a description file based on an existing integrated circuit. The first chip can be based on a synchronous integrated circuit or an asynchronous clock integrated circuit. Then, the first description file for the first chip can be a description file related to multiple sub-circuits in a synchronous integrated circuit or a description file related to multiple sub-circuits in an asynchronous clock integrated circuit. A second description file can be generated based on the logical function of the asynchronous clock interface circuit. Based on the combination of the first description file and the second description file, a description file related to the logical function of the processing chip, i.e., a third description file, is obtained. After timing constraints are applied to the third description file to ensure that the logical function of the third description file operates reasonably, the logic circuit structure of the processing chip is designed based on the third description file with timing constraints to obtain a design layout. Subsequently, the processing chip can be manufactured according to the design layout. By improving the third description file based on the first description file of the first chip and combining it with the second description file, the design process of the processing chip can be greatly shortened, and the design difficulty of the processing chip can be reduced.

[0022] In some possible implementations, the design method further includes: before obtaining the logic circuit structure of the processing chip based on the third description file after the timing constraints, modifying the third description file after the timing constraints, and subjecting the modified third description file to design constraints. In an embodiment of the present application, the third description file can be adaptively modified according to different actual application scenarios. At the same time, during the timing constraint process, the content that does not meet the relevant timing constraints can also be modified. The modified file is then subjected to design constraints. The embodiments of the present application can increase the reliability and applicability of the processing chip.

[0023] In a third aspect, an embodiment of the present application further provides an electronic device, the electronic device comprising a circuit board and a processing chip as described in the first aspect above. The processing chip is disposed on the circuit board.

[0024] Regarding the technical principles and beneficial effects of the second and third aspects, please refer to the relevant description of the first aspect mentioned above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] FIG1 is a schematic diagram of a design flow of a synchronous integrated circuit based on an EDA design tool provided in an embodiment of the present application;

[0026] FIG2 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0027] FIG3 is a schematic diagram of the structure of a processing chip provided in an embodiment of the present application;

[0028] FIG4 is a schematic structural diagram of a first asynchronous clock interface circuit provided in an embodiment of the present application;

[0029] FIG5 is a schematic structural diagram of a second asynchronous clock interface circuit provided in an embodiment of the present application;

[0030] FIG6 is a first structural diagram of a third asynchronous clock interface circuit provided in an embodiment of the present application;

[0031] FIG7 is a second structural diagram of another third asynchronous clock interface circuit provided in an embodiment of the present application;

[0032] FIG8 is a third structural diagram of a third asynchronous clock interface circuit provided in an embodiment of the present application;

[0033] FIG9 is a fourth structural diagram of a third asynchronous clock interface circuit provided in an embodiment of the present application;

[0034] FIG10 is a fifth structural diagram of a third asynchronous clock interface circuit provided in an embodiment of the present application;

[0035] FIG11 is a sixth structural diagram of a third asynchronous clock interface circuit provided in an embodiment of the present application;

[0036] FIG12 is a seventh structural diagram of a third asynchronous clock interface circuit provided in an embodiment of the present application;

[0037] FIG13 is a schematic structural diagram of a level logic conversion circuit for converting edge triggering to level triggering provided by an embodiment of the present application;

[0038] FIG14 is a schematic structural diagram of a level logic conversion circuit for converting level triggering to edge triggering provided by an embodiment of the present application;

[0039] FIG15 is a structural diagram eight of yet another third asynchronous clock interface circuit provided in an embodiment of the present application;

[0040] FIG16 is a schematic diagram of the structure of a processing chip of a system-on-chip architecture provided in an embodiment of the present application;

[0041] FIG17 is a schematic diagram of the structure of a processing chip for network-on-chip processing provided in an embodiment of the present application;

[0042] FIG18 is a flow chart of a method for designing an asynchronous clock integrated circuit according to an embodiment of the present application;

[0043] FIG19 is a schematic diagram of a clock signal input of a synchronous integrated circuit described in a first description file provided in an embodiment of the present application;

[0044] FIG20 is a flow chart of a method for designing a very large-scale asynchronous clock integrated circuit based on the scenario shown in FIG19 according to an embodiment of the present application;

[0045] FIG21 is a schematic diagram of timing constraints of various circuit signals in the design of an asynchronous clock integrated circuit provided by an embodiment of the present application;

[0046] FIG22 is a schematic diagram of clock signal input of an asynchronous clock integrated circuit described in a first description file provided in an embodiment of the present application;

[0047] FIG23 is a flow chart of a method for designing a very large-scale asynchronous clock integrated circuit based on the scenario shown in FIG22 according to an embodiment of the present application;

[0048] FIG24 is a signal diagram of a timing constraint check provided by an embodiment of the present application;

[0049] FIG25 is a schematic diagram of a checking module for timing constraint checking provided in an embodiment of the present application;

[0050] Figure 26 is a schematic diagram of a maximum delay check module provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] It should be noted that the terms "first", "second", etc. involved in the embodiments of the present application are only used to distinguish features of the same type and cannot be understood as indicating relative importance, quantity, order, etc.

[0052] The terms "exemplary" or "for example" in the embodiments of this application are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0053] The terms "coupling" and "connection" involved in the embodiments of this application should be understood in a broad sense. For example, they may refer to a physical direct connection, or an indirect connection achieved through electronic devices, such as a connection achieved through resistors, inductors, capacitors or other electronic devices.

[0054] First, some basic concepts involved in the embodiments of this application are explained:

[0055] Electronic design automation (EDA) refers to the use of computer-aided design (CAD) software to complete the functional design, synthesis, verification, and physical design (including layout, routing, layout, and design rule checking) of very large scale integrated circuit (VLSI) chips.

[0056] Intellectual property (IP) cores play a crucial role in EDA. They can be understood as pre-designed circuit functional modules within integrated circuits. Specifically, IP cores can be categorized as soft IP cores, fixed IP cores, and hard IP cores. Soft IP cores are software functional blocks described in hardware description languages, but do not specify the specific circuit components used to implement these functions. This can hinder subsequent process steps from adapting to the overall design, necessitating certain soft IP revisions. Hard IP cores provide the final design artifact—the mask. The mask is represented by a fully placed and routed netlist. Fixed IP cores are a combination of soft and hard IP cores. Soft IP cores are typically provided in an encrypted format, which hides the actual register transfer level (RTL) description from the user, but allows for flexible placement and routing. If these encrypted soft IP cores are parameterized, users can easily adjust the parameters through header files or a graphical user interface (GUI). For cores with strict timing requirements, specific signals can be pre-routed or specific routing resources can be allocated to meet timing requirements. These cores can be classified as fixed IP cores. Since the core is a pre-designed code module, this may affect the entire design containing the core.

[0057] A very large scale integration circuit (VLSI) is an integrated circuit that combines a large number of transistors into a single chip, achieving a higher level of integration than an LSI. VLSI design is typically performed using electronic design automation (EDA). The number of integrated transistors varies across different standards. With the advancement of complex semiconductor and communications technologies, research and development in integrated circuits has also expanded. The rapid increase in chip integration has enabled the integration of more IP cores on a single chip, forming a system on a chip (SoC). An SoC may integrate homogeneous or heterogeneous IP cores, including digital signal processors (DSPs), microcontrollers (MCUs), memory, analog-to-digital converters (ADCs), digital-to-analog converters (DACs), universal asynchronous receiver / transmitters (UARTs), and software and hardware modules that implement specialized, customized functions. Therefore, data communication and exchange between different IP cores within a chip has become a key technology in SoC design. Existing communication architectures primarily include point-to-point communication, bus-based communication, crossbar-based communication, and network-based communication. However, as the integration density of integrated circuits increases, the number of IP cores within them also increases. These communication approaches present challenges such as design layout difficulties, communication interaction conflicts, increased power consumption, poor scalability, reduced communication reliability, and decreased throughput. To address these challenges in SoCs, the industry has proposed a network-on-chip (NoC) design architecture.

[0058] Metastability occurs when a flip-flop fails to reach a verifiable state (e.g., a 0 or 1 level) within a specified timeframe. When a flip-flop enters a metastable state, it's impossible to predict the output level of the circuit unit, nor when the output will stabilize at the correct level. During this stabilization period, the flip-flop outputs intermediate levels or may even oscillate. This undesirable output level can propagate in a cascade along the various flip-flops in the signal path.

[0059] Globally synchronized clocking means that all circuits in an integrated circuit (IC) are designed to operate based on the same clock signal. This type of IC, based on a globally synchronized clock, is also called a synchronous clock IC. Synchronous clock ICs are based on two fundamental assumptions: that signals within a synchronous clock IC are binary; and that all components within the IC share a common discrete timing sequence defined by a globally synchronized clock signal distributed throughout the IC. In a synchronous clock IC, data processing is performed by combinational logic. Combinational logic lacks memory, and data signals are linear variables. In this case, changes in the input state of a synchronous clock IC are immediately reflected in the output signal, regardless of the previous state. Data storage is handled by sequential logic, which has a memory function. The output at any given moment is determined by both the current input and the previous state of the synchronous clock IC. A globally synchronized clock signal regulates the timing of the synchronous clock IC, ensuring its proper operation. Since all input signals in a synchronous clock IC contain only two logical states, 0 and 1, a globally synchronized clock signal is used for control. This control method, as long as it meets the "establishing a certain hold time" requirement, can effectively avoid metastability in synchronous clock integrated circuits and filter out glitches caused by combinational logic contention and hazard, thereby concealing the complex intermediate states within the integrated circuit. This method greatly simplifies the design and verification of synchronous circuits. Consequently, over a long period of development, a comprehensive top-down design process and supporting EDA design tools have been established for synchronous clock integrated circuit design based on a global synchronous clock signal, enabling designers to simply and efficiently design the required VLSI chips. In the past, the vast majority of integrated circuit designs used a global synchronous clock signal to design synchronous clock integrated circuits. This synchronous clock integrated circuit design method has long been the mainstream in the industry. Figure 1 shows a schematic diagram of the synchronous clock integrated circuit design process using EDA design tools. The specific process includes the following steps: S1. Input a synchronization description file. The synchronization description file is an RTL description file that describes the logical functions of the synchronous clock integrated circuit. S2. Modify and adjust the synchronization description file after timing constraints are applied. S3. Apply design constraints to the modified and adjusted synchronization description file. S4. Synthesize the design-constrained synchronization description file to obtain a synthesized structure of the corresponding logic gate circuit. S5. Map the synthesized structure of the logic gate circuit to a netlist. S6. Perform back-end design (physical design) layout based on the mapped netlist.S7. Perform static timing analysis (STA) on the circuit structure after back-end design. S8. Obtain the final design layout of the synchronous clock integrated circuit after completing the static timing analysis.

[0060] As the functional integration and number of devices in integrated circuits increase, the use of globally synchronized clock signals in very large-scale integrated circuits (VLSIs) has led to a growing number of problems. For example, when using globally synchronized clock signals, the clock period is determined by the critical path with the longest delay, and the chip's performance is the worst-case scenario within the constraints of process, temperature, and voltage. Secondly, the use of globally synchronized clock signals in VLSIs places increasing demands on the design complexity of clock circuits. As chip integration continues to increase, the design of clock circuits without clock skew is becoming increasingly difficult. Factors such as thermal noise, power supply noise, and crosstalk within the chip can also cause clock jitter, affecting the accuracy of sequential logic. Thirdly, globally synchronized clock signals control all sequential components in a chip. Even if the transmitted data signal remains unchanged, clock signal toggles can generate unnecessary power consumption. Furthermore, as integration increases and chip area increases, long traces in the clock distribution circuitry create additional power consumption, particularly leakage current. Therefore, in synchronous clock IC designs, this clock signal power consumption can account for a significant portion of the chip's total power consumption. For example, in a synchronous NoC (Network of Control) (NoC) using a globally synchronized clock signal, each IP core may have different operating frequencies, electrical characteristics, and timing constraints, as the NoC contains homogeneous or heterogeneous IP cores. If a globally synchronized clock signal is used, during the design of a synchronous clock integrated circuit, the addition of a new IP core requires adjustments to the globally synchronized clock network, or even a complete redesign. This increases the chip design cycle and complexity. To address this issue, some researchers have proposed designing asynchronous clock integrated circuits using asynchronous clock signals. In asynchronous clock integrated circuits, a handshaking mechanism can be used to replace the globally synchronized clock signal. Under the control of the handshake signal, data streams are transmitted between two subcircuits using different clock signals in a pipelined manner. The handshake signal consists of a request signal and a feedback signal. Specifically, the handshake mechanism works as follows: the first subcircuit on the transmitting end sends a request signal and data; the second subcircuit on the receiving end, upon receiving the data, feeds back an acknowledgment signal to the transmitting end, initiating the next data cycle. Asynchronous clock integrated circuits are data-driven and can begin the next data processing cycle after the current data cycle ends, eliminating the need to wait for a fixed clock cycle as in synchronous integrated circuits. Due to the removal of the global clock, asynchronous circuits have the following advantages over synchronous circuits: (1) global timing is eliminated, the circuit is easy to modularize, and has greater design flexibility; (2) the global clock is removed, avoiding problems such as clock skew; (3) it has low power consumption characteristics; (4) it has potential high performance characteristics; (5) it is not sensitive to signal delay and has stronger process adaptability; (6) it has better electromagnetic compatibility.

[0061] While asynchronous clock integrated circuits (ICs) offer many advantages, they also present some challenges compared to synchronous clock ICs. Asynchronous clock ICs lack a globally synchronized clock and, therefore, lack the shielding effect of synchronous pulses, making them unable to filter out glitches caused by combinational logic contention and hazard generation. Furthermore, the exponential growth of complex intermediate states (i.e., metastable states) that can occur in synchronous clock ICs poses a significant threat to the circuit and requires as much identification and elimination as possible to ensure proper circuit functionality. Therefore, when designing VLSI circuits using asynchronous integration, the design verification process faces even more severe state failures than with synchronous clock ICs. For complex systems, these design verification failures are difficult to resolve completely manually. The following design approaches are commonly used in the industry for asynchronous clock ICs: Design Approach 1: Synthesize asynchronous bundled data (BD) controller circuits based on signal transition graphs (STGs). However, drawing a complete STG is extremely difficult at large integration scales. Design method 2 relies on physical design tools to optimize and analyze the layout and routing of asynchronous clock ICs, thereby designing asynchronous clock ICs. However, this method requires manual design and adjustment of circuit layout and routing, making it difficult to apply to the design of very large-scale integrated circuits. Design method 3 relies on open-source EDA design tools for asynchronous clock ICs. Syntax-guided asynchronous clock ICs can be described and synthesized using EDA design tools. However, over the years of integrated circuit development, the industry has focused on the research and design of synchronous clock ICs, and open-source EDA design tools have all been developed for synchronous circuit systems. The development of asynchronous clock ICs has stagnated for many years, and the design methodologies, processes, and comprehensive EDA design tools available for synchronous clock ICs are not yet fully developed. The imperfect design process, lack of design tools, and complex verification work all contribute to the difficulty of asynchronous clock IC design.

[0062] An embodiment of the present application provides an electronic device. As shown in FIG2 , the electronic device 1000 includes a circuit board and a processing chip 100. The processing chip 100 is disposed on the circuit board. The processing chip 100 includes multiple sub-circuits. The multiple sub-circuits include a first sub-circuit and a second sub-circuit, wherein the first sub-circuit and the second sub-circuit are sub-circuits based on different clock signals. As shown in FIG3 , the processing chip 100 also includes an asynchronous clock interface circuit 20. The first sub-circuit 10 and the second sub-circuit 30 are coupled respectively via the asynchronous clock interface circuit 20 to achieve asynchronous interaction of data signals and / or asynchronous interaction of control signals.

[0063] In some possible implementations, the asynchronous clock interface circuit 20 in the embodiment shown in FIG3 is a first asynchronous clock interface circuit based on an asynchronous first-in, first-out (FIFO) memory. Asynchronous exchange of data signals is achieved through the first asynchronous clock interface circuit. As shown in FIG4 , the first asynchronous clock interface circuit 20A includes a write controller 21A, a data transmission memory 22A, a read controller 23A, a first Gray code conversion circuit 24A, a second Gray code conversion circuit 25A, a first synchronization circuit 26A, a second synchronization circuit 27A, a full state circuit 28A, and an empty state circuit 29A. The data transmission memory 22A is a FIFO memory. The first data output terminal data1 of the first sub-circuit 10 is coupled to the data input terminal wdata of the data transmission memory 22A. The data output terminal rdata of the data transmission memory 22A is coupled to the second data input terminal data4 of the second sub-circuit 30. The first signal terminal X1 of the first sub-circuit 10 is coupled to the first write enable terminal wen of the write controller 21A. The second write enable terminal ram_wen1 of the write controller 21A is coupled to the storage write enable terminal ram_wen2 of the data transmission memory 22A. The second signal terminal X2 of the second sub-circuit 30 is coupled to the first read enable terminal ren of the read controller 23A. The second read enable terminal ram_ren1 of the read controller 23A is coupled to the storage read enable terminal ram_ren2 of the data transmission memory 22A. The write pointer input terminal w_ptr of the write controller 21A is coupled to the input terminal of the first Gray code conversion circuit 24A and the first operation address terminal waddr of the data transmission memory 22A, respectively. The read pointer input terminal r_ptr of the read controller 23A is coupled to the input terminal of the second Gray code conversion circuit 25A and the second operation address terminal raddr of the data transmission memory 22A, respectively. The output terminal of the first Gray code conversion circuit 24A is coupled to the input terminal of the empty state circuit 29A via the first synchronization circuit 26A. The output terminal of the empty state circuit 29A is coupled to the empty state terminal empty of the read controller 23A. The output terminal of the second Gray code conversion circuit 25A is coupled to the input terminal of the full state circuit 28A via the second synchronization circuit 27A. The output terminal of the full state circuit 28A is coupled to the full state terminal "full" of the write controller 21A.

[0064] In the embodiment shown in FIG4 , the first clock output terminal clk1 of the first subcircuit 10 is coupled to the first read clock control terminal wclk1 of the write controller 21A and the second read clock control terminal wclk2 of the data transmission memory 22A. The clock output terminal of the second subcircuit 30 is coupled to the first write clock control terminal rclk1 of the read controller 23A and the second write clock control terminal rclk2 of the data transmission memory 22A. The first subcircuit 10 and the second subcircuit 30 are based on different clock signals. Binary code is converted into Gray code by a first Gray code conversion circuit 24A and a second Gray code conversion circuit 25A, and Gray code is used to synchronize pointers of an asynchronous FIFO buffer. In the embodiment of the present application, a data transmission memory 22A is required to be provided as a FIFO memory, and the data transmission memory 22A requires a larger chip size to store data. Furthermore, additional circuits, such as a write controller 21A, a read controller 23A, a first Gray code conversion circuit 24A, a second Gray code conversion circuit 25A, a first synchronization circuit 26A, a second synchronization circuit 27A, a full state circuit 28A, and an empty state circuit 29A, are required to form the read / write control circuit. This additional read / write control area is also very large. Furthermore, to address the cross-clock domain issue between the first sub-circuit 10 and the second sub-circuit 30, the first Gray code conversion circuit 24A, the second Gray code conversion circuit 25A, the first synchronization circuit 26A, and the second synchronization circuit 27A are used for pointer synchronization. However, pointer synchronization can limit the data transmission performance of the data transmission memory 22A, resulting in a loss of area and performance.

[0065] In some possible implementations, the asynchronous clock interface circuit 20 in the embodiment shown in FIG3 is a second asynchronous clock interface circuit. Asynchronous exchange of control signals is achieved through the second asynchronous clock interface circuit. As shown in FIG5 , the second asynchronous clock interface circuit 20B includes a transmit beat conversion circuit 21B and a receive beat conversion circuit 22B. The first signal terminal X1 of the first sub-circuit 10 is coupled to the input of the receive beat conversion circuit 22B. The output of the receive beat conversion circuit 22B is coupled to the second signal terminal X2 of the second sub-circuit 30. The fourth signal terminal X4 of the second sub-circuit 30 is coupled to the input of the transmit beat conversion circuit 21B. The output of the transmit beat conversion circuit 21B is coupled to the third signal terminal X3 of the first sub-circuit 10. The first clock output terminal clk1 of the first sub-circuit 10 is coupled to the enable terminal of the transmit beat conversion circuit 21B. The second clock output terminal clk2 of the second sub-circuit 30 is coupled to the enable terminal of the receive beat conversion circuit 22B.

[0066] In the embodiment of the present application as shown in FIG5 , the first subcircuit 10 is based on a first clock signal, and the second subcircuit 30 is based on a second clock signal. When the two subcircuits interact with control signals serving as handshake signals, in order to avoid metastable issues caused by direct interaction of control signals under different clock signals, a transmitting beat conversion circuit 21B and a receiving beat conversion circuit 22B are configured to perform beat operations under different clock signals when the control signals enter different clock domains. The first subcircuit 10 transmits a request handshake signal to the input of the receiving beat conversion circuit 22B via the first signal terminal X1. The request handshake signal is based on the first clock signal of the first subcircuit 10. The receiving beat conversion circuit 22B operates based on the second clock signal of the second subcircuit 30. Upon receiving the request handshake signal, the receiving beat conversion circuit 22B beats the request handshake signal N times based on the second clock signal of the second subcircuit 30, thereby obtaining a request handshake signal based on the second clock signal. The receiving beat conversion circuit 22B then transmits the request handshake signal based on the second clock signal to the second signal terminal X2 of the second subcircuit 30. After receiving a request handshake signal based on the second clock signal, the second sub-circuit 30 outputs a feedback handshake signal based on the second clock signal. The second sub-circuit 30 transmits the feedback handshake signal based on the second clock signal to the input terminal of the transmitting beat conversion circuit 21B via the fourth signal terminal X4. The transmitting beat conversion circuit 21B pulses the feedback handshake signal based on the second clock signal M times based on the first clock signal to obtain a feedback handshake signal based on the first clock signal. The feedback handshake signal based on the first distorted signal is then transmitted to the third signal terminal X3 of the first sub-circuit 10. The process from the first sub-circuit 10 outputting the request handshake signal to the first sub-circuit 10 receiving the feedback handshake signal constitutes a single handshake between the first sub-circuit 10 and the second sub-circuit 30. During this process, the pulse-pulling operations of the transmitting beat conversion circuit 21B and the receiving beat conversion circuit 22B introduce a delay. For example, if N and M are both 2, a single handshake operation will have a delay of four beats. Larger values ​​of N and M will also increase the delay of a single handshake operation. This will make the interactive performance under the asynchronous clock integrated circuit significantly lower than the interactive performance under the synchronous integrated circuit.

[0067] In some possible implementations, to reduce the delay of handshake operations in asynchronous clock integrated circuits, the asynchronous clock interface circuit 20 in the embodiment shown in FIG3 is a third asynchronous clock interface circuit. Asynchronous exchange of control signals is achieved through the third asynchronous clock interface circuit. As shown in FIG6 , the third asynchronous clock interface circuit 20C includes a transmitting interface, an asynchronous conversion interface, and a receiving interface. The transmitting interface includes a first beat conversion circuit 21C. The receiving interface includes a second beat conversion circuit 22C. The asynchronous conversion interface includes a first trigger circuit 23C. The first signal terminal X1 of the first sub-circuit 10 is coupled to the trigger input terminal D1 of the first trigger circuit 23C. The trigger output terminal Q1 of the first trigger circuit 23C is coupled to the input terminal of the first beat conversion circuit 21C and the input terminal of the second beat conversion circuit 22C, respectively. The output terminal of the first beat conversion circuit 21C is coupled to the third signal terminal X3 of the first sub-circuit 10. The output terminal of the second beat conversion circuit 22C is coupled to the second signal terminal X2 of the second sub-circuit 30. The first clock output terminal clk1 of the first sub-circuit 10 is coupled to the first clock terminal CK1 of the first beat conversion circuit 21C. The second clock output terminal clk2 of the second sub-circuit 30 is coupled to the second clock terminal CK2 of the second beat conversion circuit 22C.

[0068] In the embodiment of the present application as shown in FIG6 , the first signal terminal X1 of the first sub-circuit 10 outputs a first request handshake signal to the trigger input terminal D1 of the first trigger circuit 23C. After receiving the first request handshake signal, the first request handshake signal triggers the first trigger circuit 23C to transmit a second request handshake signal via the trigger output terminal Q1 to the input terminals of the first beat conversion circuit 21C and the second beat conversion circuit 22C. The second beat conversion circuit 22C taps the second request handshake signal for M beats to obtain a second request handshake signal based on the second clock signal, and transmits the second clock handshake signal to the second signal terminal X2 of the second sub-circuit 30. The first beat conversion circuit 21C taps the second request handshake signal for N beats to obtain a second feedback handshake signal based on the first clock signal, and transmits the second feedback handshake signal to the third signal terminal X3 of the first sub-circuit 10. In this embodiment of the present application, the first trigger circuit 23C simultaneously transmits the second request handshake signal to the first beat conversion circuit 21C and the second beat conversion circuit 22C for tapping. In the embodiment shown in FIG5 , the transmitting beat conversion circuit 21B and the receiving beat conversion circuit 22B perform beats separately, and the beat delay is N+M. In the embodiment shown in FIG6 , the first beat conversion circuit 21C and the second beat conversion circuit 22C perform beats simultaneously, and the beat delay at this time is N or M (the larger delay is selected between N and M). Compared to the embodiment shown in FIG5 , the embodiment shown in FIG6 can greatly reduce the delay caused by the beat, thereby improving the interactive performance of the asynchronous clock integrated circuit.

[0069] Exemplarily, the first trigger circuit 23C may be a D flip-flop, a latch, etc.

[0070] In some possible embodiments, as shown in FIG7 , the first beat conversion circuit 21C includes a plurality of first metronomes CB1 connected in series. The second beat conversion circuit 22C includes a plurality of second metronomes CB2. The first clock output terminal clk1 of the first subcircuit 10 is respectively coupled to the first clock terminals CK1 of the plurality of first metronomes CB1. The second clock output terminal clk2 of the second subcircuit 30 is respectively coupled to the second clock terminals CK2 of the plurality of second metronomes CB2. Optionally, the first metronome CB1 and / or the second metronome CB1 can be a D flip-flop, etc. Optionally, the number of the plurality of first metronomes CB1 and the number of the plurality of second metronomes CB2 can be equal or unequal.

[0071] In some possible implementations, the operation of the first trigger circuit 23C can be controlled by a third clock signal independent of the first and second clock signals. As shown in Figure 7, the asynchronous conversion interface of the third asynchronous clock interface circuit 20C further includes a clock generation circuit 24C. Multiple input terminals of the clock generation circuit 24C are respectively coupled to the first signal terminal X1 of the first sub-circuit 10, the trigger output terminal Q1 of the first trigger circuit 23C, and the fourth signal terminal X4 of the second sub-circuit 30. An output terminal of the clock generation circuit 24C is coupled to the first enable terminal EN1 of the first trigger circuit 23C. In this embodiment of the present application, the first signal terminal X1 of the first sub-circuit 10 outputs a first request handshake signal based on the first clock signal. The trigger output terminal Q1 of the first trigger circuit 23C outputs a second request handshake signal. The fourth signal terminal X4 of the second sub-circuit 30 outputs a first feedback handshake signal based on the second clock signal. The clock generation circuit 24C generates a clock enable signal based on the third clock signal based on the first request handshake signal, the second request handshake signal, and the first feedback handshake signal. The clock generation circuit 24C outputs a clock enable signal to the first enable terminal EN1 of the first flip-flop circuit 23C, so that the second request handshake signal output by the first flip-flop circuit 23C is based on the clock enable signal.

[0072] In some possible implementations, asynchronous interaction of data signals can also be performed based on the third asynchronous clock interface circuit 20C. As shown in FIG7 , the asynchronous conversion interface of the third asynchronous clock interface circuit 20C further includes a data buffer 25C. The first data output terminal data1 of the first sub-circuit 10 is coupled to the first data input terminal data2 of the data buffer 25C. The second data output terminal data3 of the data buffer 25C is coupled to the second data input terminal data4 of the second sub-circuit 30. The output terminals of the clock generation circuit 24C are respectively coupled to the second enable terminal EN2 of the data buffer 25C. In an embodiment of the present application, the clock generation circuit 24C also outputs a clock enable signal to the second enable terminal EN2 of the data buffer 25C. Based on the clock enable signal, the data buffer 25C is controlled to output the latched data signal to the second data input terminal data4 of the second sub-circuit 30, thereby completing the asynchronous interactive transmission of data signals between the first sub-circuit 10 and the second sub-circuit 30. In the embodiment of the present application shown in FIG. 7 , compared to the embodiment shown in FIG. 4 , there is no need to provide a large FIFO storage device or an additional large synchronous control circuit. The asynchronous interaction circuit based on the control signal shown in FIG. 6 can control the asynchronous interaction of data signals. Furthermore, the asynchronous interaction of the control signal shown in FIG. 6 has a low latency, which can improve the performance of the asynchronous interaction of data information in the embodiment shown in FIG. 7 .

[0073] Exemplarily, the data buffer 25C may be a register, a latch, etc.

[0074] In some possible implementations, as shown in FIG8 , clock generation circuit 24C includes an XOR gate XOR1, an XNOR gate XNOR1, and a second AND gate AND2. The multiple inputs of clock generation circuit 24C include a first input of XOR gate XOR1, a second input of XOR gate XOR1, a first input of XNOR gate XNOR1, and a second input of XNOR gate XNOR1. The first input of XOR gate XOR1 is coupled to the first signal terminal X1 of the first sub-circuit 10. The second input of XOR gate XOR1 is coupled to the trigger output Q1 of the first trigger circuit 23C. The first input of XNOR gate XNOR1 is coupled to the fourth signal terminal X4 of the second sub-circuit 30. The second input of XNOR gate XNOR1 is coupled to the trigger output Q1 of the first trigger circuit 23C. The output of XOR gate XOR1 is coupled to the first input of the second AND gate AND2. The output of XNOR gate XNOR1 is coupled to the second input of the second AND gate AND2. The output end of the second AND gate AND2 is the output end of the clock generation circuit 24C. In the embodiment of the present application, the first request handshake signal based on the first clock signal and the second request handshake signal based on the clock enable signal are subjected to exclusive OR logic processing by the exclusive OR gate XOR1. Specifically, when the first request handshake signal and the second request handshake signal are at different levels, the exclusive OR gate XOR1 outputs a high level. The first feedback handshake signal based on the second clock signal and the second request handshake signal based on the clock enable signal are subjected to exclusive OR (i.e., exclusive OR) logic processing by the exclusive OR gate XNOR1. Specifically, when the first feedback handshake signal and the second request handshake signal are at different levels, the exclusive OR gate XNOR1 outputs a high level. Then, the level signal output by the exclusive OR gate XOR1 and the level signal output by the exclusive OR gate XNOR1 are subjected to a logical AND operation by the second AND gate AND2 to obtain the clock enable signal.

[0075] In some possible implementations, as shown in FIG8 , the asynchronous conversion interface of the third asynchronous clock interface circuit 20C further includes a pulse width delay circuit 26C. The output of the clock generation circuit 24C is coupled to the first enable terminal EN1 of the first trigger circuit 23C via the pulse width delay circuit 26C. In the embodiments of the present application, in some practical application scenarios, the pulse width of the clock enable signal required by the first trigger circuit 23C is relatively large. The pulse width delay circuit 26C can be provided to increase the pulse width of the clock enable signal required by the first trigger circuit 23C to meet the requirements of the corresponding scenario.

[0076] For example, as shown in FIG9 , the pulse width delay circuit 26C includes a delay circuit DL1 and a first AND gate AND1. The output of the clock generation circuit 24C is coupled to the first input of the first AND gate AND1. The output of the clock generation circuit 24C is also coupled to the second input of the first AND gate AND1 through the delay circuit DL1. In the embodiment of the present application, the input clock enable signal is delayed by the delay circuit DL1, so that the effective pulse width (i.e., a high level of 1) of the clock enable signal is delayed, and the delayed clock enable signal is output to the second input of the first AND gate AND1. At the same time, the first input of the first AND gate AND1 is also input with an undelayed clock enable signal. The first AND gate AND1 performs a logical AND operation on the input undelayed clock enable signal and the delayed clock enable signal to adjust the effective pulse width of the signal output to the first enable terminal EN1 of the first trigger circuit 23C.

[0077] Exemplarily, delay circuit DL1 includes an even number of cascaded inverters. In the embodiment of the present application, the output signal of an even number of cascaded inverters is logically equivalent to that of no inverters. However, an even number of inverters can form an oscillator, allowing the output voltage signal to reach a steady state and avoid voltage competition. Furthermore, the multiple cascaded inverters can add a certain delay to the clock enable signal. After the delayed clock enable signal and the undelayed clock enable signal are logically ANDed at the first AND gate AND1, clock enable signals with different pulse widths can be obtained.

[0078] In some possible implementations, the data signal exchanged between the first sub-circuit 10 and the second sub-circuit 30 includes multiple bits. In this case, as shown in FIG10 , the data buffer 25C includes multiple data buffer units 25C1. In the embodiment of the present application, when the data buffer 25C latches a data signal of multiple bits, multiple data buffer units 25C1 can be provided in the data buffer 25C. The multiple data buffer units 25C1 latch the data signal of multiple bits and output it to the second sub-circuit 30.

[0079] Exemplarily, each data cache unit 25C1 may be a register or a latch.

[0080] For example, as shown in FIG10 , the asynchronous conversion interface of the third asynchronous clock interface circuit 20C further includes a voltage hold circuit 27C. The output of the clock generation circuit 24C is coupled to the second enable terminal EN2 of the data buffer 25C via the voltage hold circuit 27C. In the embodiment of the present application, when a large number of data signals are required, the effective pulse width (i.e., high level) of the clock enable signal may not be sufficient to drive all data buffer units 25C1 to output data signals to the second sub-circuit 30. In this case, the voltage hold circuit 27C can be provided to extend the time during which the clock enable signal is enabled for multiple data buffer units 25C1.

[0081] In some possible implementations, as shown in Figure 11, the transmitting interface of the third asynchronous clock interface circuit 20C also includes a first register 28C. The first data output terminal data1 of the first sub-circuit 10 is coupled to the input terminal of the first register 28C. The output terminal of the first register 28C is coupled to the first data input terminal data2 of the data buffer 25C. The first clock output terminal clk1 of the first sub-circuit 10 is also coupled to the third clock terminal CK3 of the first register 28C. In an embodiment of the present application, the data signal output by the first sub-circuit 10 can be beat by the first register 28C. At the same time, when there are many data signals that need to be interacted, the first sub-circuit 10 can first cache the output data signal to the first register 28C, and then output it to the data buffer 25C through the first register 28C.

[0082] In some possible implementations, as shown in FIG11 , the receiving interface of the third asynchronous clock interface circuit 20C further includes a second register 29C. The input end of the second register 29C is coupled to the second data output end data3 of the data buffer 25C. The output end of the second register 29C is coupled to the second data input end data4 of the second sub-circuit 30. The second clock output end clk2 of the second sub-circuit 30 is also coupled to the fourth clock end CK4 of the second register 29C. In an embodiment of the present application, the data signal output by the data buffer 25C is beat by the second register 29C, and then output to the second sub-circuit 30. At the same time, when there are many data signals that need to be interacted, the data signal output by the data buffer 25C can also be cached in the second register 29C first, and then output to the second sub-circuit 30 through the second register 29C.

[0083] In some possible implementations, as shown in FIG12 , the receiving interface of the third asynchronous clock interface circuit 20C further includes a first level logic conversion circuit C1. The fourth signal terminal X4 of the second sub-circuit 30 is coupled to at least one of the multiple input terminals of the clock generation circuit 24C via the first level logic conversion circuit C1. In an embodiment of the present application, when the level triggering mode of the second sub-circuit 30 differs from the level triggering mode of the clock generation circuit 24C on the third asynchronous clock interface circuit 20C, the first feedback handshake signal output from the fourth signal terminal X4 of the second sub-circuit 30 can be logically converted (e.g., from an edge-triggered level signal to a level-triggered level signal) by the first level logic conversion circuit C1 to accommodate the corresponding triggering mode.

[0084] In some possible implementations, as shown in FIG12 , the transmission interface of the third asynchronous clock interface circuit 20C further includes at least one of a second level logic conversion circuit C2, a third level logic conversion circuit C3, and a fourth level logic conversion circuit C4. The first signal terminal X1 of the first sub-circuit 10 is coupled to the trigger input terminal D1 of the first trigger circuit 23C via the second level logic conversion circuit C2. The output terminal of the first beat conversion circuit 21C is coupled to the third signal terminal X3 of the first sub-circuit 10 via the third level logic conversion circuit C3. The output terminal of the second beat conversion circuit 22C is coupled to the second signal terminal X2 of the second sub-circuit 30 via the fourth level logic conversion circuit C4. In the embodiments of the present application, the description of the second level logic conversion circuit C2, the third level logic conversion circuit C3, and the fourth level logic conversion circuit C4 can refer to the description of the first level logic conversion circuit C1 in the above embodiments.

[0085] As shown in FIG13 , for example, a level logic conversion circuit for converting edge triggering to level triggering is provided. The level logic conversion circuit includes a third AND gate AND3 and a first D flip-flop 1D. The first input terminal of the third AND gate AND3 and the trigger input terminal D of the first D flip-flop 1D respectively input the edge-triggered control signal before conversion. The trigger output terminal Q of the first D flip-flop 1D is coupled to the second input terminal of the third AND gate AND3. The clock terminal CK of the first D flip-flop 1D is used to input a corresponding clock signal. For example, when the level logic conversion circuit is the first level logic conversion circuit C1 or the fourth level logic conversion circuit C4, its clock terminal CK inputs the second clock signal of the second sub-circuit 30. When the level logic conversion circuit is the second level logic conversion circuit C2 or the third level logic conversion circuit C3, its clock terminal CK inputs the first clock signal of the first sub-circuit 10.

[0086] For example, as shown in FIG14 , a level logic conversion circuit for converting a level trigger into an edge trigger is provided. The level logic conversion circuit may include a first inverter INV1 and a second D flip-flop 2D. The input terminals of the first inverter INV1 respectively input a control signal before conversion and a control signal after conversion. The output terminal of the first inverter INV1 is coupled to the input terminal of the second D flip-flop 2D. The clock terminal CK of the second D flip-flop 2D inputs a corresponding clock signal. Regarding the correspondence between the clock signals input to the level logic conversion circuit shown in FIG14 , reference may be made to the relevant description of the correspondence between the clock signals input to the level logic conversion circuit shown in FIG13 , which will not be repeated here.

[0087] For example, taking the first sub-circuit 10 and the second sub-circuit 30 as level-triggered, and the third asynchronous clock interface circuit 20C as edge-triggered, as shown in FIG15 , the first level logic conversion circuit C1 and the second level logic conversion circuit C2 convert level-triggered to voltage-variable-triggered, and may employ the level logic conversion circuit shown in FIG14 . The third level logic conversion circuit C3 and the fourth level logic conversion circuit C4 convert edge-triggered to level-triggered, and may employ the level logic conversion circuit shown in FIG13 .

[0088] Optionally, the processing chip 100 is a large-scale SoC. As shown in FIG16 , the SoC includes multiple processing cores core 1, a system bus SBus, a high-speed peripheral bus Bus1, a low-speed peripheral bus Bus2, a control bus Bus3, a first storage circuit M1, a second storage circuit M2, a control circuit Cont1, and a third asynchronous clock interface circuit 20C. Exemplarily, the third asynchronous clock interface circuit 20C can be coupled between the system bus SBus and the high-speed peripheral bus Bus1. In this case, the first sub-circuit 10 and the second sub-circuit 30 can be the processing core core 1 and the first storage circuit M1, respectively. Exemplarily, the third asynchronous clock interface circuit 20C can be coupled between the system bus SBus and the low-speed peripheral bus Bus2. In this case, the first sub-circuit 10 and the second sub-circuit 30 can be the processing core core 1 and the second storage circuit M2, respectively. For example, the third asynchronous clock interface circuit 20C can be coupled between the system bus SBus and the control bus Bus3. In this case, the first sub-circuit 10 and the second sub-circuit 30 can be the processing core core1 and the control circuit Cont1, respectively. In an embodiment of the present application, the system bus SBus and other buses are coupled through the third asynchronous clock interface circuit 20C. The system bus SBus of the SoC and other buses can be set as an asynchronous circuit. This avoids the problem that, as the integration area of ​​the SoC under the synchronous integrated circuit increases, the signal line is too long, which causes the synchronous clock signal to be delayed. In the case of ultra-large scale, the design layout of the SoC is difficult, and there are problems such as communication interaction conflicts, increased communication power consumption, poor scalability, reduced communication reliability, and reduced throughput. The scale of the SoC under the asynchronous clock integrated circuit can be more easily expanded through the third asynchronous clock interface circuit 20C.

[0089] Optionally, the processing chip 100 is a NoC. For example, as shown in FIG17 , a schematic diagram of the structure of a NoC with a two-dimensional mesh (2D-mesh) structure is shown. The NOC includes a plurality of routing nodes R1 and a plurality of processing nodes N1. A plurality of routing nodes R1 are connected to form an array structure, and each routing node R1 is coupled to a processing node N1. Asynchronous interaction of data signals and asynchronous interaction of control signals are achieved between the plurality of processing nodes N1 through the corresponding routing nodes R1. Optionally, three sub-areas of different specifications can be divided on the NoC, and a third asynchronous clock interface circuit 20C can be set in each of the three sub-areas of different specifications. The three sub-areas of different rule types are: sub-area one formed by a single routing node R1 or a single processing node N1; sub-area two including a pair of interconnected routing nodes R1 and processing nodes N1; and sub-area three including multiple pairs of interconnected routing nodes R1 and processing nodes N1. For example, for multiple sub-areas 1, asynchronous interaction can be achieved between sub-areas 1 that are routing nodes R1 and sub-areas 1 that are processing nodes N1 via a third asynchronous clock interface circuit 20C. For example, for two adjacent sub-areas 2, routing nodes R1 in the two sub-areas 2 can be interconnected via a third asynchronous clock interface circuit 20C to achieve direct asynchronous interaction between the two sub-areas 2. For example, for two adjacent sub-areas 3, adjacent routing nodes R1 in the two sub-areas 3 can be interconnected via at least one third asynchronous clock interface circuit 20C to achieve asynchronous interaction between the two sub-areas 3.

[0090] In some possible implementations, the processing chip 100 further includes a fourth asynchronous clock interface circuit. The second sub-circuit 30 is coupled to the first sub-circuit 10 via the fourth asynchronous clock circuit. The second sub-circuit 30 can exchange data signals and control signals with the first sub-circuit 10 via the fourth asynchronous clock circuit. In the embodiments of the present application, the technical principles and beneficial effects of signal exchange between the second sub-circuit 30 and the first sub-circuit 10 via the fourth asynchronous clock circuit can be referenced to the description of the third asynchronous clock circuit 20C in the above embodiments and will not be further elaborated here.

[0091] The present application also provides a design method for designing a processing chip including the structures shown in Figures 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, and 17 based on existing EDA design tools. As shown in Figure 18, the design method specifically includes the following steps S110 to S140:

[0092] S110: Combine the first description file and the second description file to obtain a third description file.

[0093] The first description file is used to describe the logic functions of the first chip. The first chip includes multiple sub-circuits. The second description file is used to describe the logic functions of the asynchronous clock interface circuit. The third description file is used to describe the logic functions of the processing chip; the second description file is used to describe the logic functions of the third asynchronous clock interface circuit 20C. The third description file is used to describe the logic functions of the processing chip 100.

[0094] In an embodiment of the present application, a first description file for the first chip has been generated in an existing EDA design tool. The first description file and the second description file are both RTL description files, wherein the first description file is the original description file used in the existing EDA design tool to describe the logic functions of the first chip. The second description file is the RTL description file obtained after the logic functions of the third asynchronous clock interface circuit 20C are integrated into an IP core. In actual applications, the third asynchronous clock interface circuit 20C for the asynchronous clock integrated circuit is integrated into the basic IP core. In subsequent designs, the corresponding second description file can be directly called and combined with the first description file to design the asynchronous clock integrated circuit.

[0095] In some possible implementations, when multiple sub-circuits in the first chip are based on the same clock domain, the multiple sub-circuits in the first chip receive the same clock signal. As shown in FIG19 , for example, the multiple sub-circuits in the first chip include a transmitting circuit sen1 and a receiving circuit rec1 : in this case, the transmitting circuit sen1 and the receiving circuit rec1 are based on the same clock signal. Step S110 may include the following operations, as shown in FIG20 , from steps S111 to S113 :

[0096] S111 , setting the sending circuit sen1 and the receiving circuit rec1 described in the first description file to different local clock domains to obtain a first sub-circuit 10 and a second sub-circuit 30 .

[0097] S112: Construct a second description file.

[0098] In this embodiment of the present application, when the first description file is an RTL description file for a synchronous integrated circuit, the synchronous integrated circuit does not include the logic function of the third asynchronous clock interface circuit 20C used for asynchronous interaction. In this case, it is necessary to first design the logic function of the third asynchronous clock interface circuit 20C and generate the corresponding second description file. The specific operations are as follows:

[0099] First, the logic functions of the various circuits in the transmitting and receiving interfaces are generated, for example, the logic functions of the first beat conversion circuit 21C and the second beat conversion circuit 22C. Optionally, depending on the actual application scenario, the logic functions of at least one of the first level logic conversion circuit C1, the second level logic conversion circuit C2, the third level logic conversion circuit C3, and the fourth level logic conversion circuit C4 shown in FIG12 may also be generated.

[0100] Next, the logic functions of the circuits in the asynchronous conversion circuit are generated, such as the logic functions of the first trigger circuit 23C. Optionally, the logic functions of the data buffer 25C, the clock generation circuit 24C, the pulse width delay circuit 26C, the voltage holding circuit 27C, and other circuits can also be generated.

[0101] Next, a timing cell library for the third asynchronous clock interface circuit 20C is constructed, and timing constraints are applied to the generated logic functions of the third asynchronous clock interface circuit 20C. For example, as shown in FIG21 , the interactive transmission of control signals for the third asynchronous clock interface circuit 20C utilizes a handshake signal protocol mechanism. In the figure, Δt1 is the triggering time of the clock enable signal on the data buffer 25C. Δt2 is the preparation time for the clock enable signal to drive the data buffer 25C to transmit the data signal. Δt3 is the hold time after the clock enable signal drives the data buffer 25C. In scenarios where a single-bit data signal needs to be transmitted, due to the circuit's mutually exclusive structure, the duration Δt2 must meet the constraint of being no less than the minimum valid level of the data buffer 25C. Furthermore, there is a set timing requirement between the first request handshake signal and the pulse-width-delayed clock enable signal. Since both the pulse-width-delayed clock enable signal and the first request handshake signal are generated through multiple gate circuits, this timing requirement is easy to meet. In scenarios where multiple bits of data signals need to be transmitted, the data signal must be bound to the first request handshake signal. Δt2 must meet the constraint of being no less than the minimum valid level of data buffer 25C, while Δt1 must also be greater than the setup time of data buffer 25C. Using these constraints, the third asynchronous clock interface circuit 20C is customized into a standard cell, and the key signal timing characteristics are extracted.

[0102] S113: Combine the first description file and the second description file to obtain a third description file.

[0103] Exemplarily, the second description file is inserted into the interface position specified in the first description file through automatic insertion, and the transmission path of the original transmitting circuit sen1 and the receiving circuit rec1 in the original first description file is interrupted. The second description file is used to generate a new transmission path of the first sub-circuit 10 and the second sub-circuit 30, thereby generating a third description file.

[0104] In the case where the first description file is an RTL description file for describing a synchronous integrated circuit, a third description file can be obtained according to the operations of steps S111 to S113 above.

[0105] In some possible implementations, when some or all of the sub-circuits in the first chip are based on different clock domains, the first description file is an RTL description file related to the asynchronous clock integrated circuit. In this case, as shown in FIG22 , the first chip of the asynchronous clock integrated circuit already includes the first sub-circuit 10 and the second sub-circuit 30 based on different clock domains. Step S110 may include the following operations, as shown in FIG23 , steps S111′ to S112′:

[0106] S111', construct a second description file.

[0107] In some possible implementations, the first description file in some existing EDA design tools already contains description language for the related logical functions of the first beat conversion circuit 21C and the second beat conversion circuit 22C. In this case, only the logical functions of the first trigger circuit 23C, data buffer 25C, clock generation circuit 24C, pulse width delay circuit 26C, voltage hold circuit 27C, and other related circuits need to be designed to produce the second description file. For a description of the design of the logical functions of the first trigger circuit 23C, data buffer 25C, clock generation circuit 24C, pulse width delay circuit 26C, voltage hold circuit 27C, and other related circuits, refer to the relevant description in the embodiment of step S112 above and will not be repeated here.

[0108] S112', combining the first description file and the second description file to obtain a third description file.

[0109] For the relevant description of step S112 ′, reference may be made to the relevant description of the embodiment of step S113 above, which will not be repeated here.

[0110] S120: Perform a timing constraint check on the third description file.

[0111] In the embodiment of the present application, the data signal is bound to the first request handshake signal, and the delay between the data signal and the first request handshake signal is required to meet the setup time of the asynchronous interface. The third asynchronous clock interface circuit 20C obtained in step S110 needs to meet the following constraints:

[0112] Constraint 1: Based on the actual application scenario, specific timing relationship requirements are set for the first request handshake signal, the second request handshake signal, the first feedback handshake signal, and the second feedback handshake signal, and it is necessary to ensure that the delay between the data signal and the first request handshake signal meets the setup time of the third asynchronous clock interface circuit 20C. In actual application scenarios, the timing constraint check can be performed using the respective first clock signal or second clock signal as a reference to check the setting constraints. As shown in Figures 24 and 25, the first request handshake signal and the data signal from the transmitting end to the input end of the third asynchronous clock interface circuit 20C are output from registers in the same clock domain, and the second request handshake signal and the data signal from the input end of the third asynchronous clock interface circuit 20C to the receiving end enter the register input of the same clock domain. Therefore, a data-to-data setup check or a data-to-data hold check can be performed to ensure that data transmission errors do not occur when the request handshake signal and the data signal enter different clock domains through the third asynchronous clock interface circuit 20C. As shown in Figure 25, AsyncIf_0 corresponds to the third asynchronous clock interface circuit 20C; AsyncSend_0 corresponds to the first sub-circuit 10; and AsyncRec_0 corresponds to the second sub-circuit 30. The specific command format on the EDA design tool can be:

[0113] Command 1: set_data_check-from xxx / AsyncIf_0 / X1-to xxx / AsyncIf_0 / Data_A-setup value-hold value;

[0114] Command one: set_data_check-from xxx / AsyncRec_0 / X2-to xxx / AsynRec_0 / Data_B-setup value-hold value.

[0115] Constraint 2: The timing between the two ends of the third asynchronous clock interface circuit 20C (i.e., the output of the first sub-circuit 10 on the transmitting end to the input of the third asynchronous clock interface circuit 20C; and the output of the third asynchronous clock interface circuit 20C to the input of the second sub-circuit 30) must be optimized to minimize delay to avoid performance loss caused by excessive routing delays. As shown in Figure 26, a first maximum delay (max delay1) from the first sub-circuit 10 to the third asynchronous clock interface circuit 20C and a second maximum delay (max delay2) from the third asynchronous clock interface circuit 20C to the second sub-circuit 30 are set, representing the maximum data transmission delays across the third asynchronous clock interface circuit 20C, to ensure maximum data transmission performance. In Figure 26, max_delay1 represents the first maximum delay. max_delay2 represents the second maximum delay. Reg_0 represents the register in the first sub-circuit 10 that outputs data signals. AsyncIf_0 represents the third asynchronous clock interface circuit 20C coupled to the first sub-circuit 10. Reg_1 represents the register in the second sub-circuit 30 that receives data signals. AsyncIf_1 is a third asynchronous clock interface circuit 20C coupled to the second sub-circuit 30. The specific command format on the EDA design tool can be:

[0116] Command 1: set_max_delay-datapath_only-from xxx / Reg_0 / Q-to xxx / AsyncIf_0 / Din delay_value;

[0117] Command 2: set_max_delay-datapath_only-from yyy / AsyncIf_1 / Dout-to yyy / Reg_1 / D delay_value.

[0118] S130 , modifying the third description file after the timing constraints are applied, and applying design constraints to the modified third description file.

[0119] In an embodiment of the present application, the third description file in the above step S110 can be modified. The paths that do not meet the timing constraint check requirements in the above step S120 can also be repaired. During the repair process, a certain buffer can be inserted into the path corresponding to the violation that violates the timing constraint to perform timing adjustment, and the operations of step S120 and step S130 can be iterated until all timing paths meet the timing constraint check conditions, thereby obtaining the final third description file after the timing constraint.

[0120] S140 , obtaining a design layout of the processing chip 100 based on the third description file after timing constraints.

[0121] In the embodiment of the present application, after the confirmed third description file is obtained, the logic circuit structure is designed according to the third description file to obtain a design layout, and the processing chip 100 is manufactured in a subsequent process according to the design layout.

[0122] In some possible implementations, step S140 includes the following operations, S141 to S145, as shown in FIG. 20 and FIG. 23 :

[0123] S141 , performing logic gate circuit synthesis processing on the third description file after timing constraints to obtain a component structure of the logic circuit.

[0124] In an embodiment of the present application, the corresponding logical functions in the third description file are matched with the logic gate circuits, and the corresponding logic gate circuit structure is synthesized.

[0125] Step S142 : Map the synthesized logic gate circuit structure to obtain a corresponding netlist.

[0126] Step S143: Perform backend design (physical design) layout according to the mapped network table.

[0127] Step S144 : performing static timing analysis (STA) on the circuit structure after back-end design.

[0128] Step S145 : Obtain the final design layout of the processing chip 100 after completing the static timing analysis.

[0129] In the embodiment of the present application, after the design layout is obtained, in the subsequent process, a corresponding mask and the like can be obtained according to the design layout to perform manufacturing of the processing chip 100 .

[0130] In the embodiment of the present application, based on the design method including steps S110 to S140, a processing chip 100 including the third asynchronous clock interface circuit 20C can be quickly designed using existing EDA design tools. Compared to STG design, physical design tool-based, and asynchronous EDA design tool-based design methods, the design method of the embodiment of the present application can quickly, efficiently, and reliably complete the design of ultra-large-scale asynchronous clock integrated circuits.

[0131] The present invention provides a processing chip, design method, and electronic device. The processing chip includes a first subcircuit, a third asynchronous clock interface circuit, and a second subcircuit. The third asynchronous clock interface circuit includes a first beat conversion circuit, a second beat conversion circuit, and a first trigger circuit. The first subcircuit asynchronously exchanges control signals with the second subcircuit via the third asynchronous clock interface circuit. Specifically, the first subcircuit sends a first request handshake signal to the first trigger circuit. After receiving the first request handshake signal, the first trigger circuit triggers the output of a second request handshake signal, which is then output to the first beat conversion circuit and the second beat conversion circuit, respectively. The first beat conversion circuit then taps the second request handshake signal for multiple beats, converts it into a second feedback handshake signal in the same clock domain as the first subcircuit, and outputs it to the first subcircuit. The second beat conversion circuit taps the received second request handshake signal for multiple beats, converts it into a second request handshake signal in the same clock domain as the second subcircuit, and outputs it to the second subcircuit. In the present invention, a predetermined timing sequence can be achieved by setting corresponding beats for the first beat conversion circuit and the second beat conversion circuit. At this time, the first trigger circuit outputs signals to the first beat conversion circuit and the second beat conversion circuit at the same time, and the first beat conversion circuit and the second beat conversion circuit beat the beat at the same time. Compared with the implementation method in which the two beat conversion circuits beat the beat separately, the embodiment of the present application can reduce the delay caused by the beat conversion circuit beating the beat, and in the circuit with more beats, the delay can be reduced more.

[0132] The processor involved in the embodiments of the present application may be a chip. For example, it may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0133] The memory involved in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0134] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0135] Those skilled in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0136] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0137] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0138] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located on a single device or distributed across multiple devices. Some or all of the modules may be selected to achieve the purpose of this embodiment based on actual needs.

[0139] In addition, the functional modules in the various embodiments of the present application may be integrated into one device, or each module may exist physically separately, or two or more modules may be integrated into one device.

[0140] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode to another website, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more media that can be integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

[0141] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A processing chip, It is characterized in that It includes a first sub-circuit, an asynchronous clock interface circuit and a second sub-circuit; the asynchronous clock interface circuit includes a first beat conversion circuit, a first trigger circuit and a second beat conversion circuit; The first signal terminal of the first subcircuit is coupled to the trigger input terminal of the first trigger circuit; the trigger output terminal of the first trigger circuit is coupled to the input terminal of the first beat conversion circuit and the input terminal of the second beat conversion circuit respectively; the output terminal of the first beat conversion circuit is coupled to the third signal terminal of the first subcircuit; the output terminal of the second beat conversion circuit is coupled to the second signal terminal of the second subcircuit; The first clock output terminal of the first sub-circuit is coupled to the first clock terminal of the first beat conversion circuit; the second clock output terminal of the second sub-circuit is coupled to the second clock terminal of the second beat conversion circuit.

2. The processing chip according to claim 1, It is characterized in that The asynchronous clock interface circuit also includes a clock generation circuit; The multiple input terminals of the clock generation circuit are respectively coupled to the first signal terminal of the first sub-circuit, the trigger output terminal of the first trigger circuit and the fourth signal terminal of the second sub-circuit; the output terminal of the clock generation circuit is coupled to the first enable terminal of the first trigger circuit.

3. The processing chip according to claim 2, It is characterized in that The asynchronous clock interface circuit also includes a data buffer; The first data output terminal of the first sub-circuit is coupled to the first data input terminal of the data buffer; the second data output terminal of the data buffer is coupled to the second data input terminal of the second sub-circuit; The output terminal of the clock generating circuit is also coupled to the second enable terminal of the data buffer and the first enable terminal of the first trigger circuit.

4. The processing chip according to claim 3, It is characterized in that The asynchronous clock interface circuit also includes a first register and a second register; The first data output terminal of the first subcircuit is coupled to the input terminal of the first register; the output terminal of the first register is coupled to the first data input terminal of the data buffer; the clock output terminal of the first subcircuit is also coupled to the third clock terminal of the first register; The input end of the second register is coupled to the second data output end of the data buffer; the output end of the second register is coupled to the second data input end of the second sub-circuit; and the clock output end of the second sub-circuit is also coupled to the fourth clock end of the second register.

5. The processing chip according to claim 3 or 4, It is characterized in that The asynchronous clock interface circuit also includes a voltage holding circuit; the output end of the clock generation circuit is coupled to the second enable end of the data buffer through the voltage holding circuit.

6. The processing chip according to any one of claims 2 to 5, It is characterized in that The asynchronous clock interface circuit also includes a pulse width delay circuit; the output end of the clock generation circuit is coupled to the first enable end of the first trigger circuit through the pulse width delay circuit.

7. The processing chip according to claim 6, It is characterized in that The pulse width delay circuit includes a delay circuit and a first AND gate; the output end of the clock generation circuit is coupled to the first input end of the first AND gate; the output end of the clock generation circuit is also coupled to the second input end of the first AND gate through the delay circuit.

8. The processing chip according to any one of claims 2 to 7, It is characterized in that The clock generation circuit comprises an XOR gate, an XOR gate and a second AND gate; the multiple input terminals of the clock generation circuit comprise a first input terminal of the XOR gate, a second input terminal of the XOR gate, a first input terminal of the XOR gate and a second input terminal of the XOR gate; The first input terminal of the XOR gate is coupled to the first signal terminal of the first sub-circuit; the second input terminal of the XOR gate is coupled to the trigger output terminal of the first trigger circuit; The first input terminal of the XNOR gate is coupled to the fourth signal terminal of the second sub-circuit; the second input terminal of the XNOR gate is coupled to the trigger output terminal of the first trigger circuit; The output end of the XOR gate is coupled to the first input end of the second AND gate; the output end of the XOR gate is coupled to the second input end of the second AND gate; the output end of the second AND gate is the output end of the clock generation circuit.

9. The processing chip according to any one of claims 2 to 8, It is characterized in that The asynchronous clock interface circuit also includes a first level logic conversion circuit; the fourth signal terminal of the second sub-circuit is coupled to at least one of the multiple input terminals of the clock generation circuit through the first level logic conversion circuit.

10. The processing chip according to any one of claims 1 to 9, It is characterized in that The asynchronous clock interface circuit further includes at least one of a second level logic conversion circuit, a third level logic conversion circuit, and a fourth level logic conversion circuit; The first signal terminal of the first sub-circuit is coupled to the trigger input terminal of the first trigger circuit through the second level logic conversion circuit; The output end of the first beat conversion circuit is coupled to the third signal end of the first sub-circuit through the third level logic conversion circuit; The output end of the second beat conversion circuit is coupled to the second signal end of the second sub-circuit through the fourth level logic conversion circuit.

11. The processing chip according to any one of claims 1 to 10, It is characterized in that The first sub-circuit and / or the second sub-circuit is any one of a storage circuit, a logic control circuit, a routing interface circuit, and a neural network processing circuit.

12. A design method, It is characterized in that Used to design a processing chip according to any one of claims 1 to 11; the design method comprises: The first description file and the second description file are combined to obtain a third description file; the first description file is used to describe the logic function of the first chip; the first chip includes multiple sub-circuits; the multiple sub-circuits are based on the same clock domain; or some or all of the multiple sub-circuits are based on different clock domains; the second description file is used to describe the logic function of the asynchronous clock interface circuit; the third description file is used to describe the logic function of the processing chip; Performing timing constraints on the third description file; The logic circuit structure of the processing chip is obtained based on the third description file after the timing constraints.

13. The design method according to claim 12, It is characterized in that The design method further comprises: Before obtaining the logic circuit structure of the processing chip based on the third description file after the timing constraints, the third description file after the timing constraints is modified, and the modified third description file is subjected to design constraints.

14. An electronic device, It is characterized in that It comprises a circuit board and a processing chip as described in any one of claims 1 to 11; the processing chip is arranged on the circuit board.

Citation Information

Patent Citations

  • Processing chip, design method and electronic equipment

    CN119066021A

  • Data read-write synchronization circuit and data read-write method

    CN110045782A

  • Implementation method of cross-clock domain data interface

    CN111723541A

  • Data processing apparatus

    CN113491082A

  • Data processing device, communication system, chip, board card, and electronic device

    CN116107950A