Signal generating device and signal generating method

By designing a signal generator including parallel data output, FIFO storage, multiple converters and synchronous control units, the signal phase difference is adjusted by using frequency division phase locking technology to solve the problem of difficult signal phase difference in the prior art, and the stable and accurate output of high-speed signals is achieved.

JP2025051181AActive Publication Date: 2025-04-04ANRITSU CORP

Patent Information

Application Number
JP2023160154
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-09-25
Publication Date
2025-04-04
Estimated Expiration
2043-09-25

AI Technical Summary

Technical Problem

The prior art is difficult to effectively adjust the phase difference between multiple signals input into the multiplexer (MUX), especially in high-speed signal transmission, resulting in a phase difference of more than 1 UI, affecting signal quality and test accuracy.

Method used

A signal generator is designed, including a parallel data output unit, a FIFO storage unit, a plurality of converters and a synchronous control unit. Through frequency division phase locking technology, the frequency division ratio is gradually reduced, and the phase of the toggle mode is adjusted to ensure that the signal phase difference is 0.1 UI or less.

Benefits of technology

The maximum adjustable phase difference of multiple converter output signals is significantly increased, ensuring that signal quality does not drop after startup or reset, and no external delay circuit support is required, simplifying system design and parameter adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025051181000001_ABST
    Figure 2025051181000001_ABST
Patent Text Reader

Abstract

To provide a signal generating device and a signal generating method that can significantly increase an adjustable maximum phase difference between signals output from a plurality of transceivers.SOLUTION: A signal generating device includes a phase acquisition processing unit 31b for acquiring a voltage value measured by a phase detection unit while changing, from an initial value, the phase of a toggle pattern output from each transceiver, a phase difference calculation processing unit 31c for calculating an initial phase difference between a divided clock or external clock selected by a clock selection unit and an initial value of the phase of the toggle pattern based on the relationship between the voltage value acquired by the phase acquisition processing unit 31b and the amount of change from the initial value of the phase of the toggle pattern, and a phase movement processing unit 31d for moving the phase of the toggle pattern from the initial value by the initial phase difference such that the phase difference between the divided clock or external clock selected by the clock selection unit and the toggle pattern is within a predetermined range.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a signal generating device and a signal generating method, and more particularly to a signal generating device and a signal generating method that include a transceiver that converts parallel data into high-speed serial data and outputs the data. [Background technology]

[0002] As communication standards such as Ethernet® 800GbE (Gigabit Ethernet) and PCIe® (Peripheral Component Interconnect Express) Gen (Generation) 6 become faster, signal transmission methods are no longer simple binary digital signals such as NRZ (Non Return to Zero), but are now typified by PAM (Pulse Amplitude Modulation) 4. In the future, transmission methods such as PAM8 and PAM16 may be standardized. When developing or testing products that use these signals, a test signal source is required.

[0003] Of course, such a signal source must be able to generate signals such as PAM4 and PAM8, but it is also desirable to generate signals that have passed through a specific transmission path and signals that have been subjected to emphasis and filtering. Therefore, there is a demand for an arbitrary waveform generator (AWG) that can generate arbitrary analog waveforms and has a high speed of over 100Gsps (G Symbol / s).

[0004] With an AWG, it is necessary for the user to be able to freely set the analog waveform to be output. Naturally, since it is required to generate any signal, it is also necessary to be able to set the waveform using numerical data. Therefore, an AWG needs a mechanism inside to convert the digital data output from an FPGA (Field Programmable Gate Array) or ASIC (Application Specific Integrated Circuit) into analog data. This conversion itself can be done with a Digital-to-Analog Converter (DAC).

[0005] However, when the required output rate of analog data is high, not only does it become necessary to input a signal multiplexed by a multiplexer (MUX) at a higher speed to the DAC, but the effect of the phase difference between the multiple input signals input to the DAC and the MUX in the preceding stage cannot be ignored. For example, when the output rate of the FPGA is 32 Gsps and the bit resolution of the DAC is 8 bits, it is desirable that the maximum phase difference between all signals input to the MUX is less than 0.1 UI (Unit Interval) (3.125 ps).

[0006] Here, by using the technique described in Patent Document 1, it is possible to adjust the maximum phase difference between all signals input to the MUX to a value less than or close to 0.1 UI. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] Patent No. 6346212 Summary of the Invention [Problem to be solved by the invention]

[0008] However, the technology described in Patent Document 1 may adjust the phase between the signals input to the MUX to a position shifted by one clock (1 UI), which occurs when the phase between the signals before the adjustment is significantly shifted.

[0009] Specifically, the technology described in Patent Document 1 cannot handle cases where a phase difference of more than 1 UI occurs between signals before adjustment. Furthermore, even if the phase difference between signals before adjustment is suppressed to within 1 UI in advance by another means, there are technical and cost issues, such as the need for an additional mechanism for adjusting the clock phase given to the transceiver of the FPGA, and the need to measure the phase adjustment amount that changes depending on the frequency. In the case of an FPGA, the phase difference between the transceivers may change every time the FPGA is started or reset, and in this case, the phase adjustment amount needs to be re-measured every time the FPGA is started or reset. In addition, depending on the FPGA used, it may not be possible to suppress the phase difference of the output signals to within 1 UI in the first place.

[0010] In this case, unintended data is generated when signals are multiplexed using a MUX. For example, if this data is used as a test signal for a Bit Error Rate Tester (BERT), the test signal itself will contain errors, making it impossible to measure the correct error rate.

[0011] The present invention has been made to solve the above-mentioned problems in the conventional art, and has an object to provide a signal generating device and a signal generating method that can significantly increase the adjustable maximum phase difference between signals output from multiple transceivers. [Means for solving the problem]

[0012] In order to achieve the above object, a signal generating device according to the present invention has a parallel data output unit (11) that outputs multiple-bit parallel data, a FIFO (21) that stores N-bit parallel data of the multiple-bit parallel data output from the parallel data output unit, and a plurality of transceivers (20) that convert the N-bit parallel data stored in the FIFO into 1-bit serial data, a phase synchronization control unit (31) that controls the phase of the 1-bit serial data converted by each of the transceivers, a divided clock output unit (14) that outputs a divided clock obtained by dividing the frequency of an external clock, a division ratio setting unit (33) that sets a division ratio of the divided clock to the divided clock output unit, a clock selection unit (17) that selects either the external clock or the divided clock, a rate control unit (34) that controls each of the transceivers to output, as the 1-bit serial data, a toggle pattern of the divided clock or the external clock selected by the clock selection unit, and a phase detection unit (40) that measures a voltage value corresponding to a phase difference between the external clock and the toggle pattern, and the phase synchronization control unit includes a phase acquisition processing unit (31b) that executes a phase acquisition process to acquire the voltage value measured by the phase detection unit while changing the phase of the toggle pattern from an initial value, and a phase synchronization control unit that executes a phase acquisition process to acquire the voltage value measured by the phase detection unit while changing the phase of the toggle pattern from an initial value, and a phase difference calculation processing unit (31c) that executes a phase difference calculation process that calculates an initial phase difference between an initial value and the initial value, and a phase shift processing unit (31d) that executes a phase shift process that shifts the phase of the toggle pattern from the initial value by an amount equivalent to the initial phase difference so that a phase difference between the frequency-divided clock or the external clock selected by the clock selection unit and the toggle pattern falls within a predetermined range, wherein the phase synchronization control unit repeatedly executes the phase acquisition process, the phase difference calculation process, and the phase shift process while gradually decreasing the frequency division ratio by the frequency division ratio setting unit,The clock selection unit is configured to select the external clock instead of the divided clock after the phase acquisition process, the phase difference calculation process, and the phase shift process are executed when the frequency division ratio is a predetermined minimum value.

