摘 要:接口適配器是通信傳輸系統的一個重要組成部分,它的效率直接關系通信效率。但隨著光纖通信技術的發展,光纖接口適配器并未一同迅速發展,可以說,光纖接口適配已經成了光纖通信系統發展的瓶頸。主要介紹光纖通道接口適配器的組合實現過程,該過程包含對FC協議的分析與理解、具體的VC軟件編寫、上位機與FPGA相結合,實現FC協議下的接口適配器功能。
關鍵詞:FC; 接口適配器; FPGA; 軟件流程
中圖分類號:TN929 文獻標識碼:A
文章編號:1004-373X(2010)13-0042-03
Research and Implementation of Fiber Interface Adapter
MA Yin-ping, XUAN Liang-liang
(Nanchang Hangkong University, Nanchang 330063, China)
Abstract: The interface adapter that is relative to the communication efficiency of a communication system is an important component of a communication transmission system. As a matter of fact, the optical fiber interface adapter is not rapidly developed along with the development of the fiber communication technology. That is, the fiber interface adaption has already become a bottleneck of the fiber communication system development. The assembly process of the fiber channel interface adapter is elaborated. This process includes the analysis and understanding of FC protocol, design of VC software, combination of PC and FPGA, and function implementation of interface adapter under FC protocol.
Keywords: FC; interface adapter; FPGA; software flow
0 引 言
隨著經濟的高速發展和科技的快速進步,近幾年,光纖通信技術應運而生并快速成長。根據摩爾定律,CPU的處理速度每18個月翻一番。而光纖通信的傳輸帶寬每9個月就增加一倍,而成本降低一半。同時全球因特網流量每6個月就翻一番。作為當代通信領域的支柱技術,光纖通信正以每10年速率增長100倍的速度發展。其總的發展趨勢是速率越來越塊,可靠性越來越高,提供的業務種類越來越多。
隨著存儲技術的迅速發展,存儲容量得到了迅速的增長,存儲系統的數據傳輸速度成為了主要的瓶頸。光纖的傳輸具有其速度上的優勢,然而,在光纖傳輸要受到光纖通道接口的限制,因此光纖通道應用于高速數據傳輸的一個關鍵技術問題是接口的設計問題,本文對有效地解決高數據傳輸在接口處的瓶頸具有現實意義。
1 方案設計
完整的實現要包含PC機軟件編程、Virtex-5開發板的底層鏈路實現。PC機的軟件編寫主要實現鏈路的創建注銷控制、數據的組幀、數據的傳輸控制、傳輸過程中的顯示;Virtex-5開發板主要實現數據的鏈路貫通、支持上位機所定義的幀結構的傳輸過程?!?br>