Circuit quality confirmation device and circuit quality confirmation method

The circuit quality confirmation device addresses verification challenges in asynchronous clock interface circuits by using dedicated timing constraints and static verification tools to ensure reliable operation and reduce rework through comprehensive post-layout delay consideration.

JP7573796B2Active Publication Date: 2024-10-25MITSUBISHI ELECTRIC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024547019
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-11-11
Publication Date
2024-10-25
Estimated Expiration
2042-11-11

AI Technical Summary

Technical Problem

Existing methods for verifying the quality of asynchronous clock interface circuits in LSI design are inadequate, leading to potential omissions and increased rework due to unaccounted post-layout delays and complex verification processes.

Method used

A circuit quality confirmation device and method that includes a dedicated timing constraint and a static verification tool to evaluate the asynchronous clock interface circuit under worst-case conditions, considering post-layout delays and actual RTL, reducing rework and verification omissions.

Benefits of technology

Comprehensive verification of asynchronous clock interface circuits is achieved, ensuring reliable operation by accounting for post-layout delays and phase patterns, thereby reducing rework and simplifying the verification process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007573796000001
    Figure 0007573796000001
  • Figure 0007573796000002
    Figure 0007573796000002
  • Figure 0007573796000003
    Figure 0007573796000003
Patent Text Reader

Abstract

A circuit quality confirmation device (10) comprises a worst condition calculation unit (11) and a static verification tool execution unit (12). The worst condition calculation unit (11) calculates a worst condition (22) using a dedicated timing constraint (21) indicating the upper limit of a wiring delay value of an asynchronous clock interface path in an embedded circuit embedded with an asynchronous clock interface circuit in which an input / output waveform of a signal is uniquely determined in accordance with a set timing condition. The worst condition (22) is a timing condition that corresponds to a theoretical limit to which data can be captured at a later stage in the asynchronous clock interface path in the embedded circuit and that is calculated on the basis of wiring delay in a post-layout netlist corresponding to the embedded circuit and delay time corresponding to a signal timing shift. The static verification tool execution unit (12) uses the calculated worst condition (22) to verify the quality of the embedded circuit by executing a static verification tool.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a circuit quality confirmation device and a circuit quality confirmation method. [Background technology]

[0002] In the design of LSI (Large Scale Integration), the number of defects occurring in asynchronous clock interface circuits is high. However, existing technologies do not have a method for clearly and comprehensively checking the quality of a circuit incorporating an asynchronous clock interface circuit. Therefore, the quality of asynchronous clock interface circuits is often checked by methods such as visual waveform inspection or RTL (Register Transfer Level) code review. However, these methods impose a heavy checking load and are prone to overlooking checks. Patent Document 1 discloses a technique for verifying whether an asynchronous clock interface circuit operates normally by executing a simulation using RTL with changed timing and comparing expected values. Non-Patent Document 1 discloses a technique for statically verifying whether an asynchronous clock interface circuit operates normally by analyzing the circuit structure. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2013-37596 A [Non-patent literature]

[0004] [Non-Patent Document 1] Synopsys Japan LLC, “SpyGlassCDC”, [online], [Retrieved April 19, 2022], Internet <URL:https: / / www.synopsys.com / ja-jp / verification / static-and-formal-verification / spyglass / spyglass-cdc.html> Summary of the Invention [Problem to be solved by the invention]

[0005] According to the technology disclosed in Patent Document 1, in the operation verification of a logic circuit including an asynchronous part, the RTL description of the asynchronous clock interface circuit is changed and the number of stages of the synchronization flip-flop is increased to reproduce the signal delay difference and verify the logic circuit. Therefore, the quality of the asynchronous clock interface circuit can be confirmed with this technology. However, although the delay difference can be reproduced with this technology, the expected delay value is not specifically determined. Here, the delay value to be actually assumed varies depending on the delay value after the layout corresponding to the logic circuit is executed. Therefore, even if the asynchronous clock interface circuit is verified by simulation with this technology, the delay value after the logic synthesis and layout may exceed the expected delay value. Therefore, the technology has no means for considering the delay value after the layout is executed. Therefore, the technology has a problem that when the delay value after the layout is executed exceeds the expected delay value, the asynchronous clock interface circuit needs to be verified again, which causes a rework. In addition, this technology has the problem that when the number of bits of the asynchronous clock interface circuit to be verified and the number of flip-flops to be added are large, the amount of RTL generated for quality check increases, which means that verification takes time.In addition, since verification is performed using the RTL for quality check instead of the actual RTL, there is a problem that the RTL for quality check may be confused with the actual RTL.

[0006] According to the technology disclosed in Non-Patent Document 1, asynchronous verification can be performed statically and at high speed by performing structural analysis of RTL in the verification stage. Specifically, in this technology, a circuit structure is analyzed using as input a configuration file indicating RTL, timing information, and clock synchronization relationships, and verification of synchronization is performed. In addition, according to this technology, the asynchronous clock interface circuit is verified for each property, such as a transfer from a fast clock to a slow clock as a function check, a check of a synchronization enable signal, etc. Therefore, this technology enables verification by static property check, rather than verification by dynamic patterns. Therefore, this technology can solve the problem caused by the increase in verification patterns in Patent Document 1. However, according to this technology, since a pattern specified by the user in a setting file is used as the phase between asynchronous clocks when performing the verification, there is a problem that verification is missed for a pattern of phase between asynchronous clocks that is not considered by the user. Also, general static verification tools can only analyze on a clock cycle basis. Therefore, according to this technology, since it is not possible to consider the delay situation after layout such as clock jitter and setup time, there is a problem that even if there is no problem in the verification, a problem may occur depending on the delay situation after layout.

[0007] The present disclosure aims to reduce rework in the design of circuits that include an asynchronous clock interface circuit, to verify using actual RTL, to reduce verification omissions related to the pattern of phases between asynchronous clocks, and to verify taking into account delay conditions after layout. [Means for solving the problem]