[0013] With this configuration, the signal generating device according to the present invention can reduce the maximum phase difference between the serial data output from each of the multiple transceivers to 0.1 UI or less with respect to the external clock.

[0014] Furthermore, the signal generating device according to the present invention can significantly increase the adjustable maximum phase difference between the serial data output from each of the multiple transceivers after startup or resetting.

[0015] Furthermore, since the signal generating device according to the present invention does not require an additional mechanism, such as a delay circuit external to the FPGA, for suppressing the phase difference between pre-adjusted serial data to within 1 UI in advance, there is no need to investigate the parameters to be given to the additional mechanism after the product is manufactured.

[0016] In addition, the signal generating device of the present invention may be configured such that the division ratio is an integer that is a power of two, and the clock selection unit selects the external clock instead of the divided clock after the phase acquisition process, the phase difference calculation process, and the phase shift process are executed when the division ratio is two.

[0017] Furthermore, in a signal generating device according to the present invention, each of the transceivers includes a PISO (22) that converts the N-bit parallel data read from the FIFO in response to a read clock signal into the 1-bit serial data, a usage determination unit (23) that executes first and second usage determination processes to determine whether or not the usage of the FIFO is equal to or greater than a usage threshold, and a phase adjustment unit (24) that executes a first phase adjustment process to decrease the phase of the read clock signal by a predetermined amount and a second phase adjustment process to increase the phase of the read clock signal by a predetermined amount, and the phase synchronization control unit further includes a usage control processing unit (31a) that executes a usage control process to control the usage of the FIFO, and the usage control processing unit causes the usage determination unit to execute the first usage determination process on condition that output of the serial data from each of the transceivers has started, and the usage control processing unit calculates the usage of each of the transceivers by the first usage determination process. the usage control processing unit causes the phase adjustment unit to execute the first phase adjustment process on condition that it is determined that the usage of the FIFO of each of the transceivers is equal to or greater than the usage threshold, and the usage control processing unit causes the usage determination unit to execute the second usage determination process on condition that the number of times that it is continuously determined by the first usage determination process that the usage of the FIFO of each of the transceivers is less than the usage threshold reaches a first determination number, the usage control processing unit causes the phase adjustment unit to execute the second phase adjustment process on condition that it is determined by the second usage determination process that the usage of the FIFO of each of the transceivers is less than the usage threshold, and the usage control processing unit causes the phase adjustment unit to terminate adjustment of the phase of the read clock signal on condition that the number of times that it is continuously determined by the second usage determination process that the usage of the FIFO of each of the transceivers is equal to or greater than the usage threshold reaches a second determination number.

[0018] That is, the signal generating device according to the present invention executes a usage control process to halve the FIFO usage of all lanes before starting the phase acquisition process, the phase difference calculation process, and the phase shift process. With this configuration, the signal generating device according to the present invention can shift the phase of the toggle pattern in both positive and negative directions within a maximum range of -1 UI to +1 UI during the phase acquisition process, for example, when the FIFO usage is equivalent to 2 UI of the divided clock with the maximum division ratio.

[0019] Also, a signal generating method according to the present invention is a signal generating method for controlling a phase of the 1-bit serial data converted by each of the transceivers using a signal generating device (1) including: a parallel data output unit (11) that outputs multiple-bit parallel data; a FIFO (21) that stores N-bit parallel data of the multiple-bit parallel data output from the parallel data output unit, the multiple-bit parallel data stored in the FIFO being converted into 1-bit serial data; a frequency-divided clock output unit (14) that outputs a frequency-divided clock obtained by dividing the frequency of an external clock; a clock selection unit (17) that selects either the external clock or the frequency-divided clock; and a phase detection unit (40) that measures a voltage value corresponding to a phase difference between the frequency-divided clock or the external clock selected by the clock selection unit, and the 1-bit serial data, the signal generating method comprising the steps of: a rate control step (S15, S22) of causing each of the transceivers to output, as data, a toggle pattern having a frequency that is half the frequency of the divided clock or the external clock selected by the clock selection unit; a phase acquisition processing step (S16, S23) of executing a phase acquisition processing to acquire the voltage value measured by the phase detection unit while changing the phase of the toggle pattern from an initial value; a phase difference calculation processing step (S17, S24) of executing a phase difference calculation processing to calculate an initial phase difference between the divided clock or the external clock selected by the clock selection unit and the initial value of the phase of the toggle pattern based on the relationship between the voltage value acquired by the phase acquisition processing step and the amount of change in the phase of the toggle pattern from the initial value; and a phase movement processing step (S18, S29) of executing a phase movement processing to move the phase of the toggle pattern from the initial value by the amount of the initial phase difference so that the phase difference between the divided clock or the external clock selected by the clock selection unit and the toggle pattern is within a predetermined range.S25), a step (S15 to S20) of repeatedly executing the phase acquisition process, the phase difference calculation process, and the phase shift process while gradually decreasing the frequency division ratio by the frequency division ratio setting step, and an external clock selection step (S21) of selecting the external clock by the clock selection unit instead of the frequency-divided clock after the phase acquisition process, the phase difference calculation process, and the phase shift process are executed when the frequency division ratio is a predetermined minimum value.

[0020] Furthermore, in the signal generating method according to the present invention, the division ratio may be an integer that is a power of two, and the external clock selection step may select the external clock instead of the divided clock after the phase acquisition process, the phase difference calculation process, and the phase shift process are executed when the division ratio is two. Effect of the Invention

[0021] The present invention provides a signal generating device and a signal generating method that can significantly increase the adjustable maximum phase difference between signals output from a plurality of transceivers. [Brief description of the drawings]

[0022] [Figure 1] 1 is a block diagram showing a configuration of a signal generating device according to an embodiment of the present invention. [Diagram 2] 2 is a block diagram showing a part of the configuration of a data output section included in the signal generating device of FIG. 1. FIG. [Diagram 3] 2 is a schematic diagram of a phase detection section included in the signal generating device of FIG. 1. [Figure 4] FIG. 2 is a block diagram showing the configuration of one lane of the transceiver section. [Diagram 5] 2 is a state transition diagram for explaining a phase synchronization process by the signal generating device of FIG. 1. [Figure 6] 4 is a block diagram showing a configuration of an FPGA control unit provided in the data output unit. FIG. [Figure 7]FIG. 13 is a diagram showing the relationship between a toggle pattern output from one lane of a data output unit and a clock. [Figure 8] 11 is a graph showing the relationship between a voltage value according to a duty ratio of a phase detection signal measured by a phase detection unit and an amount of change in the phase of a toggle pattern from an initial value. [Figure 9] FIG. 11 is a diagram for explaining the phase shift processing of the toggle pattern of each lane by the phase synchronization control unit provided in the FPGA control unit, in which (a) shows a case where the initial phase differences of the toggle patterns of all lanes are distributed positively, (b) shows a case where the initial phase differences of the toggle patterns of each lane are distributed either positive or negative, and (c) shows a case where the initial phase differences of the toggle patterns of each lane are distributed either positive or negative, and the positive distribution and negative distribution are separated by 0.5 UI or more. [Figure 10] 13 is a diagram showing the amount of phase shift of a toggle pattern by a phase synchronization control unit for each division ratio. FIG. [Figure 11] 2 is a flowchart showing the process of a signal generating method using the signal generating device of FIG. 1. [Figure 12] 13A and 13B are diagrams illustrating the phase relationship of toggle patterns of each lane after a usage control process. [Figure 13] 13A and 13B are diagrams showing the phase relationship of the toggle patterns of each lane when the division ratio of the divided clock is 64, in which (a) is a simplified diagram showing the timing of the toggle patterns from the transceivers of each lane immediately after the initial phase difference is calculated by the phase difference calculation process, and (b) is a simplified diagram showing the timing of the toggle patterns from the transceivers of each lane immediately after the phase is shifted by the phase shift process. [Figure 14] 13A and 13B are diagrams showing the phase relationship of the toggle patterns of each lane when the division ratio of the divided clock is 4, in which (a) is a simplified diagram showing the timing of the toggle patterns from the transceivers of each lane immediately after the initial phase difference is calculated by the phase difference calculation process, and (b) is a simplified diagram showing the timing of the toggle patterns from the transceivers of each lane immediately after the phase is shifted by the phase shift process. [Figure 15]13A and 13B are diagrams showing the phase relationship of the toggle patterns of each lane when the division ratio of the divided clock is 2, in which (a) is a simplified diagram showing the timing of the toggle patterns from the transceivers of each lane immediately after the initial phase difference is calculated by the phase difference calculation process, and (b) is a simplified diagram showing the timing of the toggle patterns from the transceivers of each lane immediately after the phase is shifted by the phase shift process. [Figure 16] 1A and 1B are diagrams showing the phase relationship of the toggle patterns of each lane when an external clock is selected by the clock selection unit, in which (a) is a simplified diagram showing the timing of the toggle patterns from the transceivers of each lane immediately after an initial phase difference is calculated by a phase difference calculation process, and (b) is a simplified diagram showing the timing of the toggle patterns from the transceivers of each lane immediately after the phase is shifted by a phase shift process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of a signal generating device and a signal generating method according to the present invention will be described with reference to the drawings.

