CN206162517U - Preprocessing circuit based on FPGA realizes JESD204B interface - Google Patents
Preprocessing circuit based on FPGA realizes JESD204B interface Download PDFInfo
- Publication number
- CN206162517U CN206162517U CN201621121750.5U CN201621121750U CN206162517U CN 206162517 U CN206162517 U CN 206162517U CN 201621121750 U CN201621121750 U CN 201621121750U CN 206162517 U CN206162517 U CN 206162517U
- Authority
- CN
- China
- Prior art keywords
- fpga
- channel
- data
- unit
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000007781 pre-processing Methods 0.000 title abstract description 8
- 238000012545 processing Methods 0.000 claims abstract description 27
- 239000013078 crystal Substances 0.000 claims abstract description 12
- 230000001360 synchronised effect Effects 0.000 claims abstract description 9
- 230000004913 activation Effects 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 abstract description 8
- 238000001514 detection method Methods 0.000 abstract description 8
- 230000008521 reorganization Effects 0.000 abstract description 7
- 238000007405 data analysis Methods 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000006798 recombination Effects 0.000 description 2
- 238000005215 recombination Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009432 framing Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
本实用新型涉及医疗设备技术领域,尤其涉及一种基于FPGA实现JESD204B接口的预处理电路,包括FPGA芯片、100MHz差分信号晶振、125MHz差分信号晶振、DDR3 SDRAM模组,所述100MHz晶振和125MHz晶振分别与FPGA的时钟管脚连接,所述DDR3 SDRAM模组与FPGA芯片的高速IO接口连接;所述FPGA内部由多通道选择单元、SERDES接口处理单元、多通道同步检测单元、多通道解扰码处理单元、多通道数据重组单元、DDR3 SDRAM控制单元、PCIE接口处理单元组成。本电路能够满足不同容量的采集数据传输的需求,提供有效的数据给后端设备做进一步的数据分析和处理。
The utility model relates to the technical field of medical equipment, in particular to a preprocessing circuit based on an FPGA to realize a JESD204B interface, including an FPGA chip, a 100MHz differential signal crystal oscillator, a 125MHz differential signal crystal oscillator, and a DDR3 SDRAM module. The 100MHz crystal oscillator and the 125MHz crystal oscillator are respectively It is connected to the clock pin of FPGA, and the DDR3 SDRAM module is connected to the high-speed IO interface of the FPGA chip; inside the FPGA is a multi-channel selection unit, a SERDES interface processing unit, a multi-channel synchronous detection unit, and a multi-channel descrambling code processing unit. Unit, multi-channel data reorganization unit, DDR3 SDRAM control unit, PCIE interface processing unit. This circuit can meet the needs of data transmission with different capacities, and provide effective data to the back-end equipment for further data analysis and processing.
Description
技术领域technical field
本实用新型涉及数据通信技术领域,尤其涉及一种基于FPGA实现JESD204B接口的预处理电路。The utility model relates to the technical field of data communication, in particular to a preprocessing circuit for realizing a JESD204B interface based on FPGA.
背景技术Background technique
JESD204B是一种用于数据转换器和逻辑器件内部高速互连的行业新标准,是一种高速数据采集的接口,目前主要用于ADC和FPGA之间的连接。可支持高达12.5Gb/s的多通道同步和串行数据传输。为了实现JESD204B接口的处理,选择专用芯片不但价格昂贵,而且功能不够灵活,不能满足专门的应用需求。JESD204B is a new industry standard for internal high-speed interconnection of data converters and logic devices. It is an interface for high-speed data acquisition and is currently mainly used for the connection between ADCs and FPGAs. It can support multi-channel synchronous and serial data transmission up to 12.5Gb/s. In order to realize the processing of the JESD204B interface, it is not only expensive to choose a dedicated chip, but also the function is not flexible enough to meet the special application requirements.
实用新型内容Utility model content
本实用新型的目的在于克服上述技术的不足,而提供一种基于FPGA实现JESD204B接口的预处理电路。The purpose of this utility model is to overcome the deficiency of above-mentioned technology, and provide a kind of preprocessing circuit based on FPGA to realize JESD204B interface.
本实用新型为实现上述目的,采用以下技术方案:In order to achieve the above object, the utility model adopts the following technical solutions:
一种基于FPGA实现JESD204B接口的预处理电路,其特征在于:包括1片FPGA芯片、1个100MHz差分信号晶振、1个125MHz差分信号晶振、1块DDR3SDRAM模组,所述100MHz晶振和125MHz晶振分别与FPGA的时钟管脚连接,所述DDR3SDRAM模组与FPGA芯片的高速IO接口连接;所述FPGA内部由多通道选择单元、SERDES接口处理单元、多通道同步检测单元、多通道解扰码处理单元、多通道数据重组单元、DDR3SDRAM控制单元、PCIE接口处理单元组成,完成JESD204B接口的数据接收和PCIE接口的数据发送。A preprocessing circuit based on FPGA to realize JESD204B interface is characterized in that: comprising 1 FPGA chip, 1 100MHz differential signal crystal oscillator, 1 125MHz differential signal crystal oscillator, 1 piece of DDR3 SDRAM module group, described 100MHz crystal oscillator and 125MHz crystal oscillator respectively It is connected with the clock pin of FPGA, and the DDR3SDRAM module is connected with the high-speed IO interface of the FPGA chip; inside the FPGA is a multi-channel selection unit, a SERDES interface processing unit, a multi-channel synchronous detection unit, and a multi-channel descrambling code processing unit , multi-channel data reorganization unit, DDR3SDRAM control unit, and PCIE interface processing unit to complete the data reception of the JESD204B interface and the data transmission of the PCIE interface.
优选地,所述DDR3SDRAM模组采用Micron公司的MT8JTF12864HZ-1G6G1芯片。Preferably, the DDR3 SDRAM module adopts the MT8JTF12864HZ-1G6G1 chip of Micron Company.
优选地,所述FPGA芯片采用Xilinx公司的XC7VX485T芯片。Preferably, the FPGA chip is an XC7VX485T chip of Xilinx Company.
本实用新型的有益效果是:相对于现有技术,无线通信系统的高速ADC器件将多通道JESD204B信号通过外部接口连接到本电路的JESD204B信号输入端,本电路实现对输入为1至8路单路为5G有效信号,最高传输带宽为40G的通道信号的选择和组合,完成不同传输带宽下的采集信号的预处理,并将处理后的数据通过本电路PCIE接口发送出去,经过PCIE接口可以接入上位机等多种后端处理设备。能够满足不同容量的采集数据传输的需求,提供有效的数据给后端设备做进一步的数据分析和处理。The beneficial effects of the utility model are: compared to the prior art, the high-speed ADC device of the wireless communication system connects the multi-channel JESD204B signal to the JESD204B signal input terminal of the circuit through an external interface, and the circuit realizes that the input is 1 to 8 single The channel is 5G effective signal, the selection and combination of the channel signal with the highest transmission bandwidth of 40G, completes the preprocessing of the acquisition signal under different transmission bandwidth, and sends the processed data through the PCIE interface of this circuit, and can be connected through the PCIE interface Into the host computer and other back-end processing equipment. It can meet the needs of data collection and transmission with different capacities, and provide effective data to the back-end equipment for further data analysis and processing.
附图说明Description of drawings
图1为硬件整体连接电路图;Figure 1 is the overall connection circuit diagram of the hardware;
图2为FPGA芯片内部功能模块电路图。Figure 2 is a circuit diagram of the internal functional modules of the FPGA chip.
具体实施方式detailed description
下面结合附图及较佳实施例详细说明本实用新型的具体实施方式。The specific implementation of the utility model will be described in detail below in conjunction with the accompanying drawings and preferred embodiments.
在本实用新型的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本实用新型和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本实用新型的限制。In describing the present invention, it should be understood that the terms "central", "longitudinal", "transverse", "front", "rear", "left", "right", "vertical", "horizontal" , "top", "bottom", "inner", "outer" and other indicated orientations or positional relationships are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the utility model and simplifying the description, rather than indicating or It should not be construed as limiting the invention by implying that a referenced device or element must have a particular orientation, be constructed, and operate in a particular orientation.
参照图1和图2,一种基于FPGA实现JESD204B接口的预处理电路,该预处理电路用于实现1至8路JESD204B通道信号的接收,并完成PCIE接口数据的发送。FPGA芯片内部由多通道选择单元、SERDES接口处理单元、多通道同步检测单元、多通道解扰码处理单元、多通道数据重组单元、DDR3SDRAM控制单元、PCIE接口处理单元组成,完成JESD204B接口的数据接收和PCIE接口的数据发送。Referring to Figure 1 and Figure 2, a preprocessing circuit based on FPGA to realize JESD204B interface, the preprocessing circuit is used to realize the reception of 1 to 8 JESD204B channel signals, and complete the transmission of PCIE interface data. FPGA chip is composed of multi-channel selection unit, SERDES interface processing unit, multi-channel synchronous detection unit, multi-channel descrambling code processing unit, multi-channel data reorganization unit, DDR3SDRAM control unit, PCIE interface processing unit, and completes the data reception of JESD204B interface Data transmission with PCIE interface.
多通道选择单元主要完成1至8路JESD204B通道信号的选择,JESD204B接口最多可处理8路并行JESD204B信号,通过SPI接口接收通道选择指令,再将解析后的通道选择使能信号送给多通道同步检测单元和多通道数据重组单元作为判断信号使用。The multi-channel selection unit mainly completes the selection of 1 to 8 JESD204B channel signals. The JESD204B interface can process up to 8 parallel JESD204B signals, receive channel selection instructions through the SPI interface, and then send the analyzed channel selection enable signal to the multi-channel synchronization The detection unit and the multi-channel data recombination unit are used as judgment signals.
SERDES接口单元连接8路JESD204B通道输入信号,调用FPGA内部的高速SERDES IP核,主要完成各通道串并变换和8B10B数据的解码处理。单通道5G信号由8B10B数据解码变为4G有效数据,再变换成时钟频率为125MHz的32位并行数据。The SERDES interface unit is connected to 8 JESD204B channel input signals, calls the high-speed SERDES IP core inside the FPGA, and mainly completes the serial-to-parallel conversion of each channel and the decoding processing of 8B10B data. The single-channel 5G signal is decoded from 8B10B data into 4G effective data, and then converted into 32-bit parallel data with a clock frequency of 125MHz.
多通道同步检测单元包含8个通道同步检测子单元,分别对各通道进行同步检测。在初始状态,各通道在本通道的码流中搜寻字节同步字符K28.5,当连续搜索到4个同步字符后,进入到代码组字节同步状态。然后在通道码流中搜寻通道同步开始字符K28.0,进入通道同步状态。再继续搜寻通道同步结束字符K28.3,进入数据正常接收状态,开始接收有效采样数据码流,同时提供单通道初始化完成信号。根据各通道同步完成情况,结合通道选择使能信号进行判断,产生系统初始化完成信号,当在 一定时间内各通道判断信号全部跳变到有效电平,标志着系统各通道同步化状态完成,否则进入通道空闲状态,系统重新复位,各通道继续在码流中寻找标志字符进行状态判定。The multi-channel synchronous detection unit includes 8 channel synchronous detection subunits, which respectively perform synchronous detection on each channel. In the initial state, each channel searches the byte synchronization character K28.5 in the code stream of the channel, and enters the byte synchronization state of the code group after searching for 4 synchronization characters continuously. Then search the channel synchronization start character K28.0 in the channel code stream to enter the channel synchronization state. Then continue to search for the channel synchronization end character K28.3, enter the normal data receiving state, start to receive effective sampling data streams, and provide a single-channel initialization completion signal at the same time. According to the synchronization completion status of each channel, combined with the channel selection enable signal to judge, a system initialization completion signal is generated. When all the channel judgment signals jump to the effective level within a certain period of time, it marks the completion of the synchronization status of each channel in the system, otherwise When the channel enters the idle state, the system resets again, and each channel continues to search for flag characters in the code stream for status judgment.
在数据正常接收状态下控制多通道存储FIFO进行数据的读写,完成有效通道的数据对齐操作,多通道存储FIFO由8个子单元FIFO组成。由多通道同步检测单元产生FIFO读写使能信号,各通道初始化信号作为写使能信号,系统初始化完成号作为读使能信号,分别控制各路FIFO的数据读写操作,保证FIFO读出数据为系统各通道同步对齐数据。In the normal data receiving state, the multi-channel storage FIFO is controlled to read and write data, and the data alignment operation of the effective channel is completed. The multi-channel storage FIFO is composed of 8 sub-unit FIFOs. The FIFO read and write enable signal is generated by the multi-channel synchronous detection unit. The initialization signal of each channel is used as the write enable signal, and the system initialization completion number is used as the read enable signal to control the data read and write operations of each FIFO respectively to ensure that the FIFO reads data Synchronously align data for each channel of the system.
多通道解扰码处理单元包含8个通道解扰码处理子单元,完成各通道信号的32位并行解扰码处理,扰码序列为X15+X14+1。输入为32位并行自同步扰码信号,输出为32位并行解扰信号。The multi-channel descrambling code processing unit includes 8 channel descrambling code processing sub-units to complete 32-bit parallel descrambling code processing of each channel signal, and the scrambling code sequence is X15+X14+1. The input is a 32-bit parallel self-synchronizing scrambling signal, and the output is a 32-bit parallel descrambling signal.
多通道数据重组单元完成对8路通道信号的重组。根据通道选择使能信号,将最多8路256位并行信号,最少1路32位并行信号重新按序排列,还原出原始采集信号的数据。多通道重组单元控制码速调整FIFO完成对不同时钟域数据的缓存处理,码速调整FIFO由双端口RAM组成,写时钟为125MHz,读时钟为200MHz,200MHz时钟由100MHz时钟在FPGA内部通过数字锁相环(DPLL)模块倍频产生。多通道数据重组单元产生读写控制指令,实现数据从125MHz时钟域到200MHz时钟域的过渡处理。The multi-channel data reorganization unit completes the recombination of 8 channel signals. According to the channel selection enable signal, a maximum of 8 channels of 256-bit parallel signals and a minimum of 1 channel of 32-bit parallel signals are rearranged in order to restore the data of the original collected signals. The multi-channel reorganization unit controls the code rate adjustment FIFO to complete the buffer processing of data in different clock domains. The code rate adjustment FIFO is composed of dual-port RAM, the write clock is 125MHz, the read clock is 200MHz, and the 200MHz clock is passed through the digital lock by the 100MHz clock inside the FPGA. Phase loop (DPLL) module frequency multiplication generation. The multi-channel data reorganization unit generates read and write control instructions to realize the transition processing of data from the 125MHz clock domain to the 200MHz clock domain.
DDR3SDRAM控制单元完成对外部DDR3SDRAM存储模组的控制,存储模组的存储容量为1GB,主要完成收发数据的缓存处理,以增加PCIE接口的缓存数据的能力。写入数据为多通道数据重组单元的输出信号,读出信号送到PCIE接口处理单元。The DDR3SDRAM control unit completes the control of the external DDR3SDRAM storage module. The storage capacity of the storage module is 1GB. It mainly completes the cache processing of sending and receiving data to increase the cache data capability of the PCIE interface. The written data is the output signal of the multi-channel data reorganization unit, and the read signal is sent to the PCIE interface processing unit.
PCIE接口处理单元主要包括PCIE IP核控制子单元和链式DMA数据处理子单元。PCIE IP核控制子单元完成PCIE数据帧的读写控制,链式DMA数据处理子单元对上位机发出的命令做出及时响应,配置状态寄存器并将采集数据以链式DMA的模式进行PCIE的数据成帧处理。以上所述仅是本实用新型的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本实用新型原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本实用新型的保护范围。The PCIE interface processing unit mainly includes a PCIE IP core control subunit and a chained DMA data processing subunit. The PCIE IP core control subunit completes the read and write control of the PCIE data frame, the chained DMA data processing subunit responds in time to the commands sent by the host computer, configures the status register and collects data in the chained DMA mode for PCIE data Framing. The above is only a preferred embodiment of the utility model, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the utility model, some improvements and modifications can also be made, these improvements and Retouching should also be regarded as the scope of protection of the present utility model.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621121750.5U CN206162517U (en) | 2016-10-14 | 2016-10-14 | Preprocessing circuit based on FPGA realizes JESD204B interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621121750.5U CN206162517U (en) | 2016-10-14 | 2016-10-14 | Preprocessing circuit based on FPGA realizes JESD204B interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206162517U true CN206162517U (en) | 2017-05-10 |
Family
ID=58654224
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201621121750.5U Expired - Fee Related CN206162517U (en) | 2016-10-14 | 2016-10-14 | Preprocessing circuit based on FPGA realizes JESD204B interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206162517U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845962A (en) * | 2018-05-23 | 2018-11-20 | 中国电子科技集团公司第三十八研究所 | Streaming dma controller based on high-speed AD converter interface protocol |
CN113794481A (en) * | 2021-09-14 | 2021-12-14 | 上海创远仪器技术股份有限公司 | System and method for collecting ultra-wideband wireless signals |
-
2016
- 2016-10-14 CN CN201621121750.5U patent/CN206162517U/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108845962A (en) * | 2018-05-23 | 2018-11-20 | 中国电子科技集团公司第三十八研究所 | Streaming dma controller based on high-speed AD converter interface protocol |
CN108845962B (en) * | 2018-05-23 | 2021-04-27 | 中国电子科技集团公司第三十八研究所 | High-speed analog-to-digital converter interface protocol-based streaming DMA controller |
CN113794481A (en) * | 2021-09-14 | 2021-12-14 | 上海创远仪器技术股份有限公司 | System and method for collecting ultra-wideband wireless signals |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103825696B (en) | An FPGA-based high-speed real-time optical communication device | |
CN106301659B (en) | A kind of magnetic resonance multi-channel digital Transmission system and its data transmission method | |
CN105573949A (en) | Acquiring and processing circuit with JESD204B interface of VPX architecture | |
CN104022828B (en) | A kind of optical fiber data transmission method based on asynchronous communication model | |
CN203224621U (en) | Weather radar high-speed data transmission device based on PCI-E bus | |
CN103401656A (en) | Data transmission system of satellite-borne phased-array receiving antenna | |
CN104991880B (en) | A kind of FC AE ASM Communication Cards based on PCI E interfaces | |
CN107171728B (en) | 1B4B and Manchester coded forward and reverse transmission method, device and system | |
CN206162517U (en) | Preprocessing circuit based on FPGA realizes JESD204B interface | |
CN107908587A (en) | Real-time data acquisition transmitting device based on USB3.0 | |
CN113726693A (en) | Low-speed parallel asynchronous communication method and communication system between FPGA (field programmable Gate array) chips | |
CN111475460B (en) | NoC-based high-speed data acquisition system and host computer communication interface controller | |
Cao et al. | Working principle and application analysis of UART | |
CN107066419B (en) | Scalable Adaptive N×N Channel Data Communication System | |
CN109116078A (en) | A kind of digital storage oscilloscope with high speed serialization agreement triggering and decoding function | |
CN101026528A (en) | Synchronous serial interface device | |
CN100452885C (en) | High-speeld code-flow playing and receiving device based on PCI | |
CN102944869A (en) | Radar intermediate-frequency receiving and signal processing board based on TM320C6678 | |
US10049067B2 (en) | Controller-PHY connection using intra-chip SerDes | |
CN103078667A (en) | Low voltage differential signaling (LVDS) high-speed data transmission method based on cat-5 | |
CN103793353A (en) | High-speed optical fiber data acquiring equipment of USB (universal serial bus) 3.0 | |
CN219227609U (en) | JESD204B data transmission system based on optical fiber medium | |
CN111130691A (en) | A spaceborne asynchronous rate communication matching device | |
CN116431539A (en) | A Design of Reading and Writing Based on FDMA DDR Memory | |
CN112542193B (en) | FLASH memory of SPI interface for reading data at high speed |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170510 Termination date: 20191014 |