[0008] The circuit quality confirmation device according to the present disclosure comprises: a worst-condition calculation unit that calculates a worst-condition, which is a timing condition that corresponds to a theoretical limit at which data can be taken in at a subsequent stage of the asynchronous clock interface path in the embedded circuit, using a dedicated timing constraint indicating an upper limit of a wiring delay value of an asynchronous clock interface path in an embedded circuit in which a dedicated circuit that is an asynchronous clock interface circuit including an asynchronous clock interface path is incorporated, the worst-condition being a timing condition calculated based on a wiring delay that is expected to occur in a post-layout netlist corresponding to a circuit generated by executing a layout corresponding to the embedded circuit, and a delay time caused by at least one of a phase relationship between asynchronous clocks, a clock jitter, a clock skew, a setup time, and a hold time in the dedicated circuit; a static verification tool execution unit that verifies quality of the embedded circuit by executing a verification tool that statically verifies quality of the embedded circuit using the embedded circuit, a timing constraint of the embedded circuit, and the calculated worst-case condition; Equipped with Each of the dedicated circuit, which is the asynchronous clock interface circuit, and the built-in circuit is a circuit expressed in a hardware description language. Effect of the Invention

[0009] According to the present disclosure, in the verification of an embedded circuit incorporating a dedicated circuit that is an asynchronous clock interface circuit, the embedded circuit can be verified comprehensively by using the worst conditions. Here, the worst conditions are conditions calculated taking into account the delay situation after layout. In addition, the embedded circuit corresponds to the actual RTL. Therefore, according to the present disclosure, in the design of a circuit including an asynchronous clock interface circuit, it is possible to reduce rework, verify using the actual RTL, reduce verification omissions related to the phase pattern between asynchronous clocks, and verify taking into account the delay situation after layout. [Brief description of the drawings]

[0010] [Figure 1] 1 is a diagram showing an example of the configuration of a circuit quality confirmation system 90 according to a first embodiment. [Diagram 2] FIG. 2 is a diagram for explaining a CDC-IP 20 according to the first embodiment. [Diagram 3] FIG. 2 is a diagram for explaining a timing chart corresponding to the CDC-IP 20 according to the first embodiment. [Figure 4] FIG. 2 is a diagram for explaining a timing chart corresponding to the CDC-IP 20 according to the first embodiment. [Diagram 5] 1 is a diagram showing an example of a hardware configuration of a circuit quality confirmation device 10 according to a first embodiment. [Figure 6] 4 is a flowchart showing the operation of the circuit quality confirmation device 10 according to the first embodiment. [Figure 7] FIG. 13 is a diagram showing an example of a hardware configuration of a circuit quality checking device 10 according to a modification of the first embodiment. [Figure 8] FIG. 13 is a diagram showing an example of the configuration of a circuit quality confirmation system 90 according to a second embodiment. [Figure 9] FIG. 13 is a diagram showing an example of the configuration of a circuit quality confirmation system 90 according to a third embodiment. [Figure 10] FIG. 11 is a diagram for explaining a timing chart corresponding to the CDC-IP 20 according to the third embodiment. [Figure 11] FIG. 11 is a diagram for explaining a timing chart corresponding to the CDC-IP 20 according to the third embodiment. [Figure 12] 10 is a flowchart showing the operation of the circuit quality confirmation device 10 according to the third embodiment. [Figure 13] FIG. 13 is a diagram showing an example of the configuration of a circuit quality confirmation system 90 according to a fourth embodiment. [Figure 14] FIG. 13 is a diagram for explaining a CDC-IP 20 according to a fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] In the description of the embodiments and the drawings, the same elements and corresponding elements are given the same reference numerals. Descriptions of elements given the same reference numerals are omitted or simplified as appropriate. Arrows in the drawings primarily indicate data flow or processing flow. In addition, "part" may be read as "circuit," "step," "procedure," "processing," or "circuitry" as appropriate.

[0012] Embodiment 1 Hereinafter, the present embodiment will be described in detail with reference to the drawings.

[0013] ***Configuration Description*** 1 shows an example of the configuration of a circuit quality confirmation system 90 according to this embodiment. The circuit quality confirmation system 90 includes an RTL 1, a timing constraint 2, and a circuit quality confirmation device 10, as shown in FIG. The circuit quality confirmation device 10 is a device for confirming the quality of a target circuit. As shown in Fig. 1, the circuit quality confirmation device 10 includes a worst-case condition calculation unit 11, a static verification tool execution unit 12, a verification result analysis unit 13, and a judgment result display unit 14. The circuit quality confirmation device 10 also stores an RTL (Register Transfer Level) 1, a timing constraint 2, a CDC-IP 20, a dedicated timing constraint 21, and a worst-case condition 22.

[0014] RTL1 is an electronic circuit, also called a target circuit. RTL1 may be a netlist. RTL1 includes an asynchronous clock interface circuit. CDC-IP20 is an asynchronous clock interface circuit that uniquely defines the timing conditions under which it operates by determining the relationship between the input data and the enable that latches the data, and is an asynchronous clock interface circuit that includes an asynchronous clock interface path. The asynchronous clock interface path is also called an asynchronous clock interface. CDC-IP20 is a dedicated circuit. A dedicated circuit is an asynchronous clock interface circuit that uniquely determines the input and output waveforms of signals according to the set timing conditions, and is an asynchronous clock interface circuit that includes an asynchronous clock interface path. Each of the RTL1 and the CDC-IP20 is a circuit represented in a typical hardware description language.

[0015] Timing constraint 2 shows a timing constraint for a signal in RTL1. The dedicated timing constraint 21 indicates a timing constraint for the signal of the CDC-IP 20, indicates a constraint on the circuit delay in the CDC-IP 20, indicates an upper limit of the wiring delay value of the asynchronous clock interface path in the embedded circuit 23, and is also called the CDC-IP dedicated timing constraint. The circuit delay is a general term for the wiring delay and the condition on the timing deviation of the signal. Specifically, the condition on the timing deviation of the signal corresponds to at least one of the phase relationship between the asynchronous clocks, the clock jitter, the clock skew, the setup time, and the hold time. The timing deviation of the signal is basically determined by considering all of the phase relationship between the asynchronous clocks, the clock jitter, the clock skew, the setup time, and the hold time. The setup time and the hold time are also called the setup / hold value. The upper limit of the wiring delay value corresponds to a value assumed as the upper limit of the wiring delay value in the post-layout netlist. The post-layout netlist corresponds to a circuit generated by executing a layout corresponding to the embedded circuit 23, and corresponds to the post-layout circuit corresponding to the embedded circuit 23. The post-layout netlist corresponding to the embedded circuit 23 is a netlist generated by completing synthesis and placement and wiring corresponding to the embedded circuit 23. A delay is added to the post-layout netlist. The dedicated timing constraint 21 basically includes a MaxDelay constraint. The MaxDelay constraint is a timing constraint that sets an upper limit on the delay value for a set path, and is a timing constraint that is set in consideration of the overall circuit delay. Each of the timing constraints 2 and the dedicated timing constraints 21 is, as a specific example, an SDC (Synopsys Design Constraints) file.