[0024] 1 includes a data output section 10, a clock selection section 17, a phase detection section 40, a MUX 50, an amplifier 52, an ADC 55, a DAC 60, an operation section 65, and a control section 70. The data output section 10 is configured on, for example, an FPGA or an ASIC, but the following description will be given assuming that these are configured on an FPGA.

[0025] The data output section 10 includes a parallel data output section 11, a plurality of transceiver sections 12-1 to 12-p, a clock generating section 13, a frequency-divided clock output section 14, and an FPGA control section 15.

[0026] The parallel data output unit 11 has an internal memory (not shown) that stores a series of data strings of a predetermined pattern in advance, or an arithmetic circuit (not shown) that generates the data strings. For example, in the example shown in Fig. 2, the parallel data output unit 11 outputs 32 x N-bit parallel data.

[0027] The parallel data output unit 11 outputs a PAM signal pattern consisting of, for example, a multi-value K (K is an integer of 2 or more) of 2 or more as 32×N-bit parallel data based on the pattern information input from the operation unit 65. The parallel data output unit 11 generates a PAM signal pattern consisting of an arbitrary multi-value K, such as an NRZ signal (K=2), a PAM3 signal (K=3), a PAM4 signal (K=4), a PAM5 signal (K=5), a PAM6 signal (K=6), a PAM7 signal (K=7), or a PAM8 signal (K=8). Here, the pattern information is information on the pattern of the PAM signal, such as the value of K and the type of pattern (for example, a Pseudo Random Binary Sequence (PRBS) pattern, a Short Stress Pattern Random Quaternary (SSPRQ) pattern, or an arbitrary pattern).

[0028] The data output unit 10 includes p transceiver units 12-1 to 12-p. Although Figures 1 and 2 show an example where p=8, in the present invention, the number of transceiver units 12 is not limited to eight and may be any number.

[0029] As shown in FIG. 2, the clock signal generated by the clock generating unit 13 is distributed to each transceiver unit 12.

[0030] Each transceiver unit 12 includes, for example, four transceivers 20-0 to 20-3. Each transceiver 20 is an output unit of an FPGA and outputs a digital signal of 0 or 1. Each transceiver 20 converts N-bit parallel data stored in a FIFO 21, which will be described later, out of the 32×N-bit parallel data output from the parallel data output unit 11, into 1-bit serial data, at the timing of a clock signal generated by the clock generating unit 13. Here, N is an integer of 2 or more.

[0031] That is, each transceiver unit 12 converts the 4×N-bit parallel data output from the parallel data output unit 11 into 4-bit parallel data and outputs it. That is, the data output unit 10 outputs 8 channels of 4-bit parallel data, in other words, 32 lanes of serial data.

[0032] The divided clock output unit 14 outputs a divided clock obtained by dividing the frequency of the external clock. The maximum frequency of the divided clock is half the frequency of the external clock. For example, the divided clock output unit 14 is made up of a transceiver having a similar configuration to each of the transceivers 20.

[0033] The clock selection unit 17 selects either the external clock or the divided clock in response to a clock selection signal output from a clock selection signal output unit 35, which will be described later. In this specification, the divided clock and the external clock are collectively referred to simply as the "clock." The external clock is, for example, a 32 GHz pulse signal.

[0034] The phase detection unit 40 measures a voltage value corresponding to the phase difference between the divided clock or the external clock selected by the clock selection unit 17 and the toggle pattern output from each transceiver 20. The toggle pattern is 1-bit serial data in which "0" and "1" are alternately repeated, and is output from each transceiver 20 when a phase acquisition process, a phase difference calculation process, and a phase shift process, which will be described later, are performed. One phase detection unit 40 is disposed in the rear stage of each transceiver 20. Since the phase detection unit 40 is intended to confirm the phase of the toggle pattern output from each transceiver 20, it may be incorporated in the MUX 50, or may be disposed independently in the front stage of the MUX 50.

[0035] A schematic diagram of the phase detection unit 40 for one lane is shown in Fig. 3. As shown in the figure, the phase detection unit 40 includes a D flip-flop 41, an EXOR circuit 42, and an averaging circuit 43, for example.

[0036] The D flip-flop 41 has two input terminals, a D terminal and a CLK terminal, and one output terminal, a Q terminal. A toggle pattern from the corresponding transceiver 20 is input to the D terminal, and a clock selected by the clock selection unit 17 is input to the CLK terminal.

[0037] The EXOR circuit 42 outputs a phase detection signal by taking the exclusive OR of the toggle pattern from the corresponding transceiver 20 and the output signal from the Q terminal of the D flip-flop 41. When a toggle pattern with a period twice that of the clock is input to the D terminal, the phase detection signal becomes a pulse-like signal with a duty ratio corresponding to the phase of the toggle pattern input to the D terminal.

[0038] The averaging circuit 43 is, for example, configured with a low-pass filter, and is adapted to average the phase detection signal. When a toggle pattern with a period twice that of the clock is input to the D terminal, the averaging circuit 43 outputs a signal with a voltage value according to the duty ratio of the phase detection signal. This makes it possible to obtain the phase of the toggle pattern from the corresponding transceiver 20 as a voltage value.

[0039] The amplifier 52 amplifies the signal from the phase detector 40 to a voltage level suitable for the ADC 55 at the subsequent stage, as necessary.

[0040] The ADC 55 samples the signal from the phase detection unit 40 amplified by the amplifier 52 at a predetermined sampling rate and converts it into digital data. That is, the ADC 55 outputs digital data of a voltage value corresponding to the phase difference between the divided clock or the external clock selected by the clock selection unit 17 and the toggle pattern. Here, the predetermined sampling rate may be a value of several hundred ksps to several Msps, such as 500 ksps or 1 Msps. For this reason, an ADC having multiple input channels, such as a 4-channel ADC, can also be used as the ADC 55.

