WO2023136034A1 - 機能検証システム - Google Patents

機能検証システム Download PDF

Info

Publication number
WO2023136034A1
WO2023136034A1 PCT/JP2022/046010 JP2022046010W WO2023136034A1 WO 2023136034 A1 WO2023136034 A1 WO 2023136034A1 JP 2022046010 W JP2022046010 W JP 2022046010W WO 2023136034 A1 WO2023136034 A1 WO 2023136034A1
Authority
WO
WIPO (PCT)
Prior art keywords
sampling clock
verification system
function verification
clock
delay amount
Prior art date
Application number
PCT/JP2022/046010
Other languages
English (en)
French (fr)
Inventor
和茂 橋本
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2023573921A priority Critical patent/JPWO2023136034A1/ja
Publication of WO2023136034A1 publication Critical patent/WO2023136034A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter

Definitions

  • This disclosure relates to a function verification system.
  • LSI Large Scale Integration
  • FPGA Field Programmable Gate Array
  • ASIC Application Specific Integrated Circuit
  • an emulation device described in Patent Document 1 includes an internal stage processing unit that samples data according to an internal clock whose phase is adjusted for internal processing of a reference clock received via a cable, and an electronic circuit that detects the phase of the reference clock. and an output stage processing section for sampling data according to an output clock adjusted for output to the board.
  • Patent Document 1 a common clock is supplied to the front-stage register, the rear-stage register, and the emulation device of the target device. Since a synchronization error occurs depending on the delay amount of the clock line of the coping device, function verification cannot be performed correctly.
  • 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, increasing the circuit area.
  • an object of the present disclosure is to provide a function verification system capable of performing function verification with a small circuit scale.
  • a function verification system of the present disclosure is a function verification system for verifying the functions of a target device connected to a preceding device and a subsequent device, wherein the function verification system includes both the preceding device and the latter device. Connected by cable.
  • the function verification system includes an input receiving section that samples data sent from the preceding device based on the sampling clock sent from the preceding device, and an internal device that samples data output from the input receiving section based on the sampling clock.
  • a data processing unit and an output stage control unit that samples data output from the internal data processing unit based on a sampling clock and outputs the data to a subsequent device.
  • the output stage control unit outputs a clock obtained by delaying the sampling clock to the subsequent stage device so as to eliminate the synchronization deviation between the function verification system and the subsequent stage device. Includes delay control circuitry.
  • a function verification system of the present disclosure is a function verification system for verifying the functions of a target device connected to a preceding device and a subsequent device, wherein the function verification system includes both the preceding device and the latter device. Connected by cable.
  • the function verification system includes an input receiving section that samples data sent from the preceding device based on the sampling clock, an internal data processing section that samples data output from the input receiving section based on the sampling clock, a sampling and an output stage control section for sampling data output from the internal data processing section based on the clock and outputting the data to a subsequent device.
  • the input reception unit generates a sampling clock by delaying the clock sent from the preceding device so that if a synchronization deviation occurs between the preceding device and the function verification system, the synchronization deviation is eliminated. It includes a delay control circuit that
  • FIG. 1 is a diagram showing a configuration of electronic circuit board 100 including function verification system 200 of Embodiment 1.
  • FIG. It is a figure showing the structure of the function verification system 200Z of a reference example.
  • FIG. 10 is a diagram showing an example of clock and data timing when using the function verification system 200Z of the reference example;
  • FIG. 11 is a diagram showing another example of clock and data timing when using function verification system 200Z;
  • 1 is a diagram showing the configuration of a function verification system 200 according to Embodiment 1;
  • FIG. 3 is a diagram showing a configuration of delay control circuit 212.
  • FIG. 4 is a flow chart showing a procedure of delay control of sampling clock 203 in Embodiment 1.
  • FIG. 4 is a diagram showing an example of clock and data timing when using the function verification system 200;
  • FIG. 10 is a diagram showing an example of a timing chart when using the function verification system 200Z of the reference example;
  • FIG. 10 is a diagram showing the configuration of an electronic circuit board 100 including a function verification system 200A according to a second embodiment;
  • FIG. 10 is a diagram showing the configuration of a function verification system 200A according to a second embodiment;
  • FIG. FIG. 4 is a diagram showing a configuration of delay control circuit 212A;
  • 10 is a flow chart showing a procedure of delay control of sampling clock 203 in Embodiment 2.
  • FIG. FIG. 4 is a diagram showing an example of clock and data timing when using the function verification system 200A;
  • FIG. 13 is a diagram showing a configuration of delay control circuit 212B; 14 is a flow chart showing a procedure of delay control of sampling clock 203 in Embodiment 3.
  • FIG. FIG. 13 is a diagram showing a configuration of delay control circuit 212C;
  • FIG. 12 is a flow chart showing a procedure of delay control of sampling clock 203 in Embodiment 4.
  • FIG. 1 is a diagram showing the configuration of an electronic circuit board 100 including a function verification system 200 of Embodiment 1 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 a reference example.
  • the function verification system 200Z is configured to perform function verification of an LSI such as FPGA or ASIC using a prototype board before mounting it on a product board.
  • the function verification system 200Z is arranged to verify the functions of the target device connected to the external LSI 101, which is the device in the preceding stage, and the external LSI 108, which is the device in the subsequent stage.
  • the external LSI 101, function verification systems 200 and 200Z, and the external LSI 108 are connected in series.
  • a cable 351 connects the external LSI 101 and the function verification systems 200 and 200Z.
  • Function verification systems 200 and 200Z and external LSI 108 are connected by cable 352 .
  • a sampling clock 105 output from a crystal oscillator circuit 301 present on the electronic circuit board 100 is input to the external LSI 101 .
  • the sampling clock 105 is also sent to the functional verification systems 200, 200Z.
  • a sampling clock 107 output from the function verification systems 200 and 200Z is sent to the external LSI 108 .
  • this embodiment does not assume a case where the sampling clock 105 is directly used as the sampling clock 107 of the external LSI 108 without passing through the function verification systems 200 and 200Z. That is, in this embodiment, it is assumed that the sampling clock 105 uses the clock generated via the function verification systems 200 and 200Z as the sampling clock 107 .
  • the external LSI 101 comprises a register 103.
  • Register 103 latches input data 102 and outputs data 104 according to sampling clock 105 .
  • the data 104 output from the external LSI 101 is transmitted through the cable 351 and input as data 202 to the function verification systems 200 and 200Z.
  • the sampling clock 105 output from the crystal oscillation circuit 301 is transmitted through the cable 351 and input as the sampling clock 203 to the function verification systems 200 and 200Z.
  • the function verification system 200Z includes an input reception unit 201, an internal processing unit 205, and an output stage control unit 209.
  • the input reception unit 201 has a register 204 .
  • Register 204 latches data 202 according to sampling clock 203 and outputs data 206 to internal processing section 205 .
  • the internal processing unit 205 has a register 207 .
  • Register 207 latches data 206 according to sampling clock 203 and outputs data 210 to output stage control section 209 .
  • the output stage control unit 209 has a register 211 .
  • Register 211 latches data 210 and outputs data 216 according to sampling clock 203 .
  • the signal width of data 216 is one or more bits wide.
  • the data 216 output from the function verification system 200Z is transmitted through the 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 the cable 352 and input to the external LSI 108 as the sampling clock 107 .
  • the external LSI 108 has a register 109 .
  • Register 109 latches data 106 and outputs data 110 according to sampling clock 107 .
  • FIG. 3 is a diagram showing an example of clock and data timing when the function verification system 200Z of the reference example is used. This example shows an ideal operation when no out-of-synchronization occurs.
  • the register 103 of the external LSI 101 latches the data 102 and outputs the data 104 according to the sampling clock 105 .
  • Data 104 is transmitted through cable 351 and input as data 202 to function verification system 200Z.
  • the sampling clock 105 is also transmitted through the cable 351 and input as the sampling clock 203 to the function verification system 200Z.
  • the register 204 of the input reception unit 201 latches the data 202 according to the sampling clock 203 and outputs the data 206.
  • the register 207 of the internal processing unit 205 latches the data 206 according to the sampling clock 203 and outputs the data 210.
  • the register 207 of the output stage control unit 209 latches the data 210 according to the sampling clock 203 and outputs the data 216.
  • Data 216 is transmitted through cable 352 and input to external LSI 108 as data 106 .
  • the sampling clock 203 is transmitted through the cable 352 and input to the external LSI 108 as the sampling clock 107 .
  • the register 109 of the external LSI 108 latches the data 106 according to the sampling clock 107 and outputs the data 110.
  • 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 generate the data B
  • the LSI 108 samples the data 106 according to the sampling clock 107 at time t2 to obtain the data B.
  • FIG. 4 is a diagram showing another example of clock and data timing when the function verification system 200Z is used. This example shows the operation when synchronization deviation occurs.
  • the sampling clock 203 is delayed by ⁇ t1 with respect to the sampling clock 105 due to the transmission time delay of the cable 351, and the sampling clock 107 is delayed by ⁇ t2 time with respect to the sampling clock 203 due to the delay due to the transmission time of the cable 352. do.
  • data 106 is delayed with respect to data 216 by ⁇ t3.
  • the internal processing unit 205 of the function verification system 200Z samples the data 206 according to the sampling clock 203 at time t3 to obtain data B, and the LSI 108 samples the data 106 according to the sampling clock 107 at time t4 to obtain data A to get Due to the operation as described above, a synchronization error occurs between the function verification system 200Z and the LSI 108 .
  • FIG. 5 is a diagram showing the configuration of the function verification system 200 according to the first embodiment.
  • This function verification system 200 differs from the function verification system 200Z of the reference example in that the output stage control section 209A of the function verification system 200 includes a delay control circuit 212.
  • FIG. 5 is a diagram showing the configuration of the function verification system 200 according to the first embodiment. This function verification system 200 differs from the function verification system 200Z of the reference example in that the output stage control section 209A of the function verification system 200 includes a delay control circuit 212.
  • FIG. 6 shows a structure of delay control circuit 212.
  • the delay control circuit 212 includes a synchronization deviation detection result acquisition section 214 , a random number generation controller 216 , a random number generator 215 and a delay circuit 213 .
  • the out-of-synchronization detection result acquisition unit 214 acquires the detection result of the presence or absence of out-of-synchronization. If the circuit of the external LSI 108 does not have a circuit function to check the occurrence and non-occurrence of synchronization deviation, the user can detect the data by operating an external synchronization deviation detection terminal (for example, an oscilloscope or a logic analyzer). 210 and data 110 are observed. The user detects occurrence/non-occurrence of synchronization deviation based on the observation result, and inputs the detection result to synchronization deviation detection result acquisition section 214 .
  • an external synchronization deviation detection terminal for example, an oscilloscope or a logic analyzer
  • the detection circuit of the external LSI 108 detects the data 210, the data 110, and the ideal expected value data in which no out-of-synchronization occurs. Based on this, the occurrence/non-occurrence of synchronization deviation is detected.
  • the random number generation controller 216 causes the random number generator 215 to generate a random number when a synchronization error occurs.
  • the random number generation controller 216 sets the random number range and the random number step size.
  • the random number range is from 0 to n.
  • the maximum value n shall be set by the user.
  • the width (resolution) of the random number the minimum value is not 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 width (resolution) of the random number is greater than 0 ns and less than 10 ns.
  • the random number generator 215 generates a random number as the designated delay amount ⁇ D. Random selection of random numbers is usually performed using algorithmically generated random numbers. Delay values can be selected by directly generating random numbers within a given random number range, or by processing other random numbers (usually uniform random numbers) to obtain random numbers with a given distribution. In the form of , the former method is applied.
  • the delay circuit 213 delays the sampling clock 203 by the designated delay amount ⁇ D of the random number output by the random number generator 215 and outputs the sampling clock 217 .
  • the sampling clock 217 is transmitted through the cable 352 and input to the external LSI 108 as the sampling clock 107 .
  • FIG. 7 is a flowchart representing the procedure of delay control of sampling clock 203 in the first embodiment.
  • step S101 the random number generation controller 216 sets the random number range and step size.
  • step S102 when the out-of-synchronization detection result acquisition unit 214 receives information indicating that out-of-synchronization has occurred, the process proceeds to step S103.
  • 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.
  • step S104 if the generated random number is an already generated random number, the process returns to step S103, and if the generated random number is not an already generated random number, the process proceeds to step S105.
  • step S105 the random number generator 215 sends the generated random number to the delay circuit 213 as the designated delay amount ⁇ D.
  • the delay circuit 213 delays the sampling clock 203 by a designated delay amount ⁇ D to generate a sampling clock 217 .
  • FIG. 8 is a diagram showing an example of clock and data timing when the function verification system 200 is used. This example shows the operation when the synchronization deviation is eliminated.
  • sampling clock 203 is delayed by ⁇ t1 with respect to the sampling clock 105 due to the delay due to the transmission time of the cable 351.
  • a sampling clock 217 is generated by delaying the sampling clock 203 by ⁇ D time. Due to the delay due to the transmission time of cable 352, sampling clock 107 is delayed with respect to sampling clock 217 by ⁇ t4. As a result, data 106 is delayed with respect to data 216 by ⁇ t5.
  • the internal processing unit 205 of the function verification system 200 samples the data 206 according to the sampling clock 203 at time t5 to obtain the data B.
  • LSI 108 acquires data B by sampling data 106 according to sampling clock 107 at time t6. Synchronization is maintained between the function verification system 200 and the LSI 108 by the operations described above.
  • the delay control circuit 212 in the output stage control unit 209A is configured to set the sampling clock 203 is delayed by an appropriate time and output to the LSI 108 . This enables high-speed logic verification without lowering the clock speeds of the sampling clock 105, the sampling clock 203, the sampling clock 217, and the sampling clock 107, respectively.
  • the sampling clock 203 and the sampling clock 105 are out of sync, and when the sampling clock 203 and the sampling clock 107 are out of sync, the function verification system 200 is controlled by controlling the delay of the sampling clock 203. and the LSI 108 are prevented from being out of sync.
  • Embodiment 2 In the first embodiment, the out-of-synchronization occurs in the register 109 of the external LSI 108, whereas in the second embodiment, it is the input reception unit 201A of the function verification system 200A. In other words, in the second embodiment, the target is the synchronization deviation that occurs within the function verification system 200A.
  • FIG. 9 is a diagram showing an example of a timing chart when using the function verification system 200Z of the reference example. This example shows the operation when synchronization deviation occurs.
  • the sampling clock 203 is delayed by ⁇ tx with respect to the sampling clock 105, and the data 202 is delayed by ⁇ tx with respect to the data 104.
  • data 206 is delayed with respect to data 202 by ⁇ ty.
  • the LSI 101 samples the data 102 according to the sampling clock 105, acquires the data A, and outputs the data 104.
  • the internal processing unit 205 of the function verification system 200Z samples the data 206 according to the sampling clock 203, but the data A cannot be obtained. Due to the operation as described above, synchronization deviation occurs between the LSI 101 and the function verification system 200Z.
  • FIG. 10 is a diagram showing the configuration of an electronic circuit board 100 including a function verification system 200A according to the second embodiment.
  • a function verification system 200A is used instead of the function verification system 200.
  • FIG. 10 is a diagram showing the configuration of an electronic circuit board 100 including a function verification system 200A according to the second embodiment.
  • a function verification system 200A is used instead of the function verification system 200.
  • FIG. 10 is a diagram showing the configuration of an electronic circuit board 100 including a function verification system 200A according to the second embodiment.
  • a function verification system 200A is used instead of the function verification system 200.
  • 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 has a delay control circuit 212A and the output stage control section 209A has a delay control circuit 212. There is no point.
  • FIG. 12 shows a structure 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.
  • the out-of-synchronization detection result acquisition unit 214A acquires the detection result of the presence or absence of out-of-synchronization.
  • a user observes data 216, data 104, and data 206 by operating an external out-of-synchronization detection terminal (for example, an oscilloscope or a logic analyzer).
  • the user detects occurrence/non-occurrence of out-of-synchronization based on the observation result, and inputs the detection result into out-of-synchronization detection result acquiring section 214A.
  • Random number generation controller 216 and random number generator 215 are the same as those in Embodiment 1, so description thereof will not be repeated.
  • the delay circuit 213A delays the sampling clock 203 by the designated delay amount ⁇ Da of the random number output by the random number generator 215, and outputs the sampling clock 303.
  • the sampling clock 303 is sent to each component of the function verification system 200A, transmitted through the cable 352, and input to the external LSI 108 as the sampling clock 107.
  • FIG. 13 is a flowchart representing the procedure of delay control of sampling clock 203 in the second embodiment.
  • step S201 the random number generation controller 216 sets the random number range and step size.
  • step S202 when the out-of-synchronization detection result acquiring unit 214A receives information indicating that out-of-synchronization has occurred, the process proceeds to step S203.
  • step S203 the random number generator 215 generates random numbers with a given frequency distribution within the setting range and step size set in step S201.
  • step S204 if the generated random number is an already generated random number, the process returns to step S203, and if the generated random number is not an already generated random number, the process proceeds to step S205.
  • step S205 the random number generator 215 sends the generated random number to the delay circuit 213A as the specified delay amount ⁇ Da.
  • the delay circuit 213A delays the sampling clock 203 by the specified delay amount ⁇ Da to generate the sampling clock 303 .
  • FIG. 14 is a diagram showing an example of clock and data timing when the function verification system 200A is used.
  • the sampling clock 203 is delayed by ⁇ tx time from the sampling clock 105 and the data 202 is delayed by ⁇ tx time from the data 104 due to the delay due to the transmission time of the cable 351 .
  • a sampling clock 303 is generated by delaying the sampling clock 203 by ⁇ Da time. As a result, data 206 is delayed with respect to data 202 by ⁇ ty.
  • the LSI 101 samples the data 102 according to the sampling clock 105, acquires the data A, and outputs the data 104.
  • the internal processing unit 205 of the function verification system 200A samples the data 206 according to the sampling clock 303 at time tc to obtain the data A.
  • FIG. By the operation as described above, the synchronization deviation between the LSI 101 and the function verification system 200A is eliminated.
  • the delay control circuit 212A in the input reception unit 201A is controlled by the sampling clock 203 so as not to cause synchronization deviation between the LSI 108 and the function verification system 200A. is delayed by an appropriate time to generate the sampling clock 303 and supply it to each component of the functional verification system 200A. This enables high-speed logic verification without lowering the clock speeds of the sampling clocks 105, 203, 303, and 107, respectively.
  • 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.
  • the output stage control section 209A includes a delay control circuit 212B instead of the delay control circuit 212.
  • FIG. 15 shows a structure 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.
  • FIG. 15 shows a structure 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.
  • the synchronization deviation detection result acquisition unit 214B acquires the detection result of the presence or absence of synchronization deviation in the same manner as the synchronization deviation detection result acquisition unit 214 of the first embodiment.
  • 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 Embodiment 1 when the function verification is performed for the first time.
  • the random number generation controller 216B and the random number generator 215B do not operate when the function verification is performed for the second and subsequent times.
  • the delay amount holding circuit 217 holds the delay amount after the synchronization deviation is eliminated when the function verification is performed for the first time.
  • the delay circuit 213B operates in the same manner as the delay circuit 213 described in the first embodiment when the function verification is performed for the first time.
  • the delay circuit 213B generates the sampling clock 217 by delaying the sampling clock 203 by the delay amount held in the delay amount holding circuit 217 when the function verification is performed for the second and subsequent times.
  • FIG. 16 is a flow chart showing the procedure of delay control of sampling clock 203 in the third embodiment.
  • step S301 the random number generation controller 216B sets the random number range and step size.
  • step S302 when the out-of-synchronization detection result acquisition unit 214B receives information indicating that out-of-synchronization has occurred, the process proceeds to step S303.
  • step S303 if this function verification is the second or later function verification, the process proceeds to step S308, and if this function verification is the first function verification, the process proceeds to step S304.
  • step S304 the random number generator 215B generates random numbers with a given frequency distribution within the setting range and step size set in step S301.
  • step S305 if the generated random number is an already generated random number, the process returns to step S304, and if the generated random number is not an already generated random number, the process proceeds to step S306.
  • step S306 the random number generator 215B sends the generated random number to the delay circuit 213B as the designated delay amount ⁇ D.
  • the delay circuit 213B delays the sampling clock 203 by the designated delay amount ⁇ D to generate the sampling clock 217 .
  • step S307 when the synchronization deviation detection result acquisition unit 214B receives information indicating that the synchronization deviation has been resolved, the process proceeds to step S308.
  • step S308 the delay amount holding circuit 217 holds the delay amount ⁇ D.
  • step S ⁇ b>309 the delay circuit 213 ⁇ /b>B delays the sampling clock 203 by the delay amount ⁇ D held in the delay amount holding circuit 217 to generate the sampling clock 217 .
  • the delay amount set at the first time can be reused for the second and subsequent function verifications, so the speed of the function verification can be increased.
  • 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.
  • the input reception unit 201A includes a delay control circuit 212C instead of the delay control circuit 212A.
  • FIG. 17 shows a structure 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.
  • the synchronization deviation detection result acquisition unit 214C acquires the detection result of the presence or absence of synchronization deviation in the same manner as the synchronization deviation detection result acquisition unit 214A of the first embodiment.
  • 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 when the function verification is performed for the first time.
  • the random number generation controller 216C and the random number generator 215C do not operate when the function verification is performed for the second and subsequent times.
  • the delay amount holding circuit 217C holds the delay amount after the synchronization deviation is eliminated when the function verification is performed for the first time.
  • the delay circuit 213C operates in the same manner as the delay circuit 213A described in the second embodiment when the function verification is performed for the first time.
  • 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 when performing the second and subsequent function verifications.
  • FIG. 18 is a flowchart representing the procedure of delay control of sampling clock 203 in the fourth embodiment.
  • step S401 the random number generation controller 216C sets the random number range and step size.
  • step S402 when the out-of-synchronization detection result acquisition unit 214C receives information indicating that out-of-synchronization has occurred, the process proceeds to step S403.
  • step S403 if this function verification is the second or later function verification, the process proceeds to step S409, and if this function verification is the first function verification, the process proceeds to step S404.
  • step S404 the random number generator 215C generates random numbers with a given frequency distribution within the setting range and step size set in step S401.
  • step S405 if the generated random number is an already generated random number, the process returns to step S404, and if the generated random number is not an already generated random number, the process proceeds to step S406.
  • step S406 the random number generator 215C sends the generated random number to the delay circuit 213C as the designated delay amount ⁇ Da.
  • the delay circuit 213C generates the sampling clock 303 by delaying the sampling clock 203 by a specified delay amount ⁇ Da.
  • step S407 when the synchronization deviation detection result acquisition unit 214C receives information indicating that the synchronization deviation has been resolved, the process proceeds to step S408.
  • step S408 the delay amount holding circuit 217C holds the delay amount ⁇ Da.
  • step S ⁇ b>409 the delay circuit 213 ⁇ /b>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 .

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