[0016] The worst condition 22 is a timing condition that corresponds to the theoretical limit at which data can be captured at the downstream of the asynchronous clock interface in the CDC-IP 20, and is a timing condition calculated based on the wiring delay expected to occur in the post-layout netlist and the delay time caused by conditions related to the timing deviation of signals in the dedicated circuit, and is a timing condition used when performing static verification in the static verification tool execution unit 12.

[0017] The embedded circuit 23 is a circuit expressed in a hardware description language, a circuit implemented in an integrated circuit, a circuit with a dedicated circuit built in, and a circuit generated by incorporating the CDC-IP 20 into the RTL 1. As a specific example, an RTL designer generates the embedded circuit 23 by incorporating the CDC-IP 20 into an asynchronous clock interface circuit included in the RTL 1, or by replacing the asynchronous clock interface circuit included in the RTL 1 with the CDC-IP 20. The embedded circuit 23 is also called an asynchronous clock interface embedded circuit. The embedded constraint 24 is a timing constraint generated by incorporating the dedicated timing constraint 21 into the timing constraint 2, and indicates the timing of signals in the embedded circuit 23. As a specific example, the RTL designer generates the embedded constraint 24 by appropriately incorporating the dedicated timing constraint 21 into the timing constraint 2.

[0018] The worst-case condition calculation unit 11 calculates the worst-case condition 22 using an embedded circuit 23 and embedded constraints 24. Here, the embedded constraints 24 include the dedicated timing constraints 21. The worst-case condition calculation unit 11 can uniquely determine the relationship between data input to the embedded circuit 23 and an enable that latches the data, and can determine the upper limit of the delay value in the asynchronous clock interface path based on the dedicated timing constraint 21. The worst-case condition calculation unit 11 calculates the worst condition 22 by considering the wiring delay that is expected to occur in the post-layout netlist and conditions other than the wiring delay related to the circuit delay. The conditions other than the wiring delay related to the circuit delay are conditions related to the timing deviation of the signal. When the upper limit of the wiring delay that is expected to occur in the post-layout netlist is determined, the worst-case condition calculation unit 11 can calculate the conditions for statically verifying the asynchronous clock interface circuit by calculating the worst condition by considering the determined upper limit of the wiring delay and the conditions other than the wiring delay. The worst-case condition calculation unit 11 may calculate the worst condition 22 based on the characteristics of the signal generated in the embedded circuit 23 when the embedded circuit 23 is mounted on a board.

[0019] The static verification tool execution unit 12 verifies the quality of the embedded circuit 23 by executing a verification tool that statically verifies the quality of the embedded circuit 23 using the embedded circuit 23, the timing constraint of the embedded circuit 23, and the calculated worst condition 22. At this time, the static verification tool execution unit 12 verifies the quality of the embedded circuit 23 including a timing deviation due to at least one of a wiring delay in a post-layout netlist corresponding to the embedded circuit 23 and a condition related to a timing deviation of a signal. The static verification tool execution unit 12 generates the embedded circuit 23 by replacing a target asynchronous clock interface circuit, which is an asynchronous clock interface circuit included in the target circuit, with a dedicated circuit corresponding to the interface format of the target asynchronous clock interface circuit. The verification tool may be a commercially available tool, and a specific example is the tool shown in [Non-Patent Document 1]. The verification tool may be installed in the circuit quality confirmation device 10 or in another device.

[0020] The verification result analysis unit 13 analyzes the results of the static verification tool execution unit 12 executing the verification tool.

[0021] The judgment result display unit 14 displays the results of the analysis performed by the verification result analysis unit 13, and is also called a quality pass / fail judgment display unit.

[0022] Figure 2 shows a specific example of an asynchronous clock interface circuit, CDC-IP 20. The asynchronous clock interface circuit is a circuit expressed in a hardware description language. Signal 30 is an asynchronous data signal. The signal 31 is an asynchronous enable signal for capturing the signal 30 at a subsequent stage of the asynchronous clock interface path within the CDC-IP 20 . In Fig. 2, the asynchronous clock interface path is the wiring 32 and the wiring 33. In Fig. 2, the subsequent stage of the asynchronous clock interface path is a flip-flop that captures the signals transmitted through each of the wiring 32 and the wiring 33. Note that the subsequent stage of the asynchronous clock interface path in the CDC-IP20 may be simply referred to as the subsequent stage. The wiring 32 is a wiring for transmitting the signal 30 whose waveform has been shaped. The wiring 33 is a wiring for transmitting the signal 31 whose waveform has been shaped. By appropriately determining the timing constraints of signals 30 and 31, if there is no delay in each signal, the asynchronous data can be reliably captured in the subsequent stage. In addition, the timing of CDC-IP20 is uniquely determined by appropriately setting in advance at least one of the wiring delay value of wires 32 and 33, the setup / hold value of the flip-flop, the clock skew value, and the phase difference between the asynchronous clocks.

[0023] Each of Fig. 3 and Fig. 4 shows a timing chart corresponding to the CDC-IP 20 shown in Fig. 2. Fig. 3 and Fig. 4 show that the timing of latching data at the latter stage of the asynchronous clock interface path in the CDC-IP 20 differs depending on the signal delay state. Here, the arrow Y1 indicates the data delay (dat_in_latch_r). The arrow Y2 indicates the delay of the enable signal (ena_tff_r / Q). The maximum values ​​of the delay indicated by the arrow Y1 and the delay indicated by the arrow Y2 are managed by the dedicated timing constraint 21. The arrow Y3 shows the state of latching data (dat_out_r / D) at the timing when the enable control (ena_mid) is High. The arrow X indicates the hold width of the enable signal (ena_tff_r / Q).