[0041] MUX 50 latches the m-bit parallel data output from each transceiver unit 12, selects n bits at a time in a predetermined order in synchronization with the external clock selected by clock selection unit 17, and outputs n-bit data according to the frequency of the external clock selected by clock selection unit 17. Here, n is an integer equal to or greater than 1 and equal to or less than m-1. In the example shown in FIG. 1, n=1 and m=4. That is, MUX 50 can multiplex the m-bit data from each transceiver unit 12 into n-bit data.

[0042] The DAC 60 is an n×p-bit DAC, and outputs an analog signal with n×p-bit resolution corresponding to the n×p-bit data output from all of the MUXes 50, that is, a multi-value K PAM signal. In the example shown in FIG. 1, n=1 and p=8.

[0043] The operation unit 65 is for receiving operation input by a user, and is configured, for example, as a touch panel equipped with a touch sensor for detecting a contact position by a touch operation on an input surface corresponding to a display screen of a display device (not shown). Alternatively, the operation unit 65 may be configured to include an input device such as a keyboard or a mouse. The operation input to the operation unit 65 is detected by the control unit 70.

[0044] The control unit 70 is composed of a control device such as a computer including, for example, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), an FPGA, a ROM (Read Only Memory), a RAM (Random Access Memory), and a HDD (Hard Disk Drive), and controls the operation of each of the above-mentioned components constituting the signal generating device 1.

[0045] 4 is a diagram showing a configuration for one lane of the data output unit 10. Each transceiver 20 has a FIFO (First-In First-Out) 21 that stores N-bit parallel data out of the 32×N-bit parallel data output from the parallel data output unit 11, a PISO (Parallel-In Serial-Out) 22 that converts the N-bit parallel data read from the FIFO 21 into 1-bit serial data in response to a read clock signal, a usage amount determination unit 23 that executes first and second usage amount determination processes to determine whether the usage amount of the FIFO 21 is equal to or greater than a usage amount threshold, a phase adjustment unit 24 that adjusts the phase of the read clock signal of the FIFO 21 so as to decrease or increase it, frequency dividers 25 and 26, and a subtractor 27.

[0046] That is, the transceiver 20 reads out the stored N-bit parallel data from the FIFO 21, performs parallel / serial conversion on the read parallel data in the PISO 22, and outputs the serial data.

[0047] In the signal generating device 1 of this embodiment, each transceiver unit 12 can be configured with a transceiver equipped with a function for adjusting the phase of a read clock signal, such as a TX Phase Interpolator PPM Controller (hereinafter referred to as "TXPI") provided by Xilinx, Inc. Also, for example, an FPGA that configures the data output unit 10 can be suitably used, such as UltraScale+ equipped with a GTY transceiver manufactured by Xilinx, Inc.

[0048] In general, the timing at which multiple transceivers configured on an FPGA actually output data after they are started or reset does not necessarily match one another. Therefore, the usage amount of the FIFO 21 of the transceiver 20 is usually different at the timing at which data output starts. Even when focusing on one transceiver 20, the usage amount may differ when data output starts at each start or reset.

[0049] The basic operation of TXPI will be described below with reference to FIG.

[0050] The FIFO 21 functions as a buffer for the parallel data output from the parallel data output unit 11, and is capable of storing up to M words of N-bit parallel data. The FIFO 21 writes or reads N-bit parallel data at the rising edge of an input write clock signal or read clock signal. The write clock signal and read clock signal are signals based on a clock signal generated by the clock generation unit 13, for example.

[0051] The frequency divider 25 divides the frequency of the read clock signal by the maximum word number M of the FIFO 21 to obtain a read address of the FIFO 21. On the other hand, the frequency divider 26 divides the frequency of the write clock signal by the maximum word number M of the FIFO 21 to obtain a write address of the FIFO 21.

[0052] The subtractor 27 outputs the difference between the read address and the write address output from the frequency dividers 25 and 26. The difference output from the subtractor 27 reflects the amount of usage of the FIFO 21.

[0053] The usage determination unit 23 executes first and second usage determination processes for determining whether or not the difference output from the subtractor 27 is equal to or greater than the usage threshold for each clock of the operation clock of the FPGA constituting the data output unit 10. The usage determination unit 23 constantly monitors the difference between the read address and write address of the FIFO 21 as the usage of the FIFO 21, and outputs 0 if the usage is less than the usage threshold, and outputs 1 if the usage is equal to or greater than the usage threshold. For example, the usage threshold is M / 2, that is, half the maximum number of words M of the FIFO 21. The usage of the FIFO 21 changes as the phase of the read clock signal changes.

[0054] The phase adjustment unit 24 executes a first phase adjustment process for decreasing the phase of the read clock signal by a predetermined amount and a second phase adjustment process for increasing the phase of the read clock signal by a predetermined amount in a usage control process described later. The first phase adjustment process is a process for decreasing the usage of the FIFO 21, and the second phase adjustment process is a process for increasing the usage of the FIFO 21.

[0055] The phase adjustment unit 24 can shift the read address value of the FIFO 21 by adjusting the phase of the read clock signal of the FIFO 21. This shifts the phase of the parallel data output from the FIFO 21. However, the phase adjustment unit 24 cannot adjust the phase of the parallel data output from the FIFO 21 to an arbitrary value, and the phase adjustment width that can be adjusted at one time and the maximum amount that can be adjusted are also limited. For example, when the output data rate of the transceiver 20 is 32 Gbps, the phase adjustment width that can be adjusted by the phase adjustment unit 24 is 1 / 64 UI step width, and the maximum amount that can be adjusted by the phase adjustment unit 24 is 64 UI.

[0056] Hereinafter, a description will be given of a usage control process executed by the usage control processing unit 31a of the phase synchronization control unit 31 (see FIG. 6) included in the FPGA control unit 15, with reference to the state transition diagram in FIG. 5. The usage control process of the usage control processing unit 31a is a process for controlling the usage of the FIFO 21 of each transceiver 20, and is executed independently for each lane, i.e., for each transceiver 20.

[0057] 5, the usage control processor 31a includes eight states S1 to S7, namely, an initial state, a PRESET state, a BUFCHK1 state, a TXPI_DEC state, a TXPI_INC state, a BUFCHK2 state, and a PHASEADJ state. The arrows between the states indicate the transitions and their directions.

[0058] First, the usage control processor 31a transitions from the initial state S1 to a PRESET state S2. The PRESET state S2 is a standby state until each transceiver 20 starts outputting serial data. Here, each transceiver 20 starts generating a clock in a clock generation circuit (not shown) when it is in a state in which it can start outputting serial data after startup or resetting. The usage control processor 31a can detect the timing at which each transceiver 20 starts outputting serial data by detecting the rising edge of this clock.

[0059] When the usage control processing unit 31a detects that each transceiver 20 has started outputting serial data, the usage control processing unit 31a transitions from the PRESET state S2 to the BUFCHK1 state S3. The BUFCHK1 state S3 is a state in which the usage control processing unit 31a causes the usage determining unit 23 to execute a first usage determination process.

[0060] The usage control processing unit 31a transitions from the BUFCHK1 state S3 to the TXPI_DEC state S4 on the condition that the usage of the FIFO 21 of each transceiver 20 is determined to be equal to or greater than the usage threshold by the first usage determination process. The TXPI_DEC state S4 is a state in which the usage control processing unit 31a causes the phase adjustment unit 24 to execute the first phase adjustment process.

[0061] The usage control processor 31a transitions from the TXPI_DEC state S4 back to the BUFCHK1 state S3 on the condition that the phase of the read clock signal of the FIFO 21 of each transceiver 20 has been decreased by a predetermined amount by the first phase adjustment process.