機能検証システム(200)は、前段の装置から送られるサンプリングクロックに基づいて、前段の装置から送られるデータをサンプリングする入力受付部(201)と、サンプリングクロックに基づいて、入力受付部(201)から出力されるデータをサンプリングする内部データ処理部(205)と、サンプリングクロックに基づいて、内部データ処理部(205)から出力されるデータをサンプリングして、後段の装置にデータを出力する出力段制御部(209A)とを備える。出力段制御部(209A)は、機能検証システム(100)と後段の装置との間に同期ずれが発生している場合に、同期ずれが解消されるように、サンプリングクロックを遅延させたクロックを後段の装置に出力する遅延制御回路(212)を含む。

Description

機能検証システム
 本開示は、機能検証システムに関する。
 FPGA(Field Programmable Gate Array)、またはASIC(Application Specific Integrated Circuit)などのLSI(Large Scale Integration)の開発において、搭載機能を実現するために論理設計を行い、その後、正しく回路機能が実現できているかどうかの論理検証が実施される。通常は、論理シミュレータを用いて検証が実施され、その後、実機である検証対象のLSIと周辺デバイスとを含むプロトタイプ基板を用いて機能検証を実施される。
 この実機を用いた機能検証において、検証対象のLSIと、検査対象のLSIとデータの送受信を行う外部のLSIとの間に遅延が発生する。この遅延が原因となり、セットアップ時間不足等による誤動作(以降、同期ずれと称す)が発生する場合がある。誤動作が発生すると、機能検証を正しく実施できないケースが発生する。
 このような誤動作を発生させないようにするための装置が知られている。
 たとえば、特許文献1に記載のエミュレーション装置は、ケーブルを介して受け付けた基準クロックの位相を内部処理用に調整した内部クロックに従い、データをサンプリングする内部段処理部と、基準クロックの位相を電子回路基板への出力用に調整した出力クロックに従い、データをサンプリングする出力段処理部とを備える。
