Functional Verification System
The functional verification system addresses synchronization errors in LSIs by using a delay control circuit to adjust the sampling clock, ensuring accurate verification with a compact circuit design.
Patent Information
- Application Number
- JP2023573921
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-01-14
- Filing Date
- 2022-12-14
- Publication Date
- 2024-08-19
- Estimated Expiration
- 2042-12-14
AI Technical Summary
Existing functional verification systems for LSIs like FPGAs and ASICs face synchronization errors due to delays between the LSI and external devices, leading to incorrect verification and increased circuit area requirements for phase control circuits.
A functional verification system that includes an input reception section and an output stage control unit with a delay control circuit to adjust the sampling clock, eliminating synchronization differences between the verification system and subsequent devices.
Enables accurate functional verification with a reduced circuit scale by maintaining synchronization without reducing clock speeds.
Smart Images

Figure 0007536202000018 
Figure 0007536202000005 
Figure 0007536202000007
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a functional verification system. [Background technology]
[0002] In the development of LSIs (Large Scale Integration) such as FPGAs (Field Programmable Gate Arrays) or ASICs (Application Specific Integrated Circuits), logic design is carried out to realize the functions to be implemented, and then logic verification is carried out to check whether the circuit functions have been realized correctly. Verification is usually carried out using a logic simulator, and then function verification is carried out using a prototype board that includes the actual LSI to be verified and peripheral devices.
[0003] In this functional verification using the actual device, delays occur between the LSI to be verified and the external LSI that transmits and receives data with the LSI to be inspected. This delay can cause malfunctions (hereafter referred to as synchronization deviations) due to insufficient setup time, etc. If a malfunction occurs, there are cases where functional verification cannot be performed correctly.
[0004] There are known devices for preventing such malfunctions. For example, the emulation device described in Patent Document 1 includes an internal stage processing unit that samples data according to an internal clock in which the phase of a reference clock received via a cable has been adjusted for internal processing, and an output stage processing unit that samples data according to an output clock in which the phase of the reference clock has been adjusted for output to an electronic circuit board. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2015-207050 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, in Patent Document 1, a common clock is supplied to the front-stage register, the back-stage register, and the emulation device of the target device. Depending on the delay in the clock line of the target device, synchronization error may occur, making it impossible to perform function verification correctly.
[0007] Furthermore, the emulation device described in Patent Document 1 requires dedicated phase control circuits for the internal stage processing section and the output stage processing section of the LSI to be verified, which increases the circuit area.
[0008] Therefore, an object of the present disclosure is to provide a function verification system capable of performing function verification on a small circuit scale. [Means for solving the problem]
[0009] The function verification system disclosed herein is a function verification system for verifying the function of a target device connected to a front-stage device and a rear-stage device, and the function verification system is connected to the front-stage device and the rear-stage device by cables. The function verification system includes an input receiving unit that samples data sent from the front-stage device based on a sampling clock sent from the front-stage device, an internal data processing unit that samples data output from the input receiving unit based on the sampling clock, and an output stage control unit that samples data output from the internal data processing unit based on the sampling clock and outputs the data to the rear-stage device. The output stage control unit includes a delay control circuit that outputs a clock obtained by delaying the sampling clock to the rear-stage device when a synchronization error occurs between the function verification system and the rear-stage device so that the synchronization error is eliminated.
[0010] The function verification system disclosed herein is a function verification system for verifying the function of a target device connected to a front-stage device and a rear-stage device, and the function verification system is connected to the front-stage device and the rear-stage device by cables. The function verification system includes an input receiving unit that samples data sent from the front-stage device based on a sampling clock, an internal data processing unit that samples data output from the input receiving unit based on the sampling clock, and an output stage control unit that samples data output from the internal data processing unit based on the sampling clock and outputs the data to the rear-stage device. The input receiving unit includes a delay control circuit that generates a sampling clock that is a delayed version of the clock sent from the front-stage device so as to eliminate a synchronization error when a synchronization error occurs between the front-stage device and the function verification system. Effect of the Invention
[0011] According to the present disclosure, function verification can be performed on a small circuit scale. [Brief description of the drawings]
[0012] [Figure 1] 1 is a diagram showing a configuration of an electronic circuit board 100 including a function verification system 200 according to a first embodiment. [Diagram 2] FIG. 13 is a diagram showing the configuration of a function verification system 200Z of a reference example. [Diagram 3] 13 is a diagram showing an example of clock and data timing when a function verification system 200Z of a reference example is used. FIG. [Figure 4] FIG. 13 is a diagram showing another example of clock and data timing when the function verification system 200Z is used. [Diagram 5] FIG. 1 illustrates a configuration of a function verification system 200 according to a first embodiment. [Figure 6] 2 is a diagram showing a configuration of a delay control circuit 212. FIG. [Figure 7] 4 is a flowchart showing a procedure for controlling a delay of a sampling clock 203 in the first embodiment. [Figure 8] 11 is a diagram showing an example of clock and data timing when the function verification system 200 is used. FIG. [Figure 9] FIG. 13 is a diagram illustrating an example of a timing chart when a function verification system 200Z of a reference example is used. [Figure 10] 1 is a diagram showing a configuration of an electronic circuit board 100 including a function verification system 200A according to a second embodiment. [Figure 11] FIG. 13 illustrates a configuration of a function verification system 200A according to a second embodiment. [Figure 12] FIG. 2 is a diagram showing a configuration of a delay control circuit 212A. [Figure 13] 13 is a flowchart showing a procedure for controlling a delay of a sampling clock 203 in the second embodiment. [Figure 14] 11 is a diagram showing an example of clock and data timing when a function verification system 200A is used. FIG. [Figure 15] FIG. 13 is a diagram showing the configuration of a delay control circuit 212B. [Figure 16] 13 is a flowchart showing a procedure for controlling a delay of the sampling clock 203 in the third embodiment. [Figure 17] FIG. 13 is a diagram showing the configuration of a delay control circuit 212C. [Figure 18] 13 is a flowchart showing a procedure for controlling a delay of the sampling clock 203 in the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, an embodiment will be described with reference to the drawings. Embodiment 1 Fig. 1 is a diagram showing the configuration of an electronic circuit board 100 including a function verification system 200 according to the first embodiment or a function verification system 200Z of a reference example. Fig. 2 is a diagram showing the configuration of a function verification system 200Z of the reference example.
[0014] The function verification system 200Z is configured to perform function verification of an LSI such as an FPGA or an ASIC by using a prototype board before the LSI is mounted on a product board. The function verification system 200Z is arranged to verify the functions of a target device connected to an external LSI 101, which is a front-stage device, and an external LSI 108, which is a rear-stage device.
[0015] In the electronic circuit board 100, the external LSI 101, which is a front-stage device, the function verification systems 200 and 200Z, and the external LSI 108, which is a rear-stage device, are connected in series. The external LSI 101 and the function verification systems 200 and 200Z are connected by a cable 351. The function verification systems 200 and 200Z and the external LSI 108 are connected by a cable 352.
[0016] A sampling clock 105 output from a crystal oscillator circuit 301 present on an electronic circuit board 100 is input to an external LSI 101. The sampling clock 105 is also sent to function verification systems 200, 200Z. A sampling clock 107 output from the function verification systems 200, 200Z is sent to an external LSI 108. Note that this embodiment does not assume a case in which the sampling clock 105 is used as the sampling clock 107 of the external LSI 108 as it is without passing through the function verification systems 200, 200Z. That is, this embodiment is premised on the assumption that the sampling clock 105 is generated via the function verification systems 200, 200Z and used as the sampling clock 107.
[0017] The external LSI 101 includes a register 103. The register 103 latches input data 102 in accordance with a sampling clock 105, and outputs data 104.
[0018] Data 104 output from the external LSI 101 is transmitted through a cable 351 and input to the function verification systems 200 and 200Z as data 202. Sampling clock 105 output from the crystal oscillation circuit 301 is transmitted through a cable 351 and input to the function verification systems 200 and 200Z as sampling clock 203.
[0019] The function verification system 200Z includes an input receiving unit 201, an internal processing unit 205, and an output stage control unit 209.
[0020] The input receiving unit 201 includes a register 204. The register 204 latches the data 202 in accordance with a sampling clock 203, and outputs the data 206 to the internal processing unit 205.
[0021] The internal processing unit 205 includes a register 207. The register 207 latches the data 206 in accordance with the sampling clock 203, and outputs the data 210 to the output stage control unit 209.
[0022] The output stage control section 209 includes a register 211. The register 211 latches the data 210 in accordance with the sampling clock 203, and outputs the data 216. The signal width of the data 216 is one bit or multiple bits.
[0023] The data 216 output from the function verification system 200Z is transmitted through a cable 352 and input to the external LSI 108 as the data 106. The sampling clock 203 output from the function verification system 200Z is transmitted through a cable 352 and input to the external LSI 108 as the sampling clock 107.
[0024] The external LSI 108 includes a register 109. The register 109 latches the data 106 in accordance with the sampling clock 107, and outputs data 110.
[0025] Next, the operation of the function verification system 200Z will be described with reference to a timing chart.
[0026] 3 is a diagram showing an example of clock and data timing when the reference example function verification system 200Z is used. This example shows an ideal operation when no synchronization loss occurs.
[0027] The register 103 of the external LSI 101 latches the data 102 in accordance with the sampling clock 105 and outputs the data 104. The data 104 is transmitted through a cable 351 and input to the function verification system 200Z as data 202. The sampling clock 105 is also transmitted through the cable 351 and input to the function verification system 200Z as a sampling clock 203.
[0028] A register 204 in an input receiving unit 201 latches the data 202 in accordance with a sampling clock 203 and outputs the data 206 .
[0029] A register 207 in the internal processing unit 205 latches the data 206 in accordance with the sampling clock 203 and outputs the data 210 .
[0030] The register 207 of the output stage control unit 209 latches the data 210 in accordance with the sampling clock 203, and outputs the data 216. The data 216 is transmitted through a cable 352 and input to the external LSI 108 as the data 106. The sampling clock 203 is transmitted through a cable 352 and input to the external LSI 108 as the sampling clock 107.
[0031] A register 109 in an external LSI 108 latches the data 106 in accordance with a sampling clock 107 , and outputs data 110 .
[0032] When no synchronization error occurs between the function verification system 200Z and the external LSI 108, the internal processing unit 205 of the function verification system 200Z samples the data 206 according to the sampling clock 203 at time t1 to obtain the data B, and the LSI 108 samples the data 106 according to the sampling clock 107 at time t2 to obtain the data B.
[0033] 4 is a diagram showing another example of clock and data timing when the function verification system 200Z is used. In this example, an operation in the case where a synchronization error occurs is shown.
[0034] Due to a delay caused by the transmission time of the cable 351, the sampling clock 203 is delayed by Δt1 with respect to the sampling clock 105, and due to a delay caused by the transmission time of the cable 352, the sampling clock 107 is delayed by Δt2 with respect to the sampling clock 203. As a result, the data 106 is delayed by Δt3 with respect to the data 216.
[0035] At time t3, the internal processing unit 205 of the function verification system 200Z samples the data 206 in accordance with the sampling clock 203 to obtain data B, and at time t4, the LSI 108 samples the data 106 in accordance with the sampling clock 107 to obtain data A. Due to the above operations, a synchronization error occurs between the function verification system 200Z and the LSI 108.
[0036] 5 is a diagram showing a configuration of a function verification system 200 according to the embodiment 1. This function verification system 200 differs from a function verification system 200Z of the reference example in that an output stage control section 209A of the function verification system 200 includes a delay control circuit 212.
[0037] FIG. 6 is a diagram showing a configuration of delay control circuit 212. As shown in FIG. The delay control circuit 212 includes a synchronization deviation detection result acquisition unit 214 , a random number generation controller 216 , a random number generator 215 , and a delay circuit 213 .
[0038] The synchronization out-of-sync detection result acquisition unit 214 acquires the detection result of whether or not there is a synchronization out-of-sync. If the circuit of external LSI 108 does not have a circuit function for checking whether or not a synchronization error has occurred, the user operates an external synchronization error detection terminal (for example, an oscilloscope or a logic analyzer) to observe data 210 and data 110. The user detects whether a synchronization error has occurred based on the observation result, and inputs the detection result to synchronization error detection result acquisition unit 214.
[0039] If the circuit of the external LSI 108 has a circuit function for detecting whether or not a synchronization out-of-sync has occurred, the detection circuit of the external LSI 108 detects whether or not a synchronization out-of-sync has occurred based on the data 210, the data 110, and expected value data that is ideal in which no synchronization out-of-sync occurs.
[0040] When a synchronization error occurs, the random number generation controller 216 causes the random number generator 215 to generate random numbers. The random number generation controller 216 sets the random number range and the step size of the random numbers. The random number range is from 0 to n. The maximum value n is set by the user. As a constraint on the random number width (resolution), no minimum value is defined, and the maximum value is the clock period T of the sampling clock 203. For example, when the frequency of the sampling clock 203 is 100 mHz, the period T of the sampling clock 203 is 10 ns, so the random number width (resolution) is greater than 0 ns and less than 10 ns.
[0041] The random number generator 215 generates a random number as the specified delay amount ΔD. Random selection of a random number is usually performed using a random number generated by an algorithm. There are two methods for selecting a delay value: directly generating a random number within a given random number range, or processing other random numbers (usually uniform random numbers) to obtain random numbers with a given distribution. In this embodiment, the former method is applied.
[0042] The delay circuit 213 delays the sampling clock 203 by a delay amount ΔD designated by a random number output by a random number generator 215 , and outputs a sampling clock 217 .
[0043] The sampling clock 217 is transmitted through a cable 352 and input to the external LSI 108 as the sampling clock 107 .
[0044] FIG. 7 is a flowchart showing a procedure for controlling the delay of the sampling clock 203 in the first embodiment.
[0045] In step S101, the random number generation controller 216 sets the random number range and step size.
[0046] In step S102, when synchronization loss detection result acquisition section 214 receives information indicating that synchronization loss has occurred, the process proceeds to step S103.
[0047] In step S103, the random number generator 215 generates random numbers with a given frequency distribution within the set range and step size set in step S101.
[0048] In step S104, if the generated random number is the already generated random number, the process returns to step S103, and if the generated random number is not the already generated random number, the process proceeds to step S105.
[0049] In step S105, the random number generator 215 sends the generated random number as the specified delay amount ΔD to the delay circuit 213. The delay circuit 213 generates the sampling clock 217 by delaying the sampling clock 203 by the specified delay amount ΔD.
[0050] 8 is a diagram showing an example of clock and data timing when using the function verification system 200. In this example, an operation in which a synchronization error is eliminated is shown.
[0051] 4, due to a delay caused by the transmission time of the cable 351, the sampling clock 203 is delayed by Δt1 time with respect to the sampling clock 105. The sampling clock 217 is generated by delaying the sampling clock 203 by ΔD time. Due to a delay caused by the transmission time of the cable 352, the sampling clock 107 is delayed by Δt4 time with respect to the sampling clock 217. As a result, the data 106 is delayed by Δt5 time with respect to the data 216.
[0052] At time t5, the internal processing unit 205 of the function verification system 200 samples the data 206 in accordance with the sampling clock 203 to acquire data B. At time t6, the LSI 108 samples the data 106 in accordance with the sampling clock 107 to acquire data B. Through the above operations, synchronization is maintained between the function verification system 200 and the LSI 108.
[0053] As described above, in the function verification system 200 according to the first embodiment, the delay control circuit 212 in the output stage control section 209A delays the sampling clock 203 by an appropriate time and outputs it to the LSI 108 so as to prevent synchronization loss between the function verification system 200 and the LSI 108. This enables high-speed logic verification without reducing the clock speeds of the sampling clocks 105, 203, 217, and 107.
[0054] In the above embodiment, when the sampling clock 203 and the sampling clock 105 are out of sync and the sampling clock 203 and the sampling clock 107 are out of sync, the sampling clock 203 is delayed and controlled to prevent synchronization error between the function verification system 200 and the LSI 108.
[0055] Even if the sampling clock 203 and the sampling clock 105 are not out of sync but the sampling clock 203 and the sampling clock 107 are out of sync, it is possible to prevent synchronization loss between the function verification system 200 and the LSI 108 by delay-controlling the sampling clock 203 in a similar manner.
[0056] Embodiment 2 In the first embodiment, the location where out-of-synchronization occurs is the register 109 of the external LSI 108, whereas in the second embodiment, the location where out-of-synchronization occurs is the input receiving unit 201A of the function verification system 200A. That is, the second embodiment targets out-of-synchronization that occurs within the function verification system 200A.
[0057] 9 is a diagram showing an example of a timing chart when the function verification system 200Z of the reference example is used. In this example, an operation in the case where a synchronization error occurs is shown.
[0058] Due to delays caused by the transmission time of the cable 351, the sampling clock 203 is delayed by Δtx time with respect to the sampling clock 105, and the data 202 is delayed by Δtx time with respect to the data 104. As a result, the data 206 is delayed by Δty time with respect to the data 202.
[0059] At time ta, the LSI 101 samples the data 102 in accordance with the sampling clock 105, acquires the data A, and outputs the data 104. At time tb, the internal processing unit 205 of the function verification system 200Z samples the data 206 in accordance with the sampling clock 203, but cannot acquire the data A. Due to the above operations, a synchronization error occurs between the LSI 101 and the function verification system 200Z.
[0060] 10 is a diagram showing a configuration of an electronic circuit board 100 including a function verification system 200A according to the second embodiment. In the second embodiment, the function verification system 200A is used instead of the function verification system 200.
[0061] FIG. 11 is a diagram showing the configuration of a function verification system 200A according to the second embodiment. The function verification system 200A of the second embodiment differs from the function verification system 200 of the first embodiment in that the input receiving section 201A includes a delay control circuit 212A, and the output stage control section 209A does not include the delay control circuit 212.
[0062] FIG. 12 is a diagram showing the configuration of delay control circuit 212A. The delay control circuit 212A includes a synchronization deviation detection result acquisition section 214A, a random number generation controller 216, a random number generator 215, and a delay circuit 213A.
[0063] The synchronization out-of-sync detection result acquisition unit 214A acquires the detection result of whether or not there is a synchronization out-of-sync. A user operates an external synchronization deviation detection terminal (for example, an oscilloscope or a logic analyzer) to observe data 216, data 104, and data 206. The user detects whether a synchronization deviation has occurred based on the observation result, and inputs the detection result to synchronization deviation detection result acquisition unit 214A.
[0064] The random number generation controller 216 and the random number generator 215 are similar to those in the first embodiment, and therefore the description will not be repeated.
[0065] The delay circuit 213 A delays the sampling clock 203 by the delay amount ΔDa specified by the random number output by the random number generator 215 , and outputs the sampling clock 303 .
[0066] The sampling clock 303 is sent to each component of the function verification system 200A, and is also transmitted through a cable 352 and input to the external LSI 108 as the sampling clock 107.
[0067] FIG. 13 is a flowchart showing a procedure for controlling the delay of the sampling clock 203 in the second embodiment.
[0068] In step S201, the random number generation controller 216 sets the random number range and step size.
[0069] In step S202, when synchronization loss detection result acquisition section 214A receives information indicating that synchronization loss has occurred, the process proceeds to step S203.
[0070] In step S203, the random number generator 215 generates random numbers with a given frequency distribution within the set range and step size set in step S201.
[0071] In step S204, if the generated random number is the already generated random number, the process returns to step S203, and if the generated random number is not the already generated random number, the process proceeds to step S205.
[0072] In step S205, the random number generator 215 sends the generated random number as the designated delay amount ΔDa to the delay circuit 213 A. The delay circuit 213 A delays the sampling clock 203 by the designated delay amount ΔDa to generate the sampling clock 303.
[0073] FIG. 14 is a diagram showing an example of clock and data timing when the function verification system 200A is used.
[0074] 9, due to delays caused by the transmission time of the cable 351, the sampling clock 203 is delayed by the time Δtx with respect to the sampling clock 105, and the data 202 is delayed by the time Δtx with respect to the data 104.
[0075] A sampling clock 303 is generated by delaying the sampling clock 203 by ΔDa. As a result, the data 206 is delayed by Δty with respect to the data 202.
[0076] At time ta, the LSI 101 samples the data 102 in accordance with the sampling clock 105, acquires the data A, and outputs the data 104. At time tc, the internal processing unit 205 of the function verification system 200A samples the data 206 in accordance with the sampling clock 303, and acquires the data A. Through the above operations, synchronization error between the LSI 101 and the function verification system 200A is eliminated.
[0077] As described above, in the function verification system 200A according to the second embodiment, the delay control circuit 212A in the input receiving unit 201A delays the sampling clock 203 by an appropriate time to generate the sampling clock 303 so as to prevent synchronization loss between the LSI 108 and the function verification system 200A, and supplies the sampling clock 303 to each component of the function verification system 200A. This enables high-speed logic verification without lowering the clock speeds of the sampling clock 105, the sampling clock 203, the sampling clock 303, and the sampling clock 107.
[0078] Embodiment 3 The function verification system of this embodiment has the same basic configuration as the function verification system of the first embodiment shown in Fig. 5. In the function verification system of this embodiment, the output stage control unit 209A includes a delay control circuit 212B instead of the delay control circuit 212.
[0079] FIG. 15 is a diagram showing a configuration of delay control circuit 212B. The delay control circuit 212B includes a synchronization deviation detection result acquisition section 214B, a random number generation controller 216B, a random number generator 215B, a delay circuit 213B, and a delay amount holding circuit 217.
[0080] Similar to the synchronization loss detection result acquisition unit 214 in the first embodiment, the synchronization loss detection result acquisition unit 214B acquires the detection result of the presence or absence of synchronization loss.
[0081] When the first function verification is performed, the random number generation controller 216B and the random number generator 215B operate in the same manner as the random number generation controller 216 and the random number generator 215 described in the first embodiment. The random number generation controller 216B and the random number generator 215B do not operate when the second or subsequent function verification is performed.
[0082] The delay amount holding circuit 217 holds the amount of delay after the synchronization error is eliminated when the function verification is executed for the first time.
[0083] When the first function verification is performed, the delay circuit 213B operates in the same manner as the delay circuit 213 described in the first embodiment. When the second or subsequent function verification is performed, the delay circuit 213B delays the sampling clock 203 by the delay amount held in the delay amount holding circuit 217 to generate the sampling clock 217.
[0084] FIG. 16 is a flowchart showing a procedure for controlling the delay of the sampling clock 203 in the third embodiment.
[0085] In step S301, the random number generation controller 216B sets the random number range and step size.
[0086] In step S302, when synchronization loss detection result acquisition section 214B receives information indicating that synchronization loss has occurred, the process proceeds to step S303.
[0087] In step S303, if the current function verification is the second or subsequent function verification, the process proceeds to step S308, and if the current function verification is the first function verification, the process proceeds to step S304.
[0088] In step S304, the random number generator 215B generates random numbers with a given frequency distribution within the set range and step size set in step S301.
[0089] In step S305, if the generated random number is the already generated random number, the process returns to step S304, and if the generated random number is not the already generated random number, the process proceeds to step S306.
[0090] In step S306, the random number generator 215B sends the generated random number to the delay circuit 213B as the specified delay amount ΔD. The delay circuit 213B generates the sampling clock 217 by delaying the sampling clock 203 by the specified delay amount ΔD.
[0091] In step S307, when synchronization-out detection result acquisition section 214B receives information indicating that synchronization out-of-sync has been resolved, the process proceeds to step S308.
[0092] In step S308, the delay amount holding circuit 217 holds the delay amount ΔD. In step S309, the delay circuit 213B delays the sampling clock 203 by the delay amount ΔD held in the delay amount holding circuit 217 to generate the sampling clock 217.
[0093] In this embodiment, since the delay amount set the first time can be reused when the function verification is performed for the second or subsequent times, the speed of the function verification can be increased.
[0094] Embodiment 4 The function verification system of this embodiment has the same basic configuration as the function verification system of the second embodiment shown in Fig. 11. In the function verification system of this embodiment, the input receiving unit 201A includes a delay control circuit 212C instead of the delay control circuit 212A.
[0095] FIG. 17 is a diagram showing a configuration of delay control circuit 212C. The delay control circuit 212C includes a synchronization deviation detection result acquisition section 214C, a random number generation controller 216C, a random number generator 215C, a delay circuit 213C, and a delay amount holding circuit 217C.
[0096] The synchronization loss detection result acquisition unit 214C acquires the detection result of the presence or absence of a synchronization loss, similarly to the synchronization loss detection result acquisition unit 214A in the first embodiment.
[0097] When the first function verification is performed, the random number generation controller 216C and the random number generator 215C operate in the same manner as the random number generation controller 216 and the random number generator 215 described in the second embodiment. The random number generation controller 216C and the random number generator 215C do not operate when the second or subsequent function verification is performed.
[0098] The delay amount holding circuit 217C holds the delay amount after the synchronization error is eliminated when the function verification is executed for the first time.
[0099] When the first function verification is performed, the delay circuit 213C operates in the same manner as the delay circuit 213A described in the second embodiment. When the second or subsequent function verification is performed, the delay circuit 213C generates the sampling clock 303 by delaying the sampling clock 203 by the delay amount held in the delay amount holding circuit 217C.
[0100] FIG. 18 is a flowchart showing a procedure for controlling the delay of the sampling clock 203 in the fourth embodiment.
[0101] In step S401, the random number generation controller 216C sets the random number range and step size.
[0102] In step S402, when synchronization loss detection result acquisition section 214C receives information indicating that synchronization loss has occurred, the process proceeds to step S403.
[0103] In step S403, if the current function verification is the second or subsequent function verification, the process proceeds to step S409, and if the current function verification is the first function verification, the process proceeds to step S404.
[0104] In step S404, the random number generator 215C generates random numbers with a given frequency distribution within the set range and step size set in step S401.
[0105] In step S405, if the generated random number is the already generated random number, the process returns to step S404, and if the generated random number is not the already generated random number, the process proceeds to step S406.
[0106] In step S406, the random number generator 215C sends the generated random number as the designated delay amount ΔDa to the delay circuit 213C. The delay circuit 213C generates the sampling clock 303 by delaying the sampling clock 203 by the designated delay amount ΔDa.
[0107] In step S407, when synchronization-out detection result acquisition section 214C receives information indicating that synchronization out-of-sync has been resolved, the process proceeds to step S408.
[0108] In step S408, the delay amount holding circuit 217C holds the delay amount ΔDa. In step S 409 , the delay circuit 213 C delays the sampling clock 203 by the delay amount ΔDa held in the delay amount holding circuit 217 to generate the sampling clock 303 .
[0109] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present disclosure is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]
[0110] 100 electronic circuit board, 103, 109, 204, 207, 211 register, 200, 200A, 200Z function verification system, 201, 201A input reception unit, 205 internal processing unit, 209, 209A output stage control unit, 212, 212A, 212B, 212C, 212D delay control circuit, 213, 213A, 213B, 213C delay circuit, 214, 214A, 214B, 214C synchronization deviation detection result acquisition unit, 215, 215B, 215C random number generator, 216, 216B, 216C random number generation controller, 217, 217C delay amount holding circuit, 301 crystal oscillator circuit, 351, 352 cable, 101, 108 external LSI.
Claims
1. A function verification system for verifying a function of a target device connected to a front-stage device and a rear-stage device, the function verification system being connected to the front-stage device and the rear-stage device by cables; an input receiving unit that samples data sent from the preceding device based on a sampling clock sent from the preceding device; an internal data processing unit that samples data output from the input receiving unit based on the sampling clock; an output stage control unit that samples the data output from the internal data processing unit based on the sampling clock and outputs the data to the downstream device; The output stage control unit includes: a delay control circuit that outputs a clock that is a delayed version of the sampling clock to the downstream device so that a synchronization error occurs between the function verification system and the downstream device, thereby eliminating the synchronization error.
2. 2. The functional verification system of claim 1, wherein the delay control circuit generates a random delay amount when a synchronization error occurs between the functional verification system and the downstream device, and outputs a clock obtained by delaying the sampling clock by the random delay amount to the downstream device, and when the synchronization error is not resolved, repeats generating the random delay amount and outputting the clock obtained by delaying the sampling clock by the random delay amount.
3. the delay control circuit, when the synchronization error occurs during the initial function verification, generates the random delay amount, and outputs a clock obtained by delaying the sampling clock by the random delay amount to the downstream device, and holds the delay amount after the synchronization error is eliminated; 3. The function verification system according to claim 2, wherein if the synchronization error occurs during a second or subsequent function verification, a clock obtained by delaying the sampling clock by the held delay amount is output to the downstream device.
4. A function verification system for verifying a function of a target device connected to a front-stage device and a rear-stage device, the function verification system being connected to the front-stage device and the rear-stage device by a cable; an input receiving unit that samples data sent from the preceding device based on a sampling clock; an internal data processing unit that samples data output from the input receiving unit based on the sampling clock; an output stage control unit that samples the data output from the internal data processing unit based on the sampling clock and outputs the data to the downstream device; The input receiving unit is A function verification system including a delay control circuit that generates a sampling clock by delaying a clock sent from the upstream device so that a synchronization error is eliminated when a synchronization error occurs between the upstream device and the function verification system.
5. 5. The functional verification system of claim 4, wherein the delay control circuit generates a random delay amount when a synchronization error occurs between the upstream device and the functional verification system, and generates the sampling clock by delaying the clock sent from the upstream device by the random delay amount, and when the synchronization error is not resolved, repeats the generation of the random delay amount and the generation of the sampling clock by delaying the clock sent from the upstream device by the random delay amount.
6. the delay control circuit generates the random delay amount and the sampling clock when the synchronization error occurs during an initial function verification, and holds the delay amount after the synchronization error is eliminated; 6. The functional verification system according to claim 5, wherein when the synchronization deviation occurs during the second or subsequent functional verification, the sampling clock is generated by delaying the clock sent from the preceding device by the held delay amount.
7. 7. The functional verification system according to claim 2, 3, 5 or 6, wherein the width of the random delay amount is equal to or less than the period of the sampling clock.
Citation Information
Patent Citations
Asynchronous circuit verification method and asynchronous circuit verification program
JP2005284426A
Emulation apparatus
JP2015207050A