[0024] FIG. 3 shows a specific example in which, in a state where there is a data retention width indicated by an arrow X, the subsequent stage can latch data with a margin.

[0025] Figure 4 shows a specific example where data can be latched just in time at the later stage within the data retention width indicated by the arrow X. In Figure 4, the enable signal (ena_tff_r / Q) is delayed by one cycle on the receiving side compared to the case shown in Figure 3. This delay occurs when the enable signal reaches the flip-flop and the data cannot be latched just in time. In addition to the delay in transmission of the enable signal due to the phase relationship between the asynchronous clocks, a delay occurs due to wiring delay, as indicated by the inclination of the arrow Y2. If the wiring delay is not specified, the wiring delay can take any value in principle. If the wiring delay is large, the signal propagation to the subsequent stage is delayed by the amount of the large wiring delay. Here, by setting an upper limit on the wiring delay for the enable signal (ena_tff_r / Q) using the dedicated timing constraint 21, it is possible to prevent wiring delays greater than the wiring delay shown in FIG. 4. This allows the worst-case condition calculation unit 11 to calculate the worst-case condition 22. 4, as a result of the occurrence of the delay, there is less margin for the timing of the data latch in the subsequent stage. If the enable signal (ena_tff_r / Q) is further delayed until the next cycle, the data cannot be latched in the subsequent stage. Or, if the data retention width indicated by the arrow X is short, the data will be missed in the subsequent stage. That is, FIG. 4 shows a specific example of the worst-case condition 22 including the delay value after performing logic synthesis and layout.

[0026] The static verification tool execution unit 12 inputs the worst condition 22 to the verification tool, or sets the worst condition 22 in the verification tool. This enables the static verification tool execution unit 12 to perform verification based on the worst condition 22, and since the embedded circuit 23 is verified while taking into consideration the phase relationship between asynchronous clocks or the delay value, etc., no problem with comprehensiveness occurs. As described above, the circuit quality confirmation device 10 can judge the pass / fail quality of the circuit operation of the embedded circuit 23.

[0027] The worst-case condition calculation unit 11 calculates the worst-case condition 22. Specifically, the worst-case condition calculation unit 11 calculates the worst-case condition 22 indicating the hold period of the enable signal (ena_tff_r / Q) required for normal circuit operation by uniquely determining the waveforms to be input and output in the CDC-IP 20 and limiting the delay value of the asynchronous clock interface path by the dedicated timing constraint 21. The hold period of the enable signal (ena_tff_r / Q) required for normal circuit operation is the period during which data is held until the enable signal (ena_tff_r / Q) reaches the flip-flop that latches the data on the receiving side, as shown in Figure 4.

[0028] 5 shows an example of a hardware configuration of the circuit quality confirmation device 10 according to this embodiment. The circuit quality confirmation device 10 is made up of a computer. The circuit quality confirmation device 10 may be made up of multiple computers.

[0029] As shown in the figure, the circuit quality confirmation device 10 is a computer including hardware such as a processor 51, a memory 52, an auxiliary storage device 53, an input / output IF (Interface) 54, and a communication device 55. These pieces of hardware are appropriately connected via signal lines 59.

[0030] The processor 51 is an integrated circuit (IC) that performs arithmetic processing and controls hardware included in a computer. Specific examples of the processor 51 include a central processing unit (CPU), a digital signal processor (DSP), or a graphics processing unit (GPU). The circuit quality confirmation device 10 may include a plurality of processors that replace the processor 51. The plurality of processors share the role of the processor 51.

[0031] The memory 52 is typically a volatile storage device, and a specific example is a RAM (Random Access Memory). The memory 52 is also called a primary storage device or a main memory. Data stored in the memory 52 is saved in the auxiliary storage device 53 as necessary.

[0032] The auxiliary storage device 53 is typically a non-volatile storage device, and specific examples thereof include a ROM (Read Only Memory), an HDD (Hard Disk Drive), or a flash memory. Data stored in the auxiliary storage device 53 is loaded into the memory 52 as necessary. The memory 52 and the auxiliary storage device 53 may be integrated into one unit.

[0033] The input / output IF 54 is a port to which an input device and an output device are connected. A specific example of the input / output IF 54 is a Universal Serial Bus (USB) terminal. Specific examples of the input device are a keyboard and a mouse. A specific example of the output device is a display.

[0034] The communication device 55 is a receiver and a transmitter, and is, for example, a communication chip or a network interface card (NIC).

[0035] Each unit of the circuit quality checking device 10 may use the input / output IF 54 and the communication device 55 as appropriate when communicating with other devices.

[0036] The auxiliary storage device 53 stores a circuit quality confirmation program. The circuit quality confirmation program is a program that causes a computer to realize the functions of each unit of the circuit quality confirmation device 10. The circuit quality confirmation program is loaded into the memory 52 and executed by the processor 51. The functions of each unit of the circuit quality confirmation device 10 are realized by software.

[0037] Data used when executing the circuit quality confirmation program and data obtained by executing the circuit quality confirmation program are appropriately stored in a storage device. Each part of the circuit quality confirmation device 10 uses a storage device as appropriate. As a specific example, the storage device is composed of at least one of the memory 52, the auxiliary storage device 53, a register in the processor 51, and a cache memory in the processor 51. Note that the terms "data" and "information" may have the same meaning. The storage device may be independent of the computer. The functions of the memory 52 and the auxiliary storage device 53 may be realized by other storage devices.

[0038] The circuit quality confirmation program may be recorded in a computer-readable non-volatile recording medium. Specific examples of the non-volatile recording medium include an optical disk and a flash memory. The circuit quality confirmation program may be provided as a program product.

[0039] ***Explanation of Operation*** The operation procedure of the circuit quality confirmation device 10 corresponds to a circuit quality confirmation method, and the program that realizes the operation of the circuit quality confirmation device 10 corresponds to a circuit quality confirmation program.

[0040] 6 is a flowchart showing an example of the operation of the circuit quality confirmation device 10. The operation of the circuit quality confirmation device 10 will be described with reference to FIG.

[0041] (Step S10: Preparation process) The circuit quality confirmation device 10 prepares a CDC-IP 20 corresponding to an asynchronous clock interface path included in the RTL 1 and a dedicated timing constraint 21 .

