Signal generating method and signal generating device

The FPGA-based signal generator with three buffer memories ensures data continuity for arbitrary user patterns by controlling data flow between buffers, addressing the issue of fixed memory read widths in high-speed AWGs.

JP2024137103AActive Publication Date: 2024-10-07ANRITSU CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023048491
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-10-07
Estimated Expiration
2043-03-24

AI Technical Summary

Technical Problem

High-speed Arbitrary Waveform Generators (AWGs) face challenges in maintaining data continuity when outputting user patterns of arbitrary lengths due to the fixed memory read width of semiconductor memories, leading to data discontinuity and the inability to set data sizes other than integral multiples of the memory read width.

Method used

A signal generation method using an FPGA-based signal generator with three buffer memories (first, second, and third buffer memories) of equal size to the memory read width, storing and outputting repetitive waveform patterns by controlling data between these buffers to maintain continuity.

Benefits of technology

Enables loop output of user patterns with arbitrary lengths while preserving data continuity, overcoming the limitations of fixed memory read widths in high-speed AWGs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024137103000001_ABST
    Figure 2024137103000001_ABST
Patent Text Reader

Abstract

To enable loop output keeping data continuity for a user pattern having an arbitrary length in a signal generating device.SOLUTION: A signal generating device includes a user pattern memory storing an arbitrarily set waveform pattern, a first buffer memory, a second buffer memory, and a third buffer memory, in which the sizes of the first to third buffer memories are the same size as a memory read-out width of the user pattern memory, and includes a storage step of storing read-out data of the waveform pattern in the first buffer memory, a storage step of storing the read-out data of the waveform pattern one clock before in the second buffer memory, a storage step of storing top data among the read-out data of the waveform pattern in the third buffer memory, and a signal output step of continuously outputting repeat data that is a repeat of the waveform pattern, on the basis of the data stored in the first to third buffer memories.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a signal generation method and a signal generator. [Background technology]

[0002] Patent Document 1 describes a digital function generator. The digital function generator includes a waveform memory in which waveform data is stored, and generates an arbitrary signal waveform up to a high frequency range in a signal generator that reads out the waveform data from the waveform memory according to externally set waveform conditions and generates an arbitrary signal waveform. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Special Publication No. 01-207811 Summary of the Invention [Problem to be solved by the invention]

[0004] As communication standards such as Ethernet (registered trademark) and PCIe (registered trademark) become faster, there is a demand for high-speed arbitrary signal generators (hereinafter sometimes referred to as AWG) that can generate arbitrary waveforms in analog. The signals that an AWG can output include arbitrarily set waveform patterns and waveform patterns where the user sets the waveform data itself. Hereinafter, these waveform patterns will be referred to as user patterns. By reading out user patterns in a loop, it is also possible to output long-period patterns that exceed the memory size built into the AWG.

[0005] When an AWG with an output speed of several GHz outputs a user pattern, a sufficient data bandwidth can be ensured even if a general external RAM such as DDR is used as the pattern memory.

[0006] However, for the high-speed AWGs currently required (a dozen GHz to 100 GHz), it is difficult to use general external RAM such as DDR due to the high speed of the AWGs. For example, DDR4 2400 with a data width of 16 bits has a data bandwidth of about 34 Gb / s.

[0007] Therefore, in order to secure the necessary data bandwidth, a method is adopted in which data is read from the internal memory of the FPGA (or ASIC, etc.) at a speed corresponding to the output data bandwidth of the AWG, and the read value is output as is. The necessary bandwidth is, for example, 1 Tb / s for an 8-bit resolution, 128 GHz AWG. The above method basically does not require or requires a small amount of buffer memory, and the circuit is simple, so when configured with an FPGA, it has the advantage in terms of circuit resources within the FPGA. However, on the other hand, when trying to output a user pattern in a loop, the data size can only be set to an integer multiple of the memory read width. This is because the width of data that can be read at one time is fixed for almost all semiconductor memories, and it is basically impossible to change this value. For example, if the memory read width is 4096 bits wide and the AWG output data resolution is 8 bits, only data that is an integer multiple of 512 symbols can be set.

[0008] If the user pattern is set to a value other than an integer multiple of the memory read width and output as is, naturally, any data that does not fill the memory read width must be skipped or a process must be performed to make up for the shortfall, resulting in a problem of losing data continuity.

[0009] In this way, when data continuity is lost, a communications device could avoid the problem by sending the discontinuous data separately and then combining the data. However, an AWG cannot tolerate any discontinuity in the signals it generates, so maintaining continuity is important.

[0010] The present invention has been made in consideration of the above circumstances, and provides a signal generating method and a signal generator that are capable of performing loop output while maintaining data continuity for a user pattern of any length. [Means for solving the problem]