[0062] The usage control processing unit 31a transitions from the BUFCHK1 state S3 to the TXPI_INC state S5 on the condition that the number of consecutive times that the usage of the FIFO 21 of each transceiver 20 is determined to be less than the usage threshold by the first usage determination process reaches the first determination number. The TXPI_INC state S5 is a state in which the usage control processing unit 31a causes the phase adjustment unit 24 to execute the second phase adjustment process.

[0063] The usage control processing unit 31a transitions from the TXPI_INC state S5 to the BUFCHK2 state S6 on the condition that the phase of the read clock signal of the FIFO 21 of each transceiver 20 is increased by a predetermined amount by the second phase adjustment process. The BUFCHK2 state S6 is a state in which the usage control processing unit 31a causes the usage determination unit 23 to execute the second usage determination process.

[0064] The usage control processing unit 31a transitions from the BUFCHK2 state S6 back to the TXPI_INC state S5 on the condition that it is determined by the second usage determination process that the usage of the FIFO 21 of each transceiver 20 is less than the usage threshold.

[0065] The usage control processor 31a transitions from the BUFCHK2 state S6 to the PHASEADJ state S7 on the condition that the number of consecutive times that the usage of the FIFO 21 of each transceiver 20 is determined to be equal to or greater than the usage threshold value by the second usage determination process reaches the second determination number. The PHASEADJ state S7 is a state in which the usage control processor 31a causes the phase adjuster 24 to finish adjusting the phase of the read clock signal, and waits until a reset signal is input to each transceiver 20.

[0066] 5 for all transceivers 20, the usage control processing unit 31a can halve the usage of the FIFO 21 of all lanes, thereby aligning the data latency of all lanes. Since the phase of the 32×N-bit parallel data output from the parallel data output unit 11 is the same for all lanes, the phase of the serial data output from all transceivers 20 will also be approximately the same.

[0067] 5, when the phase adjustment width by phase adjustment unit 24 is 1 / 64 UI, the phase of the serial data output from transceiver 20 can be adjusted with a calculated accuracy of ±0.008 UI (theoretical limit value). Note that the first and second determination counts may be equal to each other or may be different from each other.

[0068] 5, if the transitions from the BUFCHK1 state S3 to the TXPI_DEC state S4, the transition from the BUFCHK2 state S6 to the TXPI_INC state S5, the transition from the BUFCHK1 state S3 to the TXPI_INC state S5, and the transition from the BUFCHK2 state S6 to the PHASEADJ state S7 are executed if the respective judgment conditions are satisfied once, the maximum phase difference between the serial data output from all the transceivers 20 after the completion of the phase adjustment becomes a value larger than the above-mentioned theoretical limit value. This is considered to be because the usage of the FIFO 21 is constantly fluctuating due to the jitter components of the write clock signal and the read clock signal, and therefore the judgment results of the first and second usage judgment processes by the usage judgment unit 23 also fluctuate.

[0069] Therefore, in the signal generating device 1 of this embodiment, in the processing of the usage control processing unit 31a shown in Figure 5, for the transition from the BUFCHK1 state S3 to the TXPI_INC state S5 and the transition from the BUFCHK2 state S6 to the PHASEADJ state S7, the first and second judgment numbers that must be consecutively satisfied for the transition condition are specified, and the transition is executed only if the transition condition is satisfied that number of times in a row.

[0070] As shown in FIG. 6, the FPGA control unit 15 includes a phase synchronization control unit 31, a frequency division ratio setting unit 33, a rate control unit , and a clock selection signal output unit .

[0071] The phase synchronization control section 31 controls the phase of the toggle pattern, which is 1-bit serial data converted by each transceiver 20.

[0072] The phase synchronization control unit 31 includes the already-mentioned usage control processing unit 31a, phase acquisition processing unit 31b, phase difference calculation processing unit 31c, and phase movement processing unit 31d.

[0073] The phase acquisition processing unit 31b executes a phase acquisition process for acquiring a voltage value measured by the phase detection unit 40 while controlling the phase adjustment unit 24 of each transceiver 20 to change the phase of the toggle pattern output from each transceiver 20 from its initial value. Here, digital data of the voltage value measured by the phase detection unit 40 is input from the ADC 55 to the phase acquisition processing unit 31b.

[0074] A specific example of the phase acquisition process by the phase acquisition processor 31b will be described below. Fig. 7 shows the relationship between the toggle pattern output from the transceiver 20 of one lane of the data output unit 10 and the clock.

[0075] First, the phase acquisition processing unit 31b acquires a voltage value measured by the phase detection unit 40 at the start of the phase acquisition process. Here, the phase of the toggle pattern at the start is set to 0UI. Furthermore, the phase synchronization control unit 31 acquires a voltage value measured by the phase detection unit 40 while moving the phase of the toggle pattern in the range of -0.75UI to +0.75UI, with one cycle of the clock at that time being 1UI. For example, as shown by the arrows in FIG. 7, the phase synchronization control unit 31 moves the phase of the toggle pattern from 0UI, which is the initial value, to -0.75UI, then from -0.75UI to +0.75UI, and finally from +0.75UI to 0UI at the start.

[0076] This means, for example, that the phase of the toggle pattern is shifted by about 0.1 UI, and the measurement is then performed by the phase detection unit 40. This makes it possible to obtain the results shown in Fig. 8. In the graph of Fig. 8, the horizontal axis represents the amount of change [UI] in the phase of the toggle pattern from the initial value, and the vertical axis represents the voltage value [V] measured by the phase detection unit 40.

[0077] Since TXPI adjusts the phase of the serial data from each transceiver 20 according to the usage of FIFO 21, if the usage in the initial state is uneven, it may not be possible to ensure the adjustment range of ±0.75UI. For this reason, the phase synchronization control unit 31 performs the usage control process already described, so that the phase of the toggle pattern can be moved within the range of ±0.75UI.

[0078] In the above description, the range of phase change of the toggle pattern is -0.75UI to +0.75UI, but the present invention is not limited to this. The range of phase change of the toggle pattern needs to be at least 1UI, and the phase of the toggle pattern may be changed in the range of -0.5UI to +0.5UI, for example.

[0079] The phase difference calculation processing unit 31c calculates an initial phase difference P between the divided clock or the external clock selected by the clock selection unit 17 and the initial value of the toggle pattern phase based on the relationship between the voltage value acquired by the phase acquisition processing unit 31b and the amount of change from the initial value of the toggle pattern phase. C The phase difference calculation process is executed to calculate the phase difference.

[0080] The phase difference calculation processing unit 31c calculates the initial phase difference P of the toggle pattern at the start of the phase acquisition process by using the measurement result shown in FIG. 8 and the following formula (1). C [UI] can be calculated. In formula (1), V 0 is the voltage value acquired by the phase acquisition processing unit 31b at the start of the phase acquisition process, V H is the maximum voltage value acquired by the phase acquisition processing unit 31b, V L is the minimum value of the voltage value acquired by the phase acquisition processing unit 31b. Each value in the formula (1) does not have to be an actual measured value as it is, but may be a value corrected based on the linearity of the relationship between the phase and the voltage.

[0081]

number

[0082] The phase synchronization control unit 31 performs the same phase acquisition process and phase difference calculation process for all toggle patterns for 32 lanes simultaneously or sequentially. As a result, for example, the lane numbers and initial phase differences P C The correspondence between these two is obtained.