特開2015-207050号公報
 しかしながら、特許文献1では、対象装置の前段のレジスタ、後段のレジスタ、およびエミュレーション装置に共通のクロックが供給される。対処装置のクロックラインの遅延量次第によって、同期ずれが発生してしまうので、機能検証を正しく実施することができない。
 さらに、特許文献1に記載のエミレーション装置は、検証対象のLSIの内部段処理部および出力段処理部に専用の位相制御回路が必要となるので、回路面積が増大する。
 それゆえに、本開示の目的は、小さな回路規模で、機能検証を実施することができる機能検証システムを提供することである。
 本開示の機能検証システムは、前段の装置と、後段の装置とに接続される対象装置の機能を検証するための機能検証システムであって、機能検証システムは、前段の装置および後段の装置とケーブルによって接続される。機能検証システムは、前段の装置から送られるサンプリングクロックに基づいて、前段の装置から送られるデータをサンプリングする入力受付部と、サンプリングクロックに基づいて、入力受付部から出力されるデータをサンプリングする内部データ処理部と、サンプリングクロックに基づいて、内部データ処理部から出力されるデータをサンプリングして、後段の装置にデータを出力する出力段制御部とを備える。出力段制御部は、機能検証システムと後段の装置との間に同期ずれが発生している場合に、同期ずれが解消されるように、サンプリングクロックを遅延させたクロックを後段の装置に出力する遅延制御回路を含む。
 本開示の機能検証システムは、前段の装置と、後段の装置とに接続される対象装置の機能を検証するための機能検証システムであって、機能検証システムは、前段の装置および後段の装置とケーブルによって接続される。機能検証システムは、サンプリングクロックに基づいて、前段の装置から送られるデータをサンプリングする入力受付部と、サンプリングクロックに基づいて、入力受付部から出力されるデータをサンプリングする内部データ処理部と、サンプリングクロックに基づいて、内部データ処理部から出力されるデータをサンプリングして、後段の装置にデータを出力する出力段制御部とを備える。入力受付部は、前段の装置と機能検証システムとの間に同期ずれが発生している場合に、同期ずれが解消されるように、前段の装置から送られるクロックを遅延させたサンプリングクロックを生成する遅延制御回路を含む。
 本開示によれば、小さな回路規模で、機能検証を実施することができる。