[0011] In order to achieve the above-mentioned object, a signal generating method and a signal generator according to the present invention are characterized by the following [1] to [4]. [1] A method for generating a signal by a signal generator (100), comprising the steps of: The signal generator includes a user pattern memory (12) for storing an arbitrarily set waveform pattern, a first buffer memory (141), a second buffer memory (142), and a third buffer memory (143), the first buffer memory, the second buffer memory, and the third buffer memory each have the same size as a memory read width of the user pattern memory; a first storage step of storing the read data of the waveform pattern in the first buffer memory; a second storage step of storing read data of the waveform pattern one clock before in the second buffer memory; a third storage step of storing leading data of the read data of the waveform pattern in the third buffer memory; and a signal output step of continuously outputting repetitive data which is a repetition of the waveform pattern based on the data stored in the first buffer memory, the second buffer memory, and the third buffer memory. Signal generation method. [2] The signal generator is configured with an FPGA. The signal generating method according to [1]. [3] The apparatus includes a user pattern memory (12) for storing an arbitrarily set waveform pattern, a first buffer memory (141), a second buffer memory (142), and a third buffer memory (143), the first buffer memory, the second buffer memory, and the third buffer memory each have the same size as a memory read width of the user pattern memory; the first buffer memory stores read data of the waveform pattern; the second buffer memory stores read data of the waveform pattern one clock before; the third buffer memory stores leading data of the read data of the waveform pattern; continuously outputting repetitive data which is a repetition of the waveform pattern based on the data stored in the first buffer memory, the second buffer memory, and the third buffer memory; A signal generator (100). [4] It is composed of FPGA. A signal generator as described in [3]. Effect of the Invention

[0012] According to the present invention, in a signal generator, it is possible to perform loop output while maintaining data continuity for a user pattern of any length.

[0013] The present invention has been briefly described above. Furthermore, the details of the present invention will be further clarified by reading the following description of the embodiment of the present invention (hereinafter, referred to as "embodiment") with reference to the accompanying drawings. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a conceptual diagram illustrating an example configuration of a signal generator according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a conceptual diagram showing a configuration example of a signal generator according to an embodiment of the present invention. [Diagram 3] FIG. 11 is an operational explanatory diagram according to an embodiment of the present disclosure. [Figure 4] 11 is a flowchart illustrating a data string adjustment process according to an embodiment of the present disclosure. [Diagram 5] FIG. 5 is a diagram showing the contents of variables used in the flow of FIG. 4. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Specific embodiments of the present invention will be described below with reference to the accompanying drawings.

[0016] FIG. 1 is a conceptual diagram illustrating an example configuration of a signal generator according to an embodiment of the present disclosure.

[0017] The signal generator 100 includes a control unit 11, a user pattern memory 12, a transceiver 13, and a data string adjusting unit 14. The data string adjusting unit 14 includes a first buffer memory 141, a second buffer memory 142, and a third buffer memory 143.

[0018] The signal generator 100 is configured with an FPGA or an ASIC, etc. In the following description, the signal generator 100 will be described as being configured with an FPGA.

[0019] The control unit 11 controls input and output of data between the memories in the signal generator 100. The control unit 11 controls input and output of data between the signal generator 100 and an external device via the transceiver 13. The control unit 11 controls various other data processing operations in the signal generator 100.

[0020] The user pattern memory 12, the first buffer memory 141, the second buffer memory 142, and the third buffer memory 143 are configured using RAM or registers inside the FPGA. The sizes of the first buffer memory 141, the second buffer memory 142, and the third buffer memory 143 are the same as the memory read width of the user pattern memory 12. These multiple memories may be physically separate memories, or may be integrated into one or more memories.

[0021] The user pattern memory 12 stores arbitrarily set waveform patterns. The transceiver 13 is typically a gigabit transceiver.

[0022] FIG. 2 is a conceptual diagram showing an example of the configuration of a signal generator according to an embodiment of the present invention.

[0023] The control unit 11 acquires waveform data. When a user pattern is specified by the user, the source of the waveform data may be a waveform data file input by the user. The waveform data may be pre-stored in a storage device 20 such as a computer hard disk, and the control unit 11 may acquire the stored waveform data. The control unit 11 acquires information indicating a read start address and information indicating a read length.

[0024] The control unit 11 writes the acquired waveform data file into the user pattern memory 12. The control unit 11 controls data processing in the user pattern memory 12 and the data string adjusting unit 14 based on the acquired information indicating the read start address and information indicating the read length.

[0025] The signal generator 100 according to an embodiment of the present invention does not depend on the bit width or output frequency. However, for ease of explanation, an example of the bit width and output frequency is shown in FIG. 2. That is, the data string adjustment unit 14 reads out data of 4096 bits and 250 MHz from the user pattern memory 12. When reading, the data string adjustment unit 14 specifies an address for reading.