[0042] (Step S11: Circuit generation process) In this step, an embedded circuit 23 is generated by incorporating the CDC-IP 20 into the RTL 1. Also in this step, an embedded constraint 24 is generated by incorporating the dedicated timing constraint 21 into the timing constraint 2.

[0043] (Step S12: Worst condition calculation process) The worst-case condition calculation unit 11 calculates a worst-case condition 22 based on the CDC-IP 20 and the dedicated timing constraint 21 .

[0044] (Step S13: Static verification tool execution process) The static verification tool execution unit 12 inputs the worst condition 22, the built-in circuit 23, and the built-in constraints 24 to the static verification tool, and verifies the built-in circuit 23 using the static verification tool.

[0045] (Step S14: Verification result analysis process) The verification result analysis unit 13 checks the quality of the embedded circuit 23 by analyzing the results of the static verification tool execution unit 12 executing the static verification tool.

[0046] (Step S15: Determination result display process) The judgment result display unit 14 displays the results of the analysis performed by the verification result analysis unit 13 .

[0047] ***Explanation of the Effects of the First Embodiment*** As described above, according to this embodiment, by using the embedded circuit 23 and the worst condition 22, it is possible to comprehensively verify patterns to be verified in the quality verification of the embedded circuit 23. Furthermore, according to this embodiment, by using a static verification tool, it is possible to automatically determine the quality pass / fail of the embedded circuit 23 with respect to whether it operates normally. According to Patent Document 1, in order to verify the RTL, a verification RTL is generated for each delay pattern, and each generated verification RTL is verified. Therefore, according to Patent Document 1, all assumed RTL delay patterns can be verified using the verification RTL, but it is not possible to handle delays greater than the assumed delay after layout is performed. Also, in Patent Document 1, the amount of verification RTL to be generated increases when the asynchronous clock interface circuit to be verified has a large number of bits or when the assumed delay value is large. Therefore, in these cases, simulation takes a long time and management of the generated RTL becomes cumbersome. According to Non-Patent Document 1, static asynchronous verification is possible by analyzing the circuit structure, so that the time required for verification can be reduced. However, according to Non-Patent Document 1, it is not possible to verify the phase difference between asynchronous clocks, and it is also not possible to verify the circuit taking into account wiring delays and the like after the circuit is implemented. Therefore, there is a problem that there is a possibility that the circuit may have a defect even if an error is not detected by a verification tool. On the other hand, according to this embodiment, the timing is uniquely determined, and the upper limit of the expected delay is stipulated by the dedicated timing constraint 21. Therefore, according to this embodiment, the circuit can be statically verified by a verification tool while taking into consideration the operation related to the signal timing intended by the circuit designer and the worst timing condition caused by wiring delays and the like after the circuit is implemented, and the quality of the circuit operation can be judged without generating a large number of verification RTLs.

[0048] ***Other configurations*** <Variation 1> FIG. 7 shows an example of the hardware configuration of the circuit quality confirmation device 10 according to this modified example. The circuit quality confirmation device 10 includes a processing circuit 58 in place of the processor 51 , the processor 51 and a memory 52 , the processor 51 and an auxiliary storage device 53 , or the processor 51 , the memory 52 , and the auxiliary storage device 53 . The processing circuit 58 is hardware that realizes at least a part of each unit included in the circuit quality confirmation device 10. The processing circuitry 58 may be dedicated hardware, or may be a processor that executes programs stored in the memory 52 .

[0049] When processing circuitry 58 is dedicated hardware, processing circuitry 58 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a combination thereof. The circuit quality confirmation device 10 may include a plurality of processing circuits that replace the processing circuit 58. The plurality of processing circuits share the role of the processing circuit 58.

[0050] In the circuit quality confirmation device 10, some of the functions may be realized by dedicated hardware, and the remaining functions may be realized by software or firmware.

[0051] Processing circuitry 58 is illustratively implemented in hardware, software, firmware, or a combination thereof. The processor 51, memory 52, auxiliary storage device 53, and processing circuit 58 are collectively referred to as the “processing circuitry.” In other words, the functions of the functional components of the circuit quality confirmation device 10 are realized by the processing circuitry. The circuit quality checking device 10 according to other embodiments may also have a similar configuration to this modified example.

[0052] Embodiment 2 The following mainly describes the differences from the above-described embodiment with reference to the drawings.

[0053] ***Configuration Description*** 8 shows a configuration example of a circuit quality confirmation system 90 according to this embodiment. The circuit quality confirmation device 10 according to this embodiment stores a CDC-IP group 40 instead of the CDC-IP 20, and stores a dedicated timing constraint group 41 instead of the dedicated timing constraint 21.

[0054] The CDC-IP group 40 is a collection of CDC-IPs that are candidates for replacing the asynchronous clock interface circuit included in the RTL 1. Here, the design concept of each CDC-IP included in the CDC-IP group 40 is the same as the design concept of the CDC-IP 20. The circuit quality confirmation device 10 stores various CDC-IPs 20 so that the asynchronous clock interface circuit can be appropriately replaced according to the type of the asynchronous clock interface circuit included in the RTL 1. Specific examples of the types of the asynchronous clock interface circuit include a circuit that transfers a multi-bit signal, a circuit that transfers a single-bit signal, and a circuit that transfers a pulse signal. There are also other types of asynchronous clock interface circuits depending on the timing or method of transferring signals. The RTL 1 and CDC-IP 20 according to this embodiment are circuits that correspond to the type of the asynchronous clock interface circuit.

[0055] Each of the dedicated timing constraint group 41 is a timing constraint corresponding to each of the CDC-IP group 40. The number of dedicated timing constraints included in the dedicated timing constraint group 41 is the same as the number of CDC-IPs included in the CDC-IP group 40.

[0056] ***Explanation of Operation*** The operation of the circuit quality confirmation device 10 according to the present embodiment is basically the same as the operation of the circuit quality confirmation device 10 according to embodiment 1. Below, the operation of the circuit quality confirmation device 10 according to the present embodiment that differs from the operation of the circuit quality confirmation device 10 according to embodiment 1 will be mainly described.