実施の形態1の機能検証システム200を含む電子回路基板100の構成を表わす図である。 参考例の機能検証システム200Zの構成を表わす図である。 参考例の機能検証システム200Zを用いたときのクロックおよびデータのタイミングの例を表わす図である。 機能検証システム200Zを用いたときのクロックおよびデータのタイミングの別の例を表わす図である。 実施の形態1の機能検証システム200の構成を表わす図である。 遅延制御回路212の構成を表わす図である。 実施の形態1におけるサンプリングクロック203の遅延制御の手順を表わすフローチャートである。 機能検証システム200を用いたときのクロックおよびデータのタイミングの例を表わす図である。 参考例の機能検証システム200Zを用いたときのタイミングチャートの例を表わす図である。 実施の形態2の機能検証システム200Aを含む電子回路基板100の構成を表わす図である。 実施の形態2の機能検証システム200Aの構成を表わす図である。 遅延制御回路212Aの構成を表わす図である。 実施の形態2におけるサンプリングクロック203の遅延制御の手順を表わすフローチャートである。 機能検証システム200Aを用いたときのクロックおよびデータのタイミングの例を表わす図である。 遅延制御回路212Bの構成を表わす図である。 実施の形態3におけるサンプリングクロック203の遅延制御の手順を表わすフローチャートである。 遅延制御回路212Cの構成を表わす図である。 実施の形態4におけるサンプリングクロック203の遅延制御の手順を表わすフローチャートである。
 以下、実施の形態について図面を参照して説明する。
 実施の形態1.
 図1は、実施の形態1の機能検証システム200または参考例の機能検証システム200Zを含む電子回路基板100の構成を表わす図である。図2は、参考例の機能検証システム200Zの構成を表わす図である。
 機能検証システム200Zは、FPGAまたはASIC等のLSIを、プロトタイプ基板を用いて、製品基板搭載前に、機能検証を実施するために構成される。機能検証システム200Zは、前段の装置である外部LSI101と、後段の装置である外部LSI108とに接続される対象装置の機能を検証するために配置される。
 電子回路基板100において、前段の装置である外部LSI101、機能検証システム200,200Z、および後段の装置である外部LSI108が、直列に接続される。外部LSI101と機能検証システム200,200Zとは、ケーブル351によって接続される。機能検証システム200,200Zと外部LSI108とは、ケーブル352によって接続される。
 電子回路基板100上に存在する水晶発振回路301から出力されたサンプリングクロック105が、外部LSI101に入力される。サンプリングクロック105は、機能検証システム200,200Zにも送られる。機能検証システム200,200Zから出力されるサンプリングクロック107が外部LSI108に送られる。なお、機能検証システム200,200Zを経由せず、サンプリングクロック105をそのまま外部LSI108のサンプリングクロック107に用いるケースを、本実施の形態では想定しない。すなわち、本実施の形態では、サンプリングクロック105が機能検証システム200,200Zを経由して生成されるクロックをサンプリングクロック107として使用されることを前提とする。
 外部LSI101は、レジスタ103を備える。レジスタ103は、サンプリングクロック105に従って、入力されるデータ102をラッチし、データ104を出力する。
 外部LSI101から出力されたデータ104は、ケーブル351を通じて伝送されて、機能検証システム200,200Zに、データ202として入力される。水晶発振回路301から出力されたサンプリングクロック105は、ケーブル351を通じて伝送されて、機能検証システム200,200Zに、サンプリングクロック203として入力される。
 機能検証システム200Zは、入力受付部201と、内部処理部205と、出力段制御部209とを備える。
 入力受付部201は、レジスタ204を備える。レジスタ204は、サンプリングクロック203に従って、データ202をラッチして、データ206を内部処理部205に出力する。
 内部処理部205は、レジスタ207を備える。レジスタ207は、サンプリングクロック203に従って、データ206をラッチして、データ210を出力段制御部209に出力する。
 出力段制御部209は、レジスタ211を備える。レジスタ211は、サンプリングクロック203に従って、データ210をラッチして、データ216を出力する。データ216の信号幅は、1ビットまたは複数ビット幅である。
 機能検証システム200Zから出力されたデータ216は、ケーブル352を通じて伝送されて、外部LSI108に、データ106として入力される。機能検証システム200Zから出力されたサンプリングクロック203は、ケーブル352を通じて伝送されて、外部LSI108に、サンプリングクロック107として入力される。
 外部LSI108は、レジスタ109を備える。レジスタ109は、サンプリングクロック107に従って、データ106をラッチして、データ110を出力する。
 次に、機能検証システム200Zの動作について、タイミングチャートを用いて説明する。
 図3は、参考例の機能検証システム200Zを用いたときのクロックおよびデータのタイミングの例を表わす図である。この例は、同期ずれが発生しない場合の理想的な動作が示される。
 外部LSI101のレジスタ103は、サンプリングクロック105に従って、データ102をラッチして、データ104を出力する。データ104は、ケーブル351を通じて伝送されて、機能検証システム200Zにデータ202として入力される。サンプリングクロック105も、ケーブル351を通じて伝送されて機能検証システム200Zにサンプリングクロック203として入力される。
 入力受付部201のレジスタ204が、サンプリングクロック203に従って、データ202をラッチして、データ206を出力する。
 内部処理部205のレジスタ207が、サンプリングクロック203に従って、データ206をラッチして、データ210を出力する。
 出力段制御部209のレジスタ207が、サンプリングクロック203に従って、データ210をラッチして、データ216を出力する。データ216は、ケーブル352を通じて伝送されて、外部LSI108にデータ106として入力される。サンプリングクロック203は、ケーブル352を通じて伝送されて、外部LSI108にサンプリングクロック107として入力される。
 外部LSI108のレジスタ109は、サンプリングクロック107に従って、データ106をラッチして、データ110を出力する。
 機能検証システム200Zと外部LSI108との間において、同期ずれが発生していない場合には、機能検証システム200Zの内部処理部205が、時刻t1にサンプリングクロック203に従って、データ206をサンプリングしてデータBを取得し、LSI108が、時刻t2にサンプリングクロック107に従って、データ106をサンプリングして、データBを取得する。
 図4は、機能検証システム200Zを用いたときのクロックおよびデータのタイミングの別の例を表わす図である。この例では、同期ずれが発生する場合の動作が示される。
 ケーブル351の伝送時間による遅延のため、サンプリングクロック203は、サンプリングクロック105に対してΔt1時間遅延し、ケーブル352の伝送時間による遅延のため、サンプリングクロック107は、サンプリングクロック203に対してΔt2時間遅延する。その結果、データ106は、データ216に対してΔt3時間遅延する。
 機能検証システム200Zの内部処理部205が、時刻t3にサンプリングクロック203に従って、データ206をサンプリングしてデータBを取得し、LSI108が、時刻t4にサンプリングクロック107に従って、データ106をサンプリングしてデータAを取得する。以上のような動作によって、機能検証システム200ZとLSI108の間に同期ずれが発生する。
 図5は、実施の形態1の機能検証システム200の構成を表わす図である。この機能検証システム200が、参考例の機能検証システム200Zと相違する点は、機能検証システム200の出力段制御部209Aが、遅延制御回路212を備える点である。
 図6は、遅延制御回路212の構成を表わす図である。
 遅延制御回路212は、同期ずれ検出結果取得部214と、乱数生成制御器216と、乱数生成器215と、遅延回路213とを備える。
 同期ずれ検出結果取得部214は、同期ずれの有無の検出結果を取得する。
 外部LSI108の回路内に同期ずれの発生および未発生をチェックする回路機能がない場合は、ユーザが外部の同期ずれ検出端末(例えば、オシロスコープまたはロジックアナライザ等)を操作することによって、ユーザが、データ210と、データ110とを観測する。ユーザは、観測結果に基いて、同期ずれ発生/未発生を検出し、検出結果を同期ずれ検出結果取得部214に入力する。
 外部LSI108の回路内に同期ずれの発生の有無を検出する回路機能がある場合は、外部LSI108の検出回路は、データ210と、データ110と、同期ずれが発生しない理想となる期待値データとに基づいて、同期ずれ発生/未発生を検出する。
 乱数生成制御器216は、同期ずれが発生している場合に、乱数生成器215に乱数を生成させる。乱数生成制御器216は、乱数範囲および乱数の刻み幅を設定する。乱数範囲は、0~nの範囲とする。最大値nはユーザ側で設定するものとする。乱数の幅(分解能)の制約として、最小値は定義せず、最大値はサンプリングクロック203のクロック周期Tとする。例えば、サンプリングクロック203の周波数が100mHzの場合は、サンプリングクロック203の周期Tが10nsとなるので、乱数の幅(分解能)は、0nsよりも大きく、10ns未満となる。
 乱数生成器215は、指定遅延量ΔDとして乱数を生成する。乱数のランダムな選択は通常、アルゴリズムによって生成した乱数を用いて行うことが多い。遅延値の選択は、与えられた乱数範囲で乱数を直接発生させる方法、あるいは、他の乱数(通常は一様乱数)を加工して与えられた分布の乱数を得る方法があるが、本実施の形態では、前者の方法を適用する。
 遅延回路213は、乱数生成器215により出力される乱数の指定遅延量ΔDだけ、サンプリングクロック203を遅延させて、サンプリングクロック217を出力する。
 サンプリングクロック217は、ケーブル352を通じて伝送されて、外部LSI108にサンプリングクロック107として入力される。
 図7は、実施の形態1におけるサンプリングクロック203の遅延制御の手順を表わすフローチャートである。
 ステップS101において、乱数生成制御器216は、乱数範囲および刻み幅を設定する。
 ステップS102において、同期ずれ検出結果取得部214が同期ずれが発生したことを表わす情報を受けたときには、処理がステップS103に進む。
 ステップS103において、乱数生成器215は、ステップS101で設定された設定範囲および刻み幅において、与えられた頻度分布で乱数を生成する。
 ステップS104において、生成された乱数が既に生成された乱数の場合に、処理がステップS103に戻り、生成された乱数が既に生成された乱数でない場合に、処理がステップS105に進む。
 ステップS105において、乱数生成器215は、生成した乱数を指定遅延量ΔDとして遅延回路213に送る。遅延回路213は、サンプリングクロック203を指定遅延量ΔDだけ遅延させて、サンプリングクロック217を生成する。
 図8は、機能検証システム200を用いたときのクロックおよびデータのタイミングの例を表わす図である。この例では、同期ずれが解消される場合の動作が示される。
 図4と同様に、ケーブル351の伝送時間による遅延のため、サンプリングクロック203は、サンプリングクロック105に対してΔt1時間遅延する。サンプリングクロック203をΔD時間だけ遅延させたサンプリングクロック217が生成される。ケーブル352の伝送時間による遅延のため、サンプリングクロック107は、サンプリングクロック217に対してΔt4時間遅延する。その結果、データ106は、データ216に対してΔt5時間遅延する。
 機能検証システム200の内部処理部205が、時刻t5にサンプリングクロック203に従って、データ206をサンプリングしてデータBを取得する。LSI108が、時刻t6にサンプリングクロック107に従って、データ106をサンプリングしてデータBを取得する。以上のような動作によって、機能検証システム200とLSI108の間で同期が維持される。
 以上のように、実施の形態1に係る機能検証システム200では、出力段制御部209A内の遅延制御回路212が、機能検証システム200とLSI108との間で同期ずれが発生しないように、サンプリングクロック203を適切な時間だけ遅延させて、LSI108に出力する。これにより、サンプリングクロック105、サンプリングクロック203、サンプリングクロック217、サンプリングクロック107のクロック速度をそれぞれ落とすことなく、高速な論理検証が可能になる。
 なお、上記の実施形態では、サンプリングクロック203とサンプリングクロック105とがずれており、サンプリングクロック203とサンプリングクロック107とがずれている場合に、サンプリングクロック203を遅延制御することによって、機能検証システム200とLSI108との間で同期ずれが発生しないようにした。
 サンプリングクロック203とサンプリングクロック105とがずれておらず、サンプリングクロック203とサンプリングクロック107とがずれている場合も、同様にして、サンプリングクロック203を遅延制御することによって、機能検証システム200とLSI108との間で同期ずれが発生しないようにすることができる。
 実施の形態2.
 同期ずれの発生箇所が、実施の形態1では、外部LSI108のレジスタ109であるのに対して、実施の形態2では、機能検証システム200Aの入力受付部201Aである。つまり、実施の形態2では、機能検証システム200A内で生じる同期ずれを対象としている。
 図9は、参考例の機能検証システム200Zを用いたときのタイミングチャートの例を表わす図である。この例では、同期ずれが発生する場合の動作が示される。
 ケーブル351の伝送時間による遅延のため、サンプリングクロック203は、サンプリングクロック105に対してΔtx時間遅延し、データ202は、データ104に対してΔtx時間遅延する。その結果、データ206は、データ202に対してΔty時間遅延する。
 LSI101が、時刻taにおいて、サンプリングクロック105に従って、データ102をサンプリングして、データAを取得してデータ104を出力する。機能検証システム200Zの内部処理部205が、時刻tbにおいて、サンプリングクロック203に従って、データ206をサンプリングするが、データAを取得できない。以上のような動作によって、LSI101と機能検証システム200Zとの間に同期ずれが発生する。
 図10は、実施の形態2の機能検証システム200Aを含む電子回路基板100の構成を表わす図である。実施の形態2では、機能検証システム200の代わりに、機能検証システム200Aが用いられる。
 図11は、実施の形態2の機能検証システム200Aの構成を表わす図である。
 実施の形態2の機能検証システム200Aが、実施の形態1の機能検証システム200と相違する点は、入力受付部201Aが遅延制御回路212Aを備え、出力段制御部209Aが遅延制御回路212を備えない点である。
 図12は、遅延制御回路212Aの構成を表わす図である。
 遅延制御回路212Aは、同期ずれ検出結果取得部214Aと、乱数生成制御器216と、乱数生成器215と、遅延回路213Aとを備える。
 同期ずれ検出結果取得部214Aは、同期ずれの有無の検出結果を取得する。
 ユーザが外部の同期ずれ検出端末(例えば、オシロスコープまたはロジックアナライザ等)を操作することによって、ユーザが、データ216と、データ104と、データ206とを観測する。ユーザは、観測結果に基いて、同期ずれ発生/未発生を検出し、検出結果を同期ずれ検出結果取得部214Aに入力する。
 乱数生成制御器216および乱数生成器215は、実施の形態1と同様なので、説明を繰り返さない。
 遅延回路213Aは、乱数生成器215により出力される乱数の指定遅延量ΔDaだけ、サンプリングクロック203を遅延させて、サンプリングクロック303を出力する。
 サンプリングクロック303は、機能検証システム200Aの各構成要素に送られるとともに、ケーブル352を通じて伝送されて、外部LSI108にサンプリングクロック107として入力される。
 図13は、実施の形態2におけるサンプリングクロック203の遅延制御の手順を表わすフローチャートである。
 ステップS201において、乱数生成制御器216は、乱数範囲および刻み幅を設定する。
 ステップS202において、同期ずれ検出結果取得部214Aが同期ずれが発生したことを表わす情報を受けたときには、処理がステップS203に進む。
 ステップS203において、乱数生成器215は、ステップS201で設定された設定範囲および刻み幅において、与えられた頻度分布で乱数を生成する。
 ステップS204において、生成された乱数が既に生成された乱数の場合に、処理がステップS203に戻り、生成された乱数が既に生成された乱数でない場合に、処理がステップS205に進む。
 ステップS205において、乱数生成器215は、生成した乱数を指定遅延量ΔDaとして遅延回路213Aに送る。遅延回路213Aは、サンプリングクロック203を指定遅延量ΔDaだけ遅延させて、サンプリングクロック303を生成する。
 図14は、機能検証システム200Aを用いたときのクロックおよびデータのタイミングの例を表わす図である。
 図9と同様に、ケーブル351の伝送時間による遅延のため、サンプリングクロック203は、サンプリングクロック105に対してΔtx時間遅延し、データ202は、データ104に対してΔtx時間遅延する。
 サンプリングクロック203をΔDa時間だけ遅延させたサンプリングクロック303が生成される。その結果、データ206は、データ202に対してΔty時間遅延する。
 LSI101が、時刻taにおいて、サンプリングクロック105に従って、データ102をサンプリングして、データAを取得してデータ104を出力する。機能検証システム200Aの内部処理部205が、時刻tcにおいて、サンプリングクロック303に従って、データ206をサンプリングして、データAを取得する。以上のような動作によって、LSI101と機能検証システム200Aとの間に同期ずれが解消される。
 以上のように、実施の形態2に係る機能検証システム200Aでは、入力受付部201A内の遅延制御回路212Aが、LSI108と機能検証システム200Aとの間で同期ずれが発生しないように、サンプリングクロック203を適切な時間だけ遅延させて、サンプリングクロック303を生成して、機能検証システム200Aの各構成要素に供給する。これにより、サンプリングクロック105、サンプリングクロック203、サンプリングクロック303、サンプリングクロック107のクロック速度をそれぞれ落とすことなく、高速な論理検証が可能になる。
 実施の形態3.
 本実施の形態の機能検証システムは、図5の実施の形態1の機能検証システムと基本的な構成は、同様である。本実施の形態の機能検証システムでは、出力段制御部209Aが、遅延制御回路212の代わりに、遅延制御回路212Bを備える。
 図15は、遅延制御回路212Bの構成を表わす図である。
 遅延制御回路212Bは、同期ずれ検出結果取得部214Bと、乱数生成制御器216Bと、乱数生成器215Bと、遅延回路213Bと、遅延量保持回路217とを備える。
 同期ずれ検出結果取得部214Bは、実施の形態1の同期ずれ検出結果取得部214と同様に、同期ずれの有無の検出結果を取得する。
 乱数生成制御器216B、および乱数生成器215Bは、初回の機能検証実行時において、実施の形態1で説明した乱数生成制御器216、および乱数生成器215と同様に動作する。乱数生成制御器216B、および乱数生成器215Bは、2回目以降の機能検証実行時において、動作しない。
 遅延量保持回路217は、初回の機能検証実行時において、同期ずれが解消された後の遅延量を保持する。
 遅延回路213Bは、初回の機能検証実行時において、実施の形態1で説明した遅延回路213と同様に動作する。遅延回路213Bは、2回目以降の機能検証実行時において、サンプリングクロック203を遅延量保持回路217に保持されている遅延量だけ遅延させて、サンプリングクロック217を生成する。
 図16は、実施の形態3におけるサンプリングクロック203の遅延制御の手順を表わすフローチャートである。
 ステップS301において、乱数生成制御器216Bは、乱数範囲および刻み幅を設定する。
 ステップS302において、同期ずれ検出結果取得部214Bが同期ずれが発生したことを表わす情報を受けたときに、処理がステップS303に進む。
 ステップS303において、今回の機能検証が2回目以降の機能検証の場合に、処理がステップS308に進み、今回の機能検証が初回の機能検証の場合に、処理がステップS304に進む。
 ステップS304において、乱数生成器215Bは、ステップS301で設定された設定範囲および刻み幅において、与えられた頻度分布で乱数を生成する。
 ステップS305において、生成された乱数が既に生成された乱数の場合に、処理がステップS304に戻り、生成された乱数が既に生成された乱数でない場合に、処理がステップS306に進む。
 ステップS306において、乱数生成器215Bは、生成した乱数を指定遅延量ΔDとして遅延回路213Bに送る。遅延回路213Bは、サンプリングクロック203を指定遅延量ΔDだけ遅延させて、サンプリングクロック217を生成する。
 ステップS307において、同期ずれ検出結果取得部214Bが同期ずれが解消されたことを表わす情報を受けたときに、処理がステップS308に進む。
 ステップS308において、遅延量保持回路217は、遅延量ΔDを保持する。
 ステップS309において、遅延回路213Bは、サンプリングクロック203を遅延量保持回路217に保持されている遅延量ΔDだけ遅延させて、サンプリングクロック217を生成する。
 本実施の形態では、2回目以降に実施する機能検証時に初回に設定された遅延量を再利用することができるので、機能検証の高速化を図ることができる。
 実施の形態4.
 本実施の形態の機能検証システムは、図11の実施の形態2の機能検証システムと基本的な構成は、同様である。本実施の形態の機能検証システムでは、入力受付部201Aが、遅延制御回路212Aの代わりに、遅延制御回路212Cを備える。
 図17は、遅延制御回路212Cの構成を表わす図である。
 遅延制御回路212Cは、同期ずれ検出結果取得部214Cと、乱数生成制御器216Cと、乱数生成器215Cと、遅延回路213Cと、遅延量保持回路217Cとを備える。
 同期ずれ検出結果取得部214Cは、実施の形態1の同期ずれ検出結果取得部214Aと同様に、同期ずれの有無の検出結果を取得する。
 乱数生成制御器216C、および乱数生成器215Cは、初回の機能検証実行時において、実施の形態2で説明した乱数生成制御器216、および乱数生成器215と同様に動作する。乱数生成制御器216Cおよび乱数生成器215Cは、2回目以降の機能検証実行時において、動作しない。
 遅延量保持回路217Cは、初回の機能検証実行時において、同期ずれが解消された後の遅延量を保持する。
 遅延回路213Cは、初回の機能検証実行時において、実施の形態2で説明した遅延回路213Aと同様に動作する。遅延回路213Cは、2回目以降の機能検証実行時において、サンプリングクロック203を遅延量保持回路217Cに保持されている遅延量だけ遅延させて、サンプリングクロック303を生成する。
 図18は、実施の形態4におけるサンプリングクロック203の遅延制御の手順を表わすフローチャートである。
 ステップS401において、乱数生成制御器216Cは、乱数範囲および刻み幅を設定する。
 ステップS402において、同期ずれ検出結果取得部214Cが同期ずれが発生したことを表わす情報を受けたときに、処理がステップS403に進む。
 ステップS403において、今回の機能検証が2回目以降の機能検証の場合に、処理がステップS409に進み、今回の機能検証が初回の機能検証の場合に、処理がステップS404に進む。
 ステップS404において、乱数生成器215Cは、ステップS401で設定された設定範囲および刻み幅において、与えられた頻度分布で乱数を生成する。
 ステップS405において、生成された乱数が既に生成された乱数の場合に、処理がステップS404に戻り、生成された乱数が既に生成された乱数でない場合に、処理がステップS406に進む。
 ステップS406において、乱数生成器215Cは、生成した乱数を指定遅延量ΔDaとして遅延回路213Cに送る。遅延回路213Cは、サンプリングクロック203を指定遅延量ΔDa遅延させて、サンプリングクロック303を生成する。
 ステップS407において、同期ずれ検出結果取得部214Cが同期ずれが解消されたことを表わす情報を受けたときに、処理がステップS408に進む。
 ステップS408において、遅延量保持回路217Cは、遅延量ΔDaを保持する。
 ステップS409において、遅延回路213Cは、サンプリングクロック203を遅延量保持回路217に保持されている遅延量ΔDaだけ遅延させて、サンプリングクロック303を生成する。
 今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本開示の範囲は上記した説明ではなくて請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 100 電子回路基板、103,109,204,207,211 レジスタ、200,200A,200Z 機能検証システム、201,201A 入力受付部、205 内部処理部、209,209A 出力段制御部、212,212A,212B,212C,212D 遅延制御回路、213,213A,213B,213C 遅延回路、214,214A,214B,214C 同期ずれ検出結果取得部、215,215B,215C 乱数生成器、216,216B,216C 乱数生成制御器、217,217C 遅延量保持回路、301 水晶発振回路、351,352 ケーブル、101,108 外部LSI。

