《電子技術(shù)應(yīng)用》
您所在的位置:首頁(yè) > 可編程邏輯 > 設(shè)計(jì)應(yīng)用 > 基于FPGA的多路SGMII接口以太網(wǎng)設(shè)計(jì)與測(cè)試
基于FPGA的多路SGMII接口以太網(wǎng)設(shè)計(jì)與測(cè)試
電子技術(shù)應(yīng)用
付強(qiáng),喬輝,楊飛虎,曹拴住,張競(jìng)飛
中國(guó)電子科技集團(tuán)公司第58研究所
摘要: 嵌入式處理器受功耗、尺寸、成本限制,一般集成1個(gè)或2個(gè)以太網(wǎng)控制器,不能滿足某些特定現(xiàn)場(chǎng)對(duì)多路以太網(wǎng)數(shù)據(jù)同時(shí)傳輸?shù)男枨?。提出一種基于現(xiàn)場(chǎng)可編程門(mén)陣列(FPGA)的以太網(wǎng)設(shè)計(jì),利用FPGA高速、并行處理優(yōu)勢(shì),集成的串行/解串器(SerDes)資源情況,擴(kuò)展出多路以太網(wǎng)接口進(jìn)行數(shù)據(jù)同時(shí)收發(fā)。與外部物理層(PHY)芯片通信采用串行以太網(wǎng)(SGMII)接口,可以有效減少印制線路板(PCB)尺寸和布線數(shù)量。提出一種針對(duì)底層鏈路傳輸可靠性的多級(jí)測(cè)試方法,最終通過(guò)上板調(diào)試驗(yàn)證,12路以太網(wǎng)接口在1 000 Mb/s速率下傳輸穩(wěn)定、數(shù)據(jù)無(wú)誤碼。
關(guān)鍵詞: FPGA SGMII 以太網(wǎng) PHY
中圖分類號(hào):TN919.8 文獻(xiàn)標(biāo)志碼:A DOI: 10.16157/j.issn.0258-7998.245853
中文引用格式: 付強(qiáng),喬輝,楊飛虎,等. 基于FPGA的多路SGMII接口以太網(wǎng)設(shè)計(jì)與測(cè)試[J]. 電子技術(shù)應(yīng)用,2025,51(2):75-80.
英文引用格式: Fu Qiang,Qiao Hui,Yang Feihu,et al. The design and test of Ethernet with multiple SGMII based on FPGA[J]. Application of Electronic Technique,2025,51(2):75-80.
The design and test of Ethernet with multiple SGMII based on FPGA
Fu Qiang,Qiao Hui,Yang Feihu,Cao Shuanzhu,Zhang Jingfei
China Electronics Technology Group Corporation No.58 Research Institute
Abstract: Due to power consumption, size, and cost constraints, embedded processors typically integrate one or two Ethernet controllers, which cannot meet the demand for simultaneous transmission of multiple Ethernet data streams in certain specific field applications. This paper proposes an Ethernet design based on Field-Programmable Gate Array(FPGA), leveraging the high-speed and parallel processing advantages of FPGA, and the integrated Serializer/Deserializer(SerDes) resources to extend multiple Ethernet interfaces for simultaneous data transmission and reception. Communication with external PHY chips uses the Serial Gigabit Media Independent interface(SGMII), which can effectively reduce PCB size and wiring complexity. A multi-level testing method for the reliability of the underlying link transmission is proposed. Finally, through on-board debugging and verification, the 12 Ethernet interfaces achieve stable transmission at 1 000 Mb/s with no data errors.
Key words : FPGA;SGMII;Ethernet;PHY

引言

在某些大型系統(tǒng)中,主系統(tǒng)或主設(shè)備通常與多個(gè)子系統(tǒng)或子設(shè)備間組成網(wǎng)絡(luò)進(jìn)行互聯(lián)通信。以太網(wǎng)作為目前使用最廣泛的網(wǎng)絡(luò)之一,具有接口簡(jiǎn)單、通信速度高、傳輸距離遠(yuǎn)、支持多種網(wǎng)絡(luò)拓?fù)浣Y(jié)構(gòu)和性能穩(wěn)定等優(yōu)點(diǎn),能夠?qū)崿F(xiàn)多節(jié)點(diǎn)間的高速通信。

通用嵌入式處理器受功耗、成本等因素制約,通常集成不超過(guò)2個(gè)以太網(wǎng)控制器,最多實(shí)現(xiàn)2路網(wǎng)絡(luò)收發(fā)通信,無(wú)法滿足大型系統(tǒng)的網(wǎng)絡(luò)通信需求[1]。

FPGA作為一種可編程邏輯器件,具有良好的可擴(kuò)展性和并行處理能力,內(nèi)部集成多個(gè)高速收發(fā)器(SerDes),與外部物理層(PHY)芯片88E1512之間通過(guò)SGMII接口通信[2]。本文根據(jù)需要和FPGA芯片資源情況擴(kuò)展多個(gè)以太網(wǎng)接口,借助FPGA自帶的調(diào)試測(cè)試軟件和方法,實(shí)現(xiàn)一種低成本、易擴(kuò)展、高可靠性的多路SGMII接口以太網(wǎng)系統(tǒng)。


本文詳細(xì)內(nèi)容請(qǐng)下載:

http://ihrv.cn/resource/share/2000006329


作者信息:

付強(qiáng),喬輝,楊飛虎,曹拴住,張競(jìng)飛

(中國(guó)電子科技集團(tuán)公司第58研究所,江蘇 無(wú)錫 214035)


Magazine.Subscription.jpg

此內(nèi)容為AET網(wǎng)站原創(chuàng),未經(jīng)授權(quán)禁止轉(zhuǎn)載。