基于FPGA的Fibre-channel協(xié)議數(shù)字邏輯設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-05-07 04:25
本文選題:光纖通道協(xié)議 + 光纖鏈路激活。 參考:《電子科技大學(xué)》2015年碩士論文
【摘要】:隨著大數(shù)據(jù)時(shí)代的來(lái)臨,海量數(shù)據(jù)的傳輸和存儲(chǔ)對(duì)互聯(lián)通信方式提出了傳輸速率更高,帶寬更大,傳輸方式更便捷更安全等要求。基于高速互聯(lián)傳輸?shù)目偩(xiàn)技術(shù)已經(jīng)發(fā)展成為多種類(lèi),多速率方式。光纖通道技術(shù)憑借超高速的傳輸速率(最高可達(dá)到10Gbps的傳輸速率),良好的抗干擾性能,穩(wěn)定的傳輸質(zhì)量等特點(diǎn)成為高速互聯(lián)領(lǐng)域研究的熱點(diǎn)。論文通過(guò)對(duì)當(dāng)前光纖通道技術(shù)發(fā)展的研究,以及對(duì)高速數(shù)據(jù)傳輸需求的分析,選擇了光纖通道技術(shù)第三類(lèi)服務(wù)作為本文的設(shè)計(jì)對(duì)象。在詳細(xì)分析光纖通道協(xié)議體系結(jié)構(gòu)的基礎(chǔ)上,結(jié)合可編程邏輯器件(FPGA芯片)架構(gòu)靈活、適合進(jìn)行高速總線(xiàn)開(kāi)發(fā)的特點(diǎn),提出了在ALTERA Stratix IV芯片中進(jìn)行Fibre-channel協(xié)議設(shè)計(jì)的方案。Fibre-channel協(xié)議的邏輯設(shè)計(jì)全部采用Verilog硬件描述語(yǔ)言完成,論文詳細(xì)闡述了FC-0層,FC-1層,FC-2層的功能設(shè)計(jì)與實(shí)現(xiàn)過(guò)程,完成了最高8.5Gbps的數(shù)據(jù)傳輸指標(biāo),并支持點(diǎn)到點(diǎn)拓?fù)涞牡谌?lèi)服務(wù)。本文的主要設(shè)計(jì)內(nèi)容包括:(1)通過(guò)設(shè)計(jì)SFP+光模塊和Stratix IV中的高速串行收發(fā)器實(shí)現(xiàn)FC-0層功能,將高速串行的光纖鏈路數(shù)據(jù)轉(zhuǎn)變成40bit的低速并行的通路數(shù)據(jù);(2)通過(guò)設(shè)計(jì)8B/10B編解碼、傳輸字邊界對(duì)齊、同步狀態(tài)機(jī)和端口狀態(tài)機(jī),實(shí)現(xiàn)對(duì)原語(yǔ)數(shù)據(jù)的對(duì)齊操作,并將對(duì)齊的數(shù)據(jù)送入同步狀態(tài)機(jī)完成同步檢測(cè),同步原語(yǔ)數(shù)據(jù)送入端口狀態(tài)機(jī)進(jìn)行鏈路狀態(tài)的推進(jìn),直至實(shí)現(xiàn)光纖鏈路的激活,完成FC-1層規(guī)定的功能;(3)當(dāng)鏈路實(shí)現(xiàn)激活之后,論文通過(guò)幀發(fā)送狀態(tài)機(jī)設(shè)計(jì),將數(shù)據(jù)按照標(biāo)準(zhǔn)的幀格式進(jìn)行組裝和發(fā)送,實(shí)現(xiàn)FC-2層中幀的發(fā)送和接收;(4)通過(guò)設(shè)計(jì)鏈路擴(kuò)展服務(wù)數(shù)據(jù)幀的交互來(lái)實(shí)現(xiàn)雙方端口的通信參數(shù)協(xié)商,在FC-2層實(shí)現(xiàn)架構(gòu)登錄,端口登錄,進(jìn)程登錄和端口注銷(xiāo)等設(shè)計(jì);(5)基于緩沖區(qū)到緩沖區(qū)的流量控制策略設(shè)計(jì),實(shí)現(xiàn)對(duì)幀接收和幀發(fā)送的控制,完成對(duì)整個(gè)通信狀態(tài)的控制。論文最后對(duì)光纖通道系統(tǒng)的各個(gè)模塊進(jìn)行了相應(yīng)的仿真和測(cè)試,測(cè)試包括了板級(jí)時(shí)域信號(hào)測(cè)試和各模塊的邏輯測(cè)試。論文通過(guò)對(duì)高速收發(fā)器的初始化、端口狀態(tài)機(jī)交互、幀合成與幀傳輸、架構(gòu)登錄、端口登錄、進(jìn)程登錄等幾個(gè)過(guò)程的測(cè)試結(jié)果進(jìn)行分析,驗(yàn)證了光纖鏈路的激活、登錄與注冊(cè)狀態(tài)、流量控制策略等設(shè)計(jì)達(dá)到了指標(biāo)要求。
[Abstract]:With the advent of big data era, the transmission and storage of mass data put forward the requirements of higher transmission rate, larger bandwidth, more convenient and more secure transmission mode. Bus technology based on high-speed interconnection has developed into multi-type and multi-rate mode. Fiber channel technology has become a hotspot in the field of high-speed interconnection with the characteristics of super high speed transmission rate (up to 10Gbps transmission rate), good anti-interference performance and stable transmission quality. Through the research on the development of optical fiber channel technology and the analysis of the demand for high-speed data transmission, the third kind of service of optical fiber channel technology is chosen as the design object of this paper. Based on the detailed analysis of fiber channel protocol architecture and the flexible architecture of programmable logic device (FPGA), it is suitable for high-speed bus development. The logic design of Fibre-channel protocol in ALTERA Stratix IV chip is presented. The logic design of Fibre-channel protocol is accomplished by Verilog hardware description language. The function design and implementation process of FC-0 layer FC-1 layer and FC-2 layer are described in detail in this paper. The data transmission index of the highest 8.5Gbps is completed, and the third kind of service of point-to-point topology is supported. The main design contents of this paper include: (1) realizing the function of FC-0 layer by designing SFP optical module and high speed serial transceiver in Stratix IV, converting high speed serial fiber link data into 40bit low speed parallel path data 2) designing 8B/10B codec. The transmission word boundary alignment, synchronous state machine and port state machine realize the alignment operation of primitive data, and the aligned data is sent into the synchronous state machine to complete synchronous detection, and the synchronous primitive data is sent into port state machine to push forward the link state. When the link is activated, the data is assembled and transmitted according to the standard frame format through the design of frame sending state machine. To realize the transmission and reception of frames in FC-2 layer, the communication parameters of both ports can be negotiated by designing the interaction of link extension service data frames, and the architecture login and port login are realized in the FC-2 layer. The design of process login and port logoff is based on the design of buffer to buffer flow control strategy, which can control frame receiving and frame sending, and complete the control of the whole communication state. At the end of the paper, the corresponding simulation and test of each module of fiber channel system are carried out. The test includes board level time domain signal test and logic test of each module. By analyzing the initialization of high-speed transceiver, port state machine interaction, frame synthesis and frame transmission, architecture login, port login, process login and so on, the paper verifies the activation of optical fiber link. Login and registration status, flow control strategy and other design reached the target requirements.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2015
【分類(lèi)號(hào)】:TN791;TN915.04
【參考文獻(xiàn)】
相關(guān)期刊論文 前2條
1 王芳;柴紅剛;童薇;;基于FPGA的光纖通道適配器研究[J];華中科技大學(xué)學(xué)報(bào)(自然科學(xué)版);2008年01期
2 劉小剛;周東;;光纖通道端口狀態(tài)機(jī)的研究及FPGA實(shí)現(xiàn)[J];通信技術(shù);2011年07期
相關(guān)碩士學(xué)位論文 前2條
1 林順平;FC協(xié)議分析儀的FPGA研究和設(shè)計(jì)[D];電子科技大學(xué);2011年
2 劉倩;光纖通道(Fiber Channel)協(xié)議測(cè)試方法的研究[D];西安電子科技大學(xué);2013年
,本文編號(hào):1855411
本文鏈接:http://sikaile.net/kejilunwen/dianzigongchenglunwen/1855411.html
最近更新
教材專(zhuān)著