[0083] Here, lane numbers 1 to 4 correspond to the four transceivers 20-0 to 20-3 of the transceiver unit 12-1, respectively. Lane numbers 5 to 8 correspond to the four transceivers 20-0 to 20-3 of the transceiver unit 12-2, respectively. Lane numbers 9 to 12 correspond to the four transceivers 20-0 to 20-3 of the transceiver unit 12-3, respectively. Lane numbers 13 to 16 correspond to the four transceivers 20-0 to 20-3 of the transceiver unit 12-4, respectively. Lane numbers 17 to 20 correspond to the four transceivers 20-0 to 20-3 of the transceiver unit 12-5, respectively. Lane numbers 21 to 24 correspond to the four transceivers 20-0 to 20-3 of the transceiver unit 12-6, respectively. Lane numbers 25 to 28 correspond to the four transceivers 20-0 to 20-3 of the transceiver unit 12-7, respectively. Lane numbers 29 to 32 correspond to the four transceivers 20-0 to 20-3 of the transceiver unit 12-8, respectively.

[0084] The phase shift processing unit 31d controls the phase adjustment unit 24 of each transceiver 20 to shift the phase of the toggle pattern output from each transceiver 20 from the initial value to the initial phase difference P so that the phase difference between the frequency-divided clock or the external clock selected by the clock selection unit 17 and the toggle pattern is within a predetermined range. C Here, the value (phase difference) within the predetermined range is a value closest to 0 within the accuracy of the phase adjustment width that the phase adjustment unit 24 can adjust.

[0085] Hereinafter, the phase shift process of the toggle pattern of each lane performed by the phase shift processing unit 31d will be described with reference to FIGS.

[0086] FIG. 9(a) shows the initial phase difference P C In this case, the phase shift processing unit 31d shifts the phase of the toggle pattern of all lanes toward 0 by -P C The initial phase difference P C The same is true when is negatively distributed.

[0087] FIG. 9B shows the initial phase difference P C In this case, the phase shift processing unit 31d shifts the phase of the toggle pattern that is positively distributed toward 0 from -P C The phase of the negatively distributed toggle pattern moves towards 0 by -P C Move only.

[0088] FIG. 9(c) shows the initial phase difference P C In this case, the initial phase difference P C It is considered that a part of the distribution of P is apparently shifted by 1 UI. For this reason, the phase shift processing unit 31d shifts the phase of the toggle pattern, which is positively distributed, in the positive direction toward 0 by 1+P C and shifts the phase of the negatively distributed toggle pattern towards 0 in the positive direction -P C Move only.

[0089] As can be seen from FIGS. 9(a) to 9(c), the four transceivers 20 in the same transceiver unit 12 have the same initial phase difference P C In such a case, the phase acquisition process and the phase difference calculation process are performed for only one transceiver 20 included in each transceiver unit 12, and the obtained initial phase difference P Cmay be regarded as an initial phase difference common to the four transceivers 20 in each transceiver unit 12.

[0090] The division ratio setting unit 33 is configured to set the division ratio of the divided clock based on the external clock to the divided clock output unit 14. The phase synchronization control unit 31 repeatedly executes the phase acquisition process, the phase difference calculation process, and the phase movement process while the division ratio setting unit 33 gradually decreases the division ratio. For example, the division ratio is an integer that is a power of 2, with a maximum value of 64 and a minimum value of 2. In this case, the division ratio setting unit 33 repeatedly halves the division ratio, changing it in the order of 64, 32, 16, 8, 4, and 2.

[0091] 10 is a diagram showing the amount of phase movement of the toggle pattern by the phase acquisition process for each division ratio when the toggle pattern phase is moved within the range of -0.75UI to +0.75UI with respect to 1UI of the divided clock, as a percentage of the capacity of FIFO 21. For example, the capacity of FIFO 21 is equivalent to 128UI when 1 clock of the external clock is 1UI, and is equivalent to 2UI (±1UI) for a divided clock obtained by dividing the external clock by a maximum of 64.

[0092] When the division ratio is 64, 75% of the capacity of the FIFO 21 is used to shift the phase of the toggle pattern. After that, the amount of shift is halved every time the division ratio is halved, and when the division ratio is 1, the amount of shift is equivalent to 1.17% of the capacity of the FIFO 21.

[0093] The rate control unit 34 controls each transceiver 20 to output a toggle pattern having a frequency that is half the frequency of the divided clock or external clock selected by the clock selection unit 17 as 1-bit serial data output from each transceiver 20. For example, the rate control unit 34 controls the parallel data output unit 11 to output N-bit parallel data such that the frequency of the toggle pattern output from each transceiver 20 is half the frequency of the divided clock or external clock.

[0094] The clock selection signal output unit 35 outputs a clock selection signal for selecting either the external clock or the divided clock to the clock selection unit 17. Specifically, when the division ratio set by the division ratio setting unit 33 is a predetermined minimum value, the clock selection signal output unit 35 outputs a clock selection signal for selecting the external clock instead of the divided clock after the phase acquisition process, phase difference calculation process, and phase shift process are performed. The minimum value of the division ratio is, for example, 2.

[0095] An example of the process of a signal generating method using the signal generating device 1 of this embodiment will be described below with reference to the flowchart of Fig. 11. Note that descriptions that overlap with the description of the configuration of the signal generating device 1 described above will be omitted as appropriate.

[0096] When each transceiver unit 12 is started or reset (step S11: YES), the phase synchronization control unit 31 executes a usage control process (step S12). For example, when the bit rate of the PAM signal output from the signal generating device 1 is changed by a user's operation input to the operation unit 65, each transceiver unit 12 is reset. By the usage control process, the usage of the FIFO 21 of each transceiver 20 is halved.

[0097] FIG. 12 is a simplified diagram showing an example of the phase relationship of the toggle patterns output from the transceiver 20 of each lane after the usage control process. The vertical dashed lines in the diagram indicate the rising timing of the external clock. Each transceiver unit 12 has four lanes from lane 0 to lane 3. "Ch1 Lane0", "Ch1 Lane2", "Ch4 Lane0", and "Ch7 Lane3" in the diagram indicate lane 0 of the transceiver unit 12-1, lane 2 of the transceiver unit 12-1, lane 0 of the transceiver unit 12-4, and lane 3 of the transceiver unit 12-7, respectively. Data indicated by "0" in the toggle pattern of each lane is data that should be in phase in all lanes. The same notation is used in the subsequent figures. After the usage control process, the phases of the toggle patterns of each lane are usually shifted from each other by more than one clock of the external clock.

[0098] Next, the clock selection unit 17 selects a frequency-divided clock (frequency-divided clock selection step S13).

[0099] Next, the frequency division ratio setting unit 33 sets the value of the frequency division ratio of the frequency-divided clock in the frequency-divided clock output unit 14 to 64 (frequency division ratio setting step S14). At this time, there is a phase difference between the frequency-divided clock and the external clock, but this does not need to be taken into consideration at this point.

[0100] Next, the rate control unit 34 causes each transceiver 20 to output a toggle pattern having a frequency that is half the frequency of the divided clock having the division ratio set in the division ratio setting step S14 (rate control step S15).

[0101] Next, the phase acquisition processing unit 31b executes a phase acquisition process to acquire the voltage value measured by the phase detection unit 40 while changing the phase of the toggle pattern output from each transceiver 20 from the initial value (phase acquisition process step S16).

[0102] Next, the phase difference calculation processing unit 31c calculates an initial phase difference P between the divided clock selected in the divided clock selection step S13 and the initial value of the toggle pattern phase based on the relationship between the voltage value acquired in the phase acquisition processing step S16 and the amount of change from the initial value of the toggle pattern phase. C (phase difference calculation step S17).