Claims (7)

  1.  前段の装置と、後段の装置とに接続される対象装置の機能を検証するための機能検証システムであって、前記機能検証システムは、前記前段の装置および前記後段の装置とケーブルによって接続され、
     前記前段の装置から送られるサンプリングクロックに基づいて、前記前段の装置から送られるデータをサンプリングする入力受付部と、
     前記サンプリングクロックに基づいて、前記入力受付部から出力されるデータをサンプリングする内部データ処理部と、
     前記サンプリングクロックに基づいて、前記内部データ処理部から出力されるデータをサンプリングして、前記後段の装置にデータを出力する出力段制御部と、を備え、
     前記出力段制御部は、
     前記機能検証システムと前記後段の装置との間に同期ずれが発生している場合に、前記同期ずれが解消されるように、前記サンプリングクロックを遅延させたクロックを前記後段の装置に出力する遅延制御回路を含む、機能検証システム。
  2.  前記遅延制御回路は、前記機能検証システムと前記後段の装置との間に同期ずれが発生している場合に、ランダムな遅延量を生成し、前記サンプリングクロックを前記ランダムな遅延量だけ遅延させたクロックを前記後段の装置に出力し、前記同期ずれが解消されない場合には、前記ランダムな遅延量の生成、および前記サンプリングクロックを前記ランダムな遅延量だけ遅延させたクロックの出力を繰り返す、請求項1記載の機能検証システム。
  3.  前記遅延制御回路は、初回の機能検証時において、前記同期ずれが発生している場合に、前記ランダムな遅延量の生成、および前記サンプリングクロックを前記ランダムな遅延量だけ遅延させたクロックの前記後段の装置への出力を実行し、前記同期ずれが解消された後の遅延量を保持し、
     2回目以降の機能検証時において、前記同期ずれが発生している場合に、前記サンプリングクロックを前記保持している遅延量だけ遅延させたクロックを前記後段の装置に出力する、請求項2記載の機能検証システム。
  4.  前段の装置と、後段の装置とに接続される対象装置の機能を検証するための機能検証システムであって、前記機能検証システムは、前段の装置および前記後段の装置とケーブルによって接続され、
     サンプリングクロックに基づいて、前記前段の装置から送られるデータをサンプリングする入力受付部と、
     前記サンプリングクロックに基づいて、前記入力受付部から出力されるデータをサンプリングする内部データ処理部と、
     前記サンプリングクロックに基づいて、前記内部データ処理部から出力されるデータをサンプリングして、前記後段の装置にデータを出力する出力段制御部と、を備え、
     前記入力受付部は、
     前記前段の装置と前記機能検証システムとの間に同期ずれが発生している場合に、前記同期ずれが解消されるように、前記前段の装置から送られるクロックを遅延させた前記サンプリングクロックを生成する遅延制御回路を含む、機能検証システム。
  5.  前記遅延制御回路は、前記前段の装置と前記機能検証システムとの間に同期ずれが発生している場合に、ランダムな遅延量を生成し、前記前段の装置から送られるクロックを前記ランダムな遅延量だけ遅延させた前記サンプリングクロックを生成し、前記同期ずれが解消されない場合には、前記ランダムな遅延量の生成、および前記前段の装置から送られるクロックを前記ランダムな遅延量だけ遅延させた前記サンプリングクロックの生成を繰り返す、請求項4記載の機能検証システム。
  6.  前記遅延制御回路は、初回の機能検証時において、前記同期ずれが発生している場合に、前記ランダムな遅延量の生成および前記サンプリングクロックの生成を実行し、前記同期ずれが解消された後の遅延量を保持し、
     2回目以降の機能検証時において、前記同期ずれが発生している場合に、前記前段の装置から送られるクロックを前記保持している遅延量だけ遅延させた前記サンプリングクロックを生成する、請求項5記載の機能検証システム。
  7.  前記ランダムな遅延量の幅は、前記サンプリングクロックの周期以下である、請求項2~6のいずれか1項に記載の機能検証システム。