[0057] (Step S11: Circuit generation process) In this step, a CDC-IP suitable for the asynchronous clock interface circuit included in the RTL1 is selected from the CDC-IP group 40, and the selected CDC-IP is incorporated into the RTL1 instead of the CDC-IP 20 to generate an embedded circuit 23. Also, in this step, a dedicated timing constraint corresponding to the selected CDC-IP is selected from the dedicated timing constraint group 41, and the selected dedicated timing constraint is incorporated into the timing constraint 2 instead of the dedicated timing constraint 21 to generate an embedded constraint 24. If the RTL1 includes a plurality of asynchronous clock interface circuits, the above-described process is executed for each asynchronous clock interface circuit included in the RTL1 in this step.

[0058] ***Explanation of the effect of the second embodiment*** As described above, according to this embodiment, it is possible to select an appropriate CDC-IP depending on the type of asynchronous clock interface circuit included in the RTL1.

[0059] Embodiment 3 The following mainly describes the differences from the above-described embodiment with reference to the drawings.

[0060] ***Configuration Description*** 9 shows an example of the configuration of a circuit quality confirmation system 90 according to this embodiment. The circuit quality confirmation device 10 according to this embodiment further includes a timing condition changing section 60 as shown in FIG. 9, the timing condition modification unit 60 includes a logic synthesis / layout unit 61, a layout result analysis unit 62, a dedicated timing constraint relaxation unit 63, a worst condition modification unit 64, an execution result display unit 65, and an analysis result storage unit 66. When the static verification tool execution unit 12 judges that there is no problem with the quality of the embedded circuit 23 and there is a violation of the dedicated timing constraint 21 in the post-layout netlist corresponding to the embedded circuit 23, the timing condition modification unit 60 generates a modified dedicated timing constraint by relaxing the upper limit value of the delay value of the dedicated timing constraint 21 according to the asynchronous clock interface path and delay value corresponding to the violation, and modifies the worst condition 22 according to the difference between the dedicated timing constraint 21 and the modified dedicated timing constraint. Here, the modified dedicated timing constraint is generated so that the probability that the violation of the modified dedicated timing constraint occurs in the post-layout netlist is lower than the probability that the violation of the dedicated timing constraint 21 occurs in the post-layout netlist. Moreover, the modification of the worst condition 22 is performed according to the timing changed by modifying the dedicated timing constraint 21. The purpose of the timing condition change unit 60 is to reduce the burden on the tool that executes the layout by relaxing the timing constraints. As a specific example, in a circuit corresponding to the timing chart shown in FIG. 3, the enable period requires about five cycles of the latter stage clock due to the time it takes to propagate data (the number of flip-flop stages) + wiring delay + other conditions (phase, etc.). If the wiring delay becomes even larger, the required enable period will be even longer. Here, if the enable period to be latched can be made longer, the timing constraint can be relaxed. Therefore, when it is determined that the tool cannot execute the layout due to the strict timing constraints, the timing condition change unit 60 relaxes the Maxdelay constraint of the dedicated timing constraint 21. As a specific example, the specification of the enable generation circuit for making the enable period longer is a specification that latches the input data (dat_in) by the enable (ena_in) in the circuit shown in FIG. 2 and extends the input data while the enable is valid. As a timing constraint during layout, a timing constraint that the delay between the wiring 32 and the wiring 33 is within one cycle is assumed.

[0061] The logic synthesis and layout unit 61 executes the logic synthesis and layout of the circuit using the built-in circuit 23 and the built-in timing constraint 24 as input, thereby generating a netlist and performing placement and wiring. The logic synthesis and layout unit 61 may be a commercially available logic synthesis and layout tool, and a specific example is the tool shown in [Reference 1]. The logic synthesis and layout tool may be installed in the circuit quality confirmation device 10, or may be installed in another device.

[0062] [Reference 1] Synopsys Japan, LLC, "IC Compiler II", [online], [Retrieved April 19, 2022], Internet <URL:https: / / www.synopsys.com / ja-jp / implementation-and-signoff / physical-implementation / ic-compiler.html>

[0063] The layout result analysis unit 62 checks the execution result of the logic synthesis and layout unit 61 using a STA (Static Timing Analysis) tool or the like to check whether there is a violation of the dedicated timing constraint 21. If there is a violation of the dedicated timing constraint 21 in the execution result, the layout result analysis unit 62 stores the asynchronous clock interface path and delay value corresponding to the violation in the analysis result storage unit 66.

[0064] The dedicated timing constraint relaxation unit 63 relaxes the dedicated timing constraint 21 based on the execution result of the layout result analysis unit 62. The timing constraint relaxation is to change the dedicated timing constraint 21. Specifically, the dedicated timing constraint relaxation unit 63 resets the MaxDelay constraint for the asynchronous clock interface path stored by the layout result analysis unit 62 based on the delay value corresponding to the violation. At this time, the dedicated timing constraint relaxation unit 63 executes in units of cycles of clk_dst in consideration of the timing condition change unit 70 described later. As a specific example, when clk_dst is a 2 ns cycle, if the delay of the MaxDelay constraint indicated by the dedicated timing constraint 21 is 2 ns, and the delay value of the asynchronous clock interface path becomes 3 ns as a result of executing the logic synthesis / layout tool, the dedicated timing constraint relaxation unit 63 changes the MaxDelay constraint corresponding to the asynchronous clock interface path to 4 ns.

[0065] A worst-case condition modification unit 64 modifies the worst-case condition 22 in accordance with the relaxation performed by the dedicated timing constraint relaxation unit 63 . Fig. 10 is a specific example showing a case where the delay value of the enable signal (ena_tff_r / Q) shown in Fig. 4 becomes larger by one cycle of clk_dst from the timing at which data can be latched at the very last moment in the subsequent stage of the enable signal (ena_tff_r / Q). As described above, when the MaxDelay constraint indicated by the dedicated timing constraint 21 is relaxed, the maximum delay value may increase by the amount of the relaxation. In Fig. 10, it can be seen that the propagation of the enable signal (ena_tff_r / Q) is delayed because the delay value increases by one cycle of clk_dst due to the relaxation of the dedicated timing constraint 21, so that the next data, data B, has arrived at the time when data (dat_out_r / Q) is output, and data A has been missed. Fig. 11 is a diagram showing a case where the hold period of the enable signal (ena_tff_r / Q) is extended by one cycle of clk_dst from the hold period shown in Fig. 10. As can be seen from Fig. 10 and Fig. 11, when the delay increases by one cycle of clk_dst, it is necessary to extend the hold period of the enable signal (ena_tff_r / Q) by one cycle of clk_dst. Therefore, the worst-case condition change unit 64 extends the hold period of the enable signal (ena_tff_r / Q) set under the worst condition 22 by the amount of relaxation by the dedicated timing constraint relaxation unit 63.