[0026] The transceiver 13 acquires the 4096-bit, 250-MHz data output from the data string adjustment unit 14 and transmits it to the outside at 64 bits and 32 GHz. The MUX and DAC acquire the signal output from the transceiver 13 and output this signal as an analog waveform with 128 GHz and 8-bit resolution.

[0027] 3 is an explanatory diagram of an operation according to an embodiment of the present disclosure, which shows a first buffer memory 141, a second buffer memory 142, a third buffer memory 143, and an output from the data string adjustment unit 14.

[0028] Each of the first buffer memory 141, the second buffer memory 142, and the third buffer memory 143 has a width of, for example, 4096 bits, and transitions to the next row are made by a clock of 250 MHz.

[0029] 3 indicate addresses in the user pattern memory 12 corresponding to the data. An x means that valid data has not yet been input to that buffer memory.

[0030] The first buffer memory 141 stores the read data of the waveform pattern from the user pattern memory 12. The second buffer memory 142 stores the read data of the waveform pattern one clock before. The third buffer memory 143 stores the leading data of the read data of the waveform pattern.

[0031] FIG. 3 shows the operation of the signal generator 100 when repeatedly reading and outputting data from address 1 to address 5.25. The numbers 1 to 5 indicating the addresses are notations for convenience, and the actual addresses may be, for example, 0x1000 to 0x53FF. Since the reading unit is one address, as described above, in the conventional AWG, data for 0.25 in this example, which does not meet the memory read width, must be skipped or the missing data must be filled in, resulting in a loss of data continuity. The signal generator 100 according to this embodiment processes and outputs data, for example, as follows, thereby enabling loop output while maintaining data continuity for a user pattern of any length.

[0032] In this example, the data string adjustment unit 14 reads data four times in units of memory access width, and only 1 / 4 of the data read the fifth time is used.

[0033] [Assigning values ​​to the buffer] Under the control of the control unit 11, the data string adjustment unit 14 performs the process of substituting values ​​into the buffer as follows. The data in the first buffer memory 141 is substituted into the second buffer memory 142 . When the data in the first buffer memory 141 is the leading data, the data in the first buffer memory 141 is also substituted into the third buffer memory 143 . Data is read from the user pattern memory 12 and substituted into the first buffer memory 141 .

[0034] [Formation of output data and continuous output] The data string adjustment unit 14 outputs data by combining the data stored in the first to third buffer memories under the control of the control unit 11. The signal generator 100 according to one embodiment of the present invention continuously outputs repetitive data, which is a repetition of a waveform pattern, based on the data stored in the first to third buffer memories.

[0035] Fig. 4 is a flowchart illustrating a data string adjustment process according to an embodiment of the present disclosure. Fig. 5 is a diagram showing the contents of variables used in the flow of Fig. 4. An example of the data string adjustment process will be described with reference to Fig. 4 and Fig. 5 together.

[0036] First, the contents of the variables shown in FIG. 5 will be explained. The variable Lm is the memory read access width. The variable Lp is the pattern length of the user pattern, which may not be an integer multiple of the read access width of the memory. The variable Af is the read start address. The variable Al is the read end address, which is the value obtained by adding an address equivalent to the length of Lp to Af. The variable Le is the remainder when Lp is divided by Lm. Expressed mathematically, Le = Lp mod Lm. The variable Ls is a variable for adjusting data.

[0037] The variable Ac is an address counter. The variable R1 is the first buffer, that is, the first buffer memory 141. The variable R2 is the second buffer, that is, the second buffer memory 142. The variable R3 is the third buffer, that is, the third buffer memory 143.

[0038] The variable Di is data read from the memory (user pattern memory 12). The variable Do is the data to be output.

[0039] Next, an example of the data string adjustment process will be described with reference to FIG.

[0040] The control unit 11 sets the values ​​of variables Lm, Lp, Af, Al, and Le (St401). The control unit 11 sets the value of the address counter Ac to the value of the read start address Af. Also, the control unit 11 sets the value of the data adjustment variable Lc to 0 (St402).

[0041] The control unit 11 judges whether the end flag is set (St403). If the end flag is set (St403: YES), the process ends. If the end flag is not set (St403: NO), the process proceeds to step St404. The end flag is set when all data of the user pattern is processed.

[0042] In step St404, the control section 11 assigns Di to R1. That is, the control section 11 writes the data read from the user pattern memory 12 to the first buffer memory 141.

[0043] The control unit 11 judges whether Ac and Af are the same value (St405). If they are the same value (St405: YES), the process proceeds to step St406. If they are not the same value (St405: NO), the process proceeds to step St407.

[0044] In step St406, the control unit 11 assigns Di to R3. That is, the control unit 11 writes, into the third buffer memory 143, the data read from the user pattern memory 12 (the same data as the data in the first buffer memory 141).