[0103] FIG. 13(a) shows the initial phase difference P C 1 is a simplified diagram showing the timing of the toggle patterns of each lane immediately after the calculation of . At this time, if the maximum phase difference between the toggle patterns of each lane is 32 UI or less based on the external clock, the subsequent phase shift process can be executed without error.

[0104] Next, the phase shift processing unit 31d shifts the phase of the toggle pattern from the initial value to the initial phase difference P so that the phase difference between the frequency-divided clock selected in the frequency-divided clock selection step S13 and the toggle pattern falls within a predetermined range. C (phase shift processing step S18).

[0105] 13(b) is a simplified diagram showing the timing of the toggle patterns of each lane immediately after the phase is shifted by the phase shift process when the division ratio of the divided clock is 64. At this time, the maximum phase difference between the toggle patterns of all lanes is adjusted to 0.1 UI or less based on the divided clock, that is, 6.4 UI (0.1 UI × 64 division) or less based on the external clock.

[0106] If the current division ratio is greater than 2 (step S19: NO), the division ratio setting unit 33 sets the division ratio of the divided clock in the divided clock output unit 14 to half the current value (division ratio setting step S20). Then, the process from step S15 onwards is executed again.

[0107] That is, steps S15 to S20 are steps for repeatedly executing the phase acquisition process, the phase difference calculation process, and the phase shift process while gradually decreasing the frequency division ratio in the frequency division ratio setting step S20.

[0108] FIG. 14A shows that when the division ratio of the divided clock is reduced by half to 32, 16, and 8 by the division ratio setting unit 33 and reaches 4, the initial phase difference P C FIG. 13 is a simplified diagram showing the timing of the toggle pattern of each lane immediately after the calculation of

[0109] 14(b) is a simplified diagram showing the timing of the toggle patterns of each lane immediately after the phase is shifted by the phase shift process when the division ratio of the divided clock is 4. At this time, the maximum phase difference between the toggle patterns of all lanes is adjusted to 0.1 UI or less based on the divided clock, that is, 0.4 UI (0.1 UI × 4 division) or less based on the external clock.

[0110] FIG. 15A shows that when the division ratio of the divided clock reaches 2 by the division ratio setting unit 33, the initial phase difference P C FIG. 13 is a simplified diagram showing the timing of the toggle pattern of each lane immediately after the calculation of

[0111] 15(b) is a simplified diagram showing the timing of the toggle patterns of each lane immediately after the phase is shifted by the phase shift process when the division ratio of the divided clock is 2. At this time, the maximum phase difference between the toggle patterns of all lanes is adjusted to 0.1 UI or less based on the divided clock, that is, 0.2 UI (0.1 UI × 2 division) or less based on the external clock.

[0112] On the other hand, if the current division ratio is 2 (step S19: YES), the clock selection unit 17 selects the external clock instead of the divided clock (external clock selection step S21). The external clock corresponds to a divided clock with a division ratio of 1, but is not in phase with the normal divided clock.

[0113] Next, the rate control section 34 causes each transceiver 20 to output a toggle pattern having a frequency that is half the frequency of the external clock (rate control step S22).

[0114] Next, the phase acquisition processing unit 31b executes a phase acquisition process to acquire a voltage value measured by the phase detection unit 40 while changing the phase of the toggle pattern output from each transceiver 20 from the initial value (phase acquisition process step S23).

[0115] Next, the phase difference calculation processing unit 31c calculates an initial phase difference P between the external clock selected in the external clock selection step S21 and the initial value of the toggle pattern phase based on the relationship between the voltage value acquired in the phase acquisition processing step S23 and the amount of change from the initial value of the toggle pattern phase. C (phase difference calculation step S24).

[0116] FIG. 16(a) shows that when the external clock is selected by the clock selection unit 17, an initial phase difference P C FIG. 13 is a simplified diagram showing the timing of the toggle pattern of each lane immediately after the calculation of

[0117] Next, the phase shift processing unit 31d shifts the phase of the toggle pattern from the initial value to the initial phase difference P so that the phase difference between the external clock selected in the external clock selection step S21 and the toggle pattern falls within a predetermined range. C (phase shift processing step S25).

[0118] 16(b) is a simplified diagram showing the timing of the toggle patterns of each lane immediately after the phase is shifted by the phase shift process when the external clock is selected by the clock selection unit 17. At this time, the maximum phase difference between the toggle patterns of all lanes is adjusted to 0.1 UI (0.1 UI × 1 division) or less based on the external clock.

[0119] Then, the phase synchronization control section 31 goes into a standby state until each transceiver section 12 is started or reset again (step S11).

[0120] In step S11, the processes in and after step S12 are automatically executed by starting or resetting each transceiver unit 12, but the present invention is not limited to this. For example, in step S11, the user may press an execution button provided on an operation screen (not shown) of the signal generating device 1 via the operation unit 65, so that the user can execute the processes in and after step S12 at any timing.

[0121] When the phase adjustment of the toggle pattern output from each transceiver 20 is completed in step S25, the FPGA control unit 15 automatically transitions to a mode for generating a PAM signal during normal operation, and causes the parallel data output unit 11 to output N-bit parallel data for normal operation according to the frequency of the external clock.

[0122] In this way, the signal generating method using the signal generating device 1 of this embodiment can initially use a divided clock with a large division ratio to roughly adjust the phase of the toggle pattern of each lane with a large amount of movement, and finally use an external clock with a division ratio equivalent to 1 to finely adjust the phase of the toggle pattern of each lane with a small amount of movement.

[0123] As described above, the signal generating device 1 according to this embodiment is configured to repeatedly execute the phase acquisition process, the phase difference calculation process, and the phase movement process while gradually decreasing the division ratio of the divided clock by the division ratio setting unit 33.

[0124] With this configuration, the signal generating device 1 according to this embodiment can reduce the maximum phase difference between the serial data output from each of the multiple transceivers 20 to 0.1 UI or less with respect to the external clock.

[0125] Furthermore, the signal generating device 1 according to this embodiment can significantly increase the adjustable maximum phase difference between the serial data output from each of the multiple transceivers 20 after startup or resetting.

[0126] For example, the signal generating device 1 according to this embodiment can set the adjustable maximum phase difference between the serial data from each transceiver 20 to 32UI based on the external clock. This value corresponds to 1000ps at 32Gbps, for example. For example, the phase error on the data sheet of the Xilinx UltraScale+ GTY transceiver is 500ps, so the signal generating device 1 according to this embodiment can converge this phase error.

[0127] Furthermore, since the signal generating device 1 according to this embodiment does not require an additional mechanism such as a delay circuit outside the FPGA for suppressing the phase difference between pre-adjusted serial data to within 1 UI in advance, there is no need to investigate the parameters to be given to the additional mechanism after the product is manufactured.

[0128] Although the signal generating device 1 according to this embodiment requires an ADC 55 for each lane, the required speed performance is low (several hundred ksps to several Msps), so an ADC with multiple input channels can be used, and the ADC peripheral circuitry can be made smaller. Furthermore, the signal generating device 1 according to this embodiment does not require an external delay circuit, so the circuit scale and board size can be reduced.

[0129] Furthermore, the signal generating device 1 according to this embodiment is configured to execute a usage control process to halve the usage of the FIFO 21 of all lanes before starting the phase acquisition process, the phase difference calculation process, and the phase shift process. As a result, the signal generating device 1 according to this embodiment can shift the phase of the toggle pattern in both positive and negative directions within a maximum range of -1 UI to +1 UI during the phase acquisition process, for example, when the usage of the FIFO 21 is equivalent to 2 UI of the divided clock with the maximum division ratio. [Explanation of symbols]