[0066] The execution result display unit 65 displays the relaxation results of the dedicated timing constraint relaxation unit 63 and the change results of the worst-case condition change unit 64.

[0067] ***Explanation of Operation*** 12 shows an example of the operation of the circuit quality confirmation device 10. The operation of the circuit quality confirmation device 10 will be described with reference to FIG.

[0068] (Step S60: Logic synthesis and layout processing) The logic synthesis and layout unit 61 executes logic synthesis and layout using the CDC-IP 20 corresponding to the asynchronous clock interface circuit included in the embedded circuit 23 and the dedicated timing constraint 24 as input.

[0069] (Step S61: Layout result analysis process) The layout result analysis unit 62 judges whether or not there is a violation of the dedicated timing constraint 21 as a result of executing the logic synthesis and layout processing. As a specific example, when the dedicated timing constraint 21 is a MaxDelay constraint, a violation means the presence of a path exceeding a specified delay value. If there is no violation, the verification ends and the circuit quality verification device 10 ends the process of this flowchart. If there is a violation, the layout result analysis unit 62 records the asynchronous clock interface path and delay value corresponding to the violation in the analysis result storage unit 66, and the circuit quality verification device 10 proceeds to step S62.

[0070] (Step S62: Dedicated timing constraint relaxation process) The dedicated timing constraint relaxation unit 63 modifies the dedicated timing constraint 21 in accordance with the asynchronous clock interface path and delay value corresponding to the timing violation, based on the CDC-IP 20, the dedicated timing constraint 21, and the asynchronous clock interface path and delay value stored in the analysis result storage unit 66.

[0071] (Step S63: Worst condition change process) The worst-case condition change unit 64 modifies the worst-case condition 22. Specifically, the worst-case condition change unit 64 extends the hold period condition of the enable signal (ena_tff_r / Q) according to the value of the dedicated timing constraint 21 modified (relaxed) in step S62.

[0072] (Step S64: Execution result display process) The execution result display unit 65 displays the results of execution by the dedicated timing constraint relaxing unit 63 and the worst-case condition changing unit 64, respectively.

[0073] ***Explanation of the Effects of the Third Embodiment*** As described above, according to this embodiment, when a violation of the dedicated timing constraint 21 occurs as a result of executing logic synthesis and layout, an analysis of the timing result is automatically executed, and the dedicated timing constraint 21 and the worst condition 22 are corrected, so that the RTL can be verified again and logic synthesis and layout can be executed without modifying the RTL or improving the timing by manual layout, etc. Therefore, according to this embodiment, the possibility of having to go back to the design work, layout work, etc. can be reduced.

[0074] Embodiment 4 The following mainly describes the differences from the above-described embodiment with reference to the drawings.

[0075] ***Configuration Description*** 13 shows an example of the configuration of a circuit quality confirmation system 90 according to this embodiment. The circuit quality confirmation device 10 according to this embodiment further includes a timing condition changing section 70, as shown in FIG. The timing condition modification unit 70 includes a logic synthesis and layout unit 61, a layout result analysis unit 62, a flip-flop addition unit 71, a dedicated timing constraint modification unit 72, a worst condition modification unit 64, an execution result display unit 65, and an analysis result storage unit 66. When the static verification tool execution unit 12 judges that there is no problem with the quality of the embedded circuit 23 and there is a violation of the dedicated timing constraint 21 in the post-layout netlist corresponding to the embedded circuit 23, the timing condition modification unit 70 adds a flip-flop to the dedicated circuit according to the asynchronous clock interface path and delay value corresponding to the violation. In addition, the timing condition modification unit 70 modifies the worst condition 22 according to the timing changed by adding the flip-flop to the dedicated circuit.

[0076] In the third embodiment, the timing condition modification unit 60 modifies the dedicated timing constraint 21 to relax the upper limit of the delay value in the post-layout netlist, thereby reducing the possibility that the embedded circuit 23 violates the dedicated timing constraint 21. Here, by inserting a flip-flop into a signal line with a large delay, the wiring is shortened, and therefore the delay in the post-layout netlist can be relaxed.

[0077] In the third embodiment, the dedicated timing constraint 21 is changed by changing the value of the MaxDelay constraint in the dedicated timing constraint relaxing unit 63 . In this embodiment, the layout conditions are relaxed by inserting a flip-flop into the embedded circuit 23, so there is no need to change the values ​​of the dedicated timing constraints 21. However, because the name of the asynchronous interface path changes when a flip-flop is inserted, it is necessary to change the start point or end point of the MaxDelay constraint.

[0078] FIG. 14 shows an example according to the fourth embodiment. FIG. 14 shows a case where a flip-flop is inserted into the wiring 33 of the CDC-IP 20 when a violation of the MaxDelay constraint set in the wiring 33 shown in FIG. 2 occurs after the layout. The flip-flop adding unit 71 inserts a flip-flop into the CDC-IP path that has a violation of the dedicated timing constraint 21, thereby shortening the wiring of the path and mitigating the violation of the dedicated timing constraint 21 that occurs when the next logic synthesis and layout are performed. The flip-flop adding unit 71 may similarly insert a flip-flop into the wiring 32, or may insert flip-flops into both the wiring 33 and the wiring 32.

[0079] In FIG. 14, since the flip-flop adding unit 71 adds a flip-flop to the previous stage, the propagation of the enable signal in the subsequent stage is delayed by one cycle with respect to the propagation of the enable signal in the previous stage. Therefore, when a flip-flop is added, the worst-case condition changing unit 64 additionally considers one cycle of the clock in the previous stage as a delay in the dedicated timing constraint 21 related to the paths. Here, when the clock in the previous stage is faster than the clock in the subsequent stage as in the specific example, adding a flip-flop in the previous stage has less impact on the timing. Note that the flip-flop adding unit 71 may add a flip-flop in the subsequent stage when the difference between the frequency of the previous stage and the frequency of the subsequent stage is small, or when there is a problem in adding a flip-flop in the previous stage.