[0045] In step St407, the control unit 11 judges whether Ac is equal to the value obtained by adding 1 to Af. If they are equal (St407: YES), the process proceeds to step St408. If they are not equal (St407: NO), the process proceeds to step St409.

[0046] In step St408, the control unit 11 assigns the value obtained by shifting R3 to the right to Do. The amount of shift at this time is Lm-Ls.

[0047] In step St409, the control unit 11 assigns the value obtained by shifting R2 to the right to Do. The amount of shift at this time is Lm-Ls.

[0048] In step St410, the control unit 11 judges whether Ac and Al are the same value. If they are the same value (St410: YES), the process proceeds to step St411. If they are not the same value (St410: NO), the process proceeds to step St419.

[0049] In step St411, the control unit 11 adds the value obtained by shifting R3 to the left to Do. The amount of shift at this time is Ls+Le.

[0050] The control unit 11 extracts data for the number of least significant Le bits from R1, shifts this data to the left, and adds the result to Do (St412). The amount of shift at this time is Ls. Note that if the value of Ls is 0, no left shift is performed.

[0051] The control unit 11 adds Le to Ls (St413).

[0052] The control unit 11 judges whether Ls is equal to or greater than Lm (St414). If Ls is equal to or greater than Lm (St414: YES), the process proceeds to step St415. If Ls is not equal to or greater than Lm (St414: NO), the process proceeds to step St418.

[0053] In step St415, the control unit 11 assigns Af to Ac.

[0054] The control unit 11 substitutes the value obtained by subtracting Lm from Ls for Ls (St416).

[0055] The control unit 11 assigns R1 to R2 (St417). That is, the control unit 11 writes the data of the first buffer memory 141 to the second buffer memory 142. Then, the process returns to step St403.

[0056] In step St418, the control unit 11 assigns Af+1 to Ac.

[0057] In step St419, the control unit 11 adds the value obtained by shifting R1 to the left to Do. The shift amount at this time is Ls. The control unit 11 adds 1 to Ac (St420).

[0058] When the above process is completed (St403: YES), the data string adjustment unit 14 of the signal generator 100 outputs the data for which the data string adjustment has been completed, that is, the data stored in Do.

[0059] By performing the above-described processing, the signal generator 100 according to this embodiment can perform loop output while maintaining data continuity for a user pattern of any length.

[0060] Although various embodiments have been described above with reference to the drawings, it goes without saying that the present disclosure is not limited to such examples. It is clear that a person skilled in the art can come up with various modified or amended examples within the scope of the claims, and it is understood that these also naturally belong to the technical scope of the present disclosure. For example, the steps in the method of the present disclosure can be performed in any order as long as there is no contradiction. In addition, the components in the above embodiments may be combined in any order as long as it does not deviate from the spirit of the disclosure. [Explanation of symbols]

[0061] 100 Signal Generator 11 Control section 12 User pattern memory 13 Transceiver 14 Data column adjustment section 141 1st buffer memory 142 Second buffer memory 143 3rd Buffer Memory 20 Storage device

Claims

1. A method for generating a signal by a signal generator (100), comprising: The signal generator includes a user pattern memory (12) for storing an arbitrarily set waveform pattern, a first buffer memory (141), a second buffer memory (142), and a third buffer memory (143), the first buffer memory, the second buffer memory, and the third buffer memory each have the same size as a memory read width of the user pattern memory; a first storage step of storing read data of the waveform pattern in the first buffer memory; a second storage step of storing read data of the waveform pattern one clock before in the second buffer memory; a third storage step of storing leading data of the waveform pattern in the third buffer memory; and a signal output step of continuously outputting repetitive data which is a repetition of the waveform pattern based on the data stored in the first buffer memory, the second buffer memory, and the third buffer memory. Signal generation method.

2. The signal generator is configured with an FPGA.

2. The signal generating method according to claim 1.

3. The apparatus includes a user pattern memory (12) for storing an arbitrarily set waveform pattern, a first buffer memory (141), a second buffer memory (142), and a third buffer memory (143), the first buffer memory, the second buffer memory, and the third buffer memory each have the same size as a memory read width of the user pattern memory; the first buffer memory stores read data of the waveform pattern; the second buffer memory stores read data of the waveform pattern one clock before; the third buffer memory stores leading data of the read data of the waveform pattern; continuously outputting repetitive data which is a repetition of the waveform pattern based on the data stored in the first buffer memory, the second buffer memory, and the third buffer memory; A signal generator (100).

4. It is composed of FPGA.

4. The signal generator according to claim 3.

Citation Information

Patent Citations

  • Digital function generator

    JP1989207811A

  • Device for generating optional length data row

    JP1995098999A

  • Generation and measurement of digital waveforms in automatic test equipment

    JP2009543096A