[0130] 1. Signal Generator 10 Data output section 11 Parallel data output section 12,12-1~12-8 Transceiver section 13 Clock Generation Unit 14-Divided Clock Output Section 15 FPGA control unit 17 Clock selection section 20,20-0~20-3 Transceiver 21 FIFO 22 PISO 23 Usage amount determination section 24 Phase adjustment section 25,26 frequency divider 27 Subtractor 31 Phase synchronization control section 31a Usage control processing unit 31b Phase acquisition processing unit 31c Phase difference calculation processing unit 31d Phase shift processing section 33 Division ratio setting section 34 Rate control section 40 Phase detection section 41 D Flip-Flop 42 EXOR circuit 43 Averaging circuit 50 MUX 52 Amplifier 55 ADC 60 DAC 65 Operation section 70 Control section

Claims

1. a parallel data output unit (11) that outputs multiple bits of parallel data; a FIFO (21) for storing N-bit parallel data among the multiple-bit parallel data output from the parallel data output unit, and a plurality of transceivers (20) for converting the N-bit parallel data stored in the FIFO into 1-bit serial data; a phase synchronization control unit (31) for controlling the phase of the 1-bit serial data converted by each of the transceivers; a divided clock output unit (14) that outputs a divided clock obtained by dividing the frequency of an external clock; a division ratio setting unit (33) that sets a division ratio of the divided clock to the divided clock output unit; a clock selection unit (17) for selecting either the external clock or the divided clock; a rate control unit (34) that controls each of the transceivers to output, as the 1-bit serial data, a toggle pattern having a frequency that is half the frequency of the divided clock or the external clock selected by the clock selection unit; a phase detection unit (40) for measuring a voltage value corresponding to a phase difference between the divided clock or the external clock selected by the clock selection unit and the toggle pattern, The phase synchronization control unit includes: a phase acquisition processing unit (31b) that executes a phase acquisition process to acquire the voltage value measured by the phase detection unit while changing the phase of the toggle pattern from an initial value; a phase difference calculation processing unit (31c) that executes a phase difference calculation process that calculates an initial phase difference between the divided clock or the external clock selected by the clock selection unit and the initial value of the phase of the toggle pattern, based on a relationship between the voltage value acquired by the phase acquisition processing unit and an amount of change in the phase of the toggle pattern from the initial value; a phase shift processing unit (31d) that executes a phase shift process for shifting the phase of the toggle pattern from the initial value by an amount equivalent to the initial phase difference so that a phase difference between the frequency-divided clock or the external clock selected by the clock selection unit and the toggle pattern falls within a predetermined range; the phase synchronization control unit repeatedly executes the phase acquisition process, the phase difference calculation process, and the phase shift process while gradually decreasing the frequency division ratio by the frequency division ratio setting unit; The signal generating device is characterized in that the clock selection unit selects the external clock instead of the divided clock after the phase acquisition process, the phase difference calculation process, and the phase movement process are executed when the division ratio is a predetermined minimum value.

2. the division ratio is an integer power of 2, 2. The signal generating device according to claim 1, wherein the clock selection unit selects the external clock instead of the divided clock after the phase acquisition process, the phase difference calculation process, and the phase movement process are executed when the division ratio is 2.

3. Each of the transceivers is a PISO (22) for converting the N-bit parallel data read from the FIFO into the 1-bit serial data in response to a read clock signal; a usage amount determination unit (23) that executes first and second usage amount determination processes to determine whether or not the usage amount of the FIFO is equal to or greater than a usage amount threshold; a phase adjustment unit (24) that executes a first phase adjustment process for decreasing the phase of the read clock signal by a predetermined amount, and a second phase adjustment process for increasing the phase of the read clock signal by a predetermined amount, the phase synchronization control unit further includes a usage control processing unit (31 a) that executes a usage control process for controlling a usage of the FIFO; the usage control processing unit causes the usage determining unit to execute the first usage determination process on condition that output of the serial data from each of the transceivers has started; the usage control processing unit causes the phase adjustment unit to execute the first phase adjustment process on condition that the first usage determination process determines that the usage of the FIFO of each of the transceivers is equal to or greater than the usage threshold; the usage control processing unit causes the usage determination unit to execute the second usage determination process on condition that a number of consecutive times that it has been determined by the first usage determination process that the usage of the FIFO of each of the transceivers is less than the usage threshold has reached a first determination number; the usage control processing unit causes the phase adjustment unit to execute the second phase adjustment process on condition that it is determined by the second usage determination process that the usage of the FIFO of each of the transceivers is less than the usage threshold; The signal generating device according to claim 1 or claim 2, characterized in that the usage control processing unit causes the phase adjustment unit to terminate adjustment of the phase of the read clock signal on the condition that the number of consecutive times that the usage of the FIFO of each of the transceivers is determined to be equal to or greater than the usage threshold by the second usage determination process reaches a second determination number.

4. a parallel data output unit (11) that outputs multiple bits of parallel data; a FIFO (21) for storing N-bit parallel data among the multiple-bit parallel data output from the parallel data output unit, and a plurality of transceivers (20) for converting the N-bit parallel data stored in the FIFO into 1-bit serial data; a divided clock output unit (14) that outputs a divided clock obtained by dividing the frequency of an external clock; a clock selection unit (17) for selecting either the external clock or the divided clock; a phase detection unit (40) that measures a voltage value corresponding to a phase difference between the frequency-divided clock or the external clock selected by the clock selection unit and the 1-bit serial data, the signal generating method controlling a phase of the 1-bit serial data converted by each of the transceivers, comprising: a division ratio setting step (S14, S20) of setting a division ratio of the divided clock to the divided clock output unit; a rate control step (S15, S22) of outputting, as the 1-bit serial data, from each of the transceivers, a toggle pattern having a frequency that is half the frequency of the divided clock or the external clock selected by the clock selection unit; a phase acquisition process step (S16, S23) of executing a phase acquisition process of acquiring the voltage value measured by the phase detection unit while changing the phase of the toggle pattern from an initial value; a phase difference calculation process step (S17, S24) for executing a phase difference calculation process for calculating an initial phase difference between the divided clock or the external clock selected by the clock selection unit and the initial value of the phase of the toggle pattern, based on a relationship between the voltage value acquired by the phase acquisition process step and an amount of change in the phase of the toggle pattern from the initial value; a phase shift processing step (S18, S25) of executing a phase shift processing for shifting the phase of the toggle pattern from the initial value by the initial phase difference so that the phase difference between the frequency-divided clock or the external clock selected by the clock selection unit and the toggle pattern is within a predetermined range; a step of repeatedly executing the phase acquisition process, the phase difference calculation process, and the phase movement process while gradually decreasing the frequency division ratio by the frequency division ratio setting step (S15 to S20); and an external clock selection step (S21) of selecting the external clock instead of the divided clock by the clock selection unit after the phase acquisition process, the phase difference calculation process, and the phase movement process are executed when the frequency division ratio is a predetermined minimum value.

5. the division ratio is an integer power of 2, 5. The signal generating method according to claim 4, wherein the external clock selection step selects the external clock instead of the divided clock after the phase acquisition process, the phase difference calculation process, and the phase movement process are executed when the division ratio is 2.

Citation Information

Patent Citations

  • Data signal generating apparatus and data signal generating method

    JP2016192596A

  • Lane-to-lane skew adjustment for transmitters

    JP2021073572A

  • Serial lane-to-lane skew reduction

    US11314277B1

  • One-pack urethane resin composition

    JP1988046212A

Cited By

  • Signal generation device and signal generation method

    JP2025150529A

  • Signal generating device and signal generating method

    JP7720439B1