[0080] ***Explanation of the effect of the fourth embodiment*** As described above, according to this embodiment, if a violation of the dedicated timing constraint 21 occurs as a result of performing logic synthesis and layout, the wiring distance between paths can be shortened by inserting a flip-flop, thereby reducing the possibility of a violation of the dedicated timing constraint 21 occurring when logic synthesis and layout are performed again. Moreover, according to this embodiment, by modifying the worst condition 22, it is possible to perform verification again, logic synthesis, and layout without performing other timing improvements.

[0081] ***Other embodiments*** The above-described embodiments may be freely combined, or any of the components in each embodiment may be modified, or any of the components in each embodiment may be omitted. Moreover, the embodiments are not limited to those shown in the first to fourth embodiments, and various modifications are possible as necessary. The procedures explained using the flowcharts and the like may be modified as appropriate. [Explanation of symbols]

[0082] 1 RTL, 2 Timing constraints, 10 Circuit quality confirmation device, 11 Worst-case condition calculation unit, 12 Static verification tool execution unit, 13 Verification result analysis unit, 14 Judgment result display unit, 20 CDC-IP, 21 Dedicated timing constraints, 22 Worst-case condition, 23 Embedded circuit, 24 Embedded constraints, 30, 31 Signal, 32, 33 Wiring, 40 CDC-IP group, 41 Dedicated timing constraint group, 51 Processor, 52 Memory, 53 Auxiliary storage device, 54 Input / output IF, 55 Communication device, 58 Processing circuit, 59 Signal line, 60 Timing condition change unit, 61 Logic synthesis / layout unit, 62 Layout result analysis unit, 63 Dedicated timing constraint relaxation unit, 64 Worst-case condition change unit, 65 Execution result display unit, 66 Analysis result storage unit, 70 Timing condition change unit, 71 Flip-flop addition unit, 72 Dedicated timing constraint modification section, 90 Circuit quality verification system.

Claims

1. a worst-condition calculation unit that calculates a worst-condition, which is a timing condition that corresponds to a theoretical limit at which data can be taken in at a subsequent stage of the asynchronous clock interface path in the embedded circuit, using a dedicated timing constraint indicating an upper limit of a wiring delay value of an asynchronous clock interface path in an embedded circuit in which a dedicated circuit that is an asynchronous clock interface circuit including an asynchronous clock interface path is incorporated, the worst-condition being a timing condition calculated based on a wiring delay that is expected to occur in a post-layout netlist corresponding to a circuit generated by executing a layout corresponding to the embedded circuit, and a delay time caused by at least one of a phase relationship between asynchronous clocks, a clock jitter, a clock skew, a setup time, and a hold time in the dedicated circuit; a static verification tool execution unit that verifies quality of the embedded circuit by executing a verification tool that statically verifies quality of the embedded circuit using the embedded circuit, a timing constraint of the embedded circuit, and the calculated worst-case condition; Equipped with The circuit quality confirmation device, wherein each of the dedicated circuit, which is the asynchronous clock interface circuit, and the built-in circuit is a circuit expressed in a hardware description language.

2. 2. The circuit quality confirmation device according to claim 1, wherein the embedded circuit is a circuit mounted on an integrated circuit.

3. 3. The circuit quality verification device according to claim 1, wherein the static verification tool execution unit generates the embedded circuit by replacing a target asynchronous clock interface circuit, which is an asynchronous clock interface circuit included in a target circuit, with a dedicated circuit corresponding to an interface format of the target asynchronous clock interface circuit.

4. The circuit quality confirmation device further includes: a timing condition modification unit that, when the static verification tool execution unit determines that there is no problem with the quality of the embedded circuit and when a violation of the dedicated timing constraint is present in the post-layout netlist, generates a modified dedicated timing constraint by relaxing an upper limit value of a delay value of the dedicated timing constraint according to an asynchronous clock interface path and a delay value corresponding to the violation, and modifies the worst condition according to a difference between the dedicated timing constraint and the modified dedicated timing constraint. Equipped with 3. The circuit quality verification device according to claim 1, wherein the modified dedicated timing constraint is generated so that a probability that a violation of the modified dedicated timing constraint occurs in the post-layout netlist is lower than a probability that a violation of the dedicated timing constraint occurs in the post-layout netlist.

5. The circuit quality confirmation device further includes: a timing condition modification unit that, when the static verification tool execution unit determines that there is no problem with the quality of the embedded circuit and when there is a violation of the dedicated timing constraint in the post-layout netlist corresponding to the embedded circuit, adds a flip-flop to the dedicated circuit according to an asynchronous clock interface path and a delay value corresponding to the violation, and modifies the worst condition according to a timing changed by adding the flip-flop to the dedicated circuit.

3. The circuit quality confirmation device according to claim 1, further comprising:

6. a computer calculates a worst-case condition, which is a timing condition that corresponds to a theoretical limit at which data can be taken in at a subsequent stage of the asynchronous clock interface path in the embedded circuit, using a dedicated timing constraint indicating an upper limit of a wiring delay value of an asynchronous clock interface path in an embedded circuit incorporating a dedicated circuit that is an asynchronous clock interface circuit including an asynchronous clock interface path, and which is a timing condition calculated based on a wiring delay that is expected to occur in a post-layout netlist that corresponds to a circuit generated by executing a layout corresponding to the embedded circuit, and a delay time caused by at least one of a phase relationship between asynchronous clocks, a clock jitter, a clock skew, a setup time, and a hold time in the dedicated circuit; a circuit quality verification method for verifying quality of the embedded circuit by executing a verification tool that statically verifies quality of the embedded circuit using the embedded circuit, a timing constraint of the embedded circuit, and a calculated worst-case condition, the method comprising: The circuit quality confirmation method, wherein each of the dedicated circuit, which is the asynchronous clock interface circuit, and the embedded circuit is a circuit expressed in a hardware description language.

Citation Information

Patent Citations

  • Timing constraint-generating system of logic circuit and timing constraint-generating method of logic circuit, control program, and readable recording medium

    JP2008123056A

  • Asynchronous interface verification device, asynchronous interface verification method and its program

    JP2013037596A

  • Clock domain bridge static timing analysis

    US20160380748A1