PCT/JP2022/046010 2022-01-14 2022-12-14 機能検証システム WO2023136034A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023573921A JPWO2023136034A1 (ja) 2022-01-14 2022-12-14

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022-004286 2022-01-14
JP2022004286 2022-01-14

Publications (1)

Publication Number Publication Date
WO2023136034A1 true WO2023136034A1 (ja) 2023-07-20

Family

ID=87278848

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/046010 WO2023136034A1 (ja) 2022-01-14 2022-12-14 機能検証システム

Country Status (2)

Country Link
JP (1) JPWO2023136034A1 (ja)
WO (1) WO2023136034A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005284426A (ja) * 2004-03-29 2005-10-13 Fujitsu Ltd 非同期回路検証方法および非同期回路検証プログラム
JP2015207050A (ja) * 2014-04-17 2015-11-19 三菱電機株式会社 エミュレーション装置

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005284426A (ja) * 2004-03-29 2005-10-13 Fujitsu Ltd 非同期回路検証方法および非同期回路検証プログラム
JP2015207050A (ja) * 2014-04-17 2015-11-19 三菱電機株式会社 エミュレーション装置

Also Published As

Publication number Publication date
JPWO2023136034A1 (ja) 2023-07-20

Similar Documents

Publication Publication Date Title
US7478256B2 (en) Coordinating data synchronous triggers on multiple devices
US7769559B2 (en) Instrument with interface for synchronization in automatic test equipment
US7624294B2 (en) Synchronizing measurement devices using trigger signals
US7454681B2 (en) Automatic test system with synchronized instruments
US8937492B1 (en) Systems and methods for transferring a signal from a first clock domain to a second clock domain
CN111880603B (zh) 多机箱反馈结果控制触发同步方法、装置、设备及介质
CN109032498B (zh) 一种多fpga的多通道采集系统的波形量化同步方法
JP2007212453A (ja) トリガ分配装置
CN115543051A (zh) Fpga全局复位同步电路、芯片、验证仿真系统及方法
CN101268378A (zh) 标准化测试仪器底盘中的电路卡同步
CN112242169A (zh) 一种调整采样相位的方法及串行闪存控制器
CN112306146A (zh) 一种多pxie机箱内awg板卡输出波形同步的装置及方法
KR100891326B1 (ko) 반도체 메모리 장치의 내부 클럭 신호를 데이터 스트로브신호로서 이용하는 반도체 메모리 장치의 테스트 방법 및테스트 시스템
US6326824B1 (en) Timing synchronizing system, devices used in the system, and timing synchronizing method
WO2023136034A1 (ja) 機能検証システム
US20160306383A1 (en) Multi-card synchronization system of fundamental and divided clock frequencies
JP2009503434A (ja) 標準化テスト計測器シャーシ内の回路カード同期
CN113885655A (zh) 一种信号同步器
EP3761508A2 (en) Immediate fail detect clock domain crossing synchronizer
WO2010021131A1 (ja) 試験装置および試験方法
US20060071821A1 (en) Method for verifying a circuit function
Sawyer Source-synchronous serialization and deserialization (up to 1050 Mb/s)
Adams et al. High performance time synchronisation for industrial logic control utilising a low cost single board computer with EMC compliance
CN117270626A (zh) 一种任意波形发生器同步方法
WO2009147797A1 (ja) 試験装置、伝送回路、試験装置の制御方法および伝送回路の制御方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22920552

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023573921

Country of ref document: JP