基于PCI總線的串行通訊控制器的設(shè)計
本文選題:HDLC協(xié)議 + PCI總線; 參考:《東南大學(xué)》2016年碩士論文
【摘要】:隨著互聯(lián)網(wǎng)逐漸進入大數(shù)據(jù)時代,研究高效高速的串行通訊成為一種必然趨勢。路由器的廣域網(wǎng)接口卡一般都采用基于外圍部件互聯(lián)(Peripheral Component Interconnect, PCI)總線的高速串行通訊控制器進行控制。高級數(shù)據(jù)鏈路控制協(xié)議(High Level Data Link Control, HDLC)是數(shù)據(jù)鏈路層中最常用的協(xié)議,它具有強大的差錯檢測功能和高可靠、高效率、透明傳輸?shù)奶攸c,能應(yīng)用于任何面向比特的高速數(shù)據(jù)傳輸系統(tǒng)中。因此,本文采用HDLC協(xié)議控制器處理串行通訊中的數(shù)據(jù),保證了數(shù)據(jù)的正確傳輸。本文在分析PCI總線與]HDLC協(xié)議的基礎(chǔ)上,設(shè)計了一種基于PCI總線的串行通訊控制器,描述了HDLC控制器與PCI總線進行通信的接口信號。設(shè)計分為發(fā)送和接收兩個模塊,兩大模塊的工作互不干擾,分別由各自的控制器加以控制。HDLC發(fā)送器包括并串移位寄存器、幀校驗序列(Frame Check Sequence, FCS)發(fā)生器、零插入、標(biāo)志停止字的產(chǎn)生以及發(fā)送控制等模塊,HDLC接收器包括標(biāo)志停止字檢測、零檢測、FCS校驗器、串并轉(zhuǎn)換、接收控制等模塊。其中,FCS校驗部分采用循環(huán)冗余校驗(Cyclic Redundancy Check, CRC),以保證數(shù)據(jù)傳輸?shù)恼_性和完整性。通過對發(fā)送和接收控制模塊的重點描述,說明了系統(tǒng)中數(shù)據(jù)發(fā)送和接收處理的詳細過程。本文采用Verilog HDL語言進行電路設(shè)計,并且使用Modelsim軟件進行功能仿真。在TSMC90nm工藝下,電路的工作頻率可達到400MHz。最后,通過FPGA驗證證明了設(shè)計能夠正確完成數(shù)據(jù)的發(fā)送和接收功能。此外,若傳輸一字節(jié)數(shù)據(jù),在使用16位CRC時發(fā)送模塊的吞吐率最高可達80Mb/s,接收模塊的吞吐率最高可達94Mb/s,能滿足高速串行通訊的需求。
[Abstract]:With the Internet gradually entering big data era, the study of high-efficiency and high-speed serial communication has become an inevitable trend. The WAN interface card of the router is usually controlled by a high speed serial communication controller based on peripheral Component Interconnect (PCI) bus. High Level Data Link Control (HDLC) is the most commonly used protocol in the data link layer. It has powerful error detection function and features of high reliability, high efficiency and transparent transmission. It can be used in any bit-oriented high-speed data transmission system. Therefore, the HDLC protocol controller is used to deal with the data in serial communication to ensure the correct transmission of data. Based on the analysis of PCI bus and] HDLC protocol, a serial communication controller based on PCI bus is designed, and the interface signal between HDLC controller and PCI bus is described. The design is divided into two modules: sending and receiving. The work of the two modules is not interfered with each other. The transmitter is controlled by their respective controllers. The transmitter includes serial shift registers, frame Check Sequence, FCS) generator and zero insertion. The signal stop word generation and transmission control module HDLC receiver includes sign stop word detection, zero detection FCS calibrator, series-parallel conversion, receiving control and other modules. In order to ensure the correctness and integrity of data transmission, cyclic Redundancy check (CRCs) is adopted in the part of FCS verification. The detailed process of data sending and receiving in the system is explained by describing the module of sending and receiving control. In this paper, Verilog HDL language is used for circuit design, and Modelsim software is used for functional simulation. In TSMC90nm process, the working frequency of the circuit can reach 400 MHz. Finally, FPGA verification proves that the design can complete the function of sending and receiving data correctly. In addition, if one byte of data is transmitted, the throughput of transmission module can reach 80 MB / s when using 16-bit CRC, and the throughput of receiving module can reach 94 MB / s, which can meet the demand of high speed serial communication.
【學(xué)位授予單位】:東南大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2016
【分類號】:TP273
【相似文獻】
相關(guān)期刊論文 前10條
1 陳代江;;串行通訊在遠距離數(shù)據(jù)測量與監(jiān)控中應(yīng)用的研究[J];計量技術(shù);2006年08期
2 高智泉;曹先明;李青春;;串行通訊到以太網(wǎng)多路轉(zhuǎn)換的實現(xiàn)[J];可編程控制器與工廠自動化;2006年04期
3 王代潮;溫淳;;多路通用串行通訊板的研制[J];微型機與應(yīng)用;1988年05期
4 章兢;;一種計算機串行通訊方法[J];計算技術(shù)與自動化;1991年04期
5 李政;串行通訊的“中斷+查詢”方式及其應(yīng)用[J];計算機應(yīng)用;1993年04期
6 葉麗娜,錢曉進;一種延長串行通訊距離的有效方法[J];電子技術(shù)應(yīng)用;1995年02期
7 張偉,李新暉;一種通用串行通訊的有效方法[J];計算機與現(xiàn)代化;1996年04期
8 王麗俠;向明尚;張漫;;計算機串行通訊實驗的實現(xiàn)[J];高校實驗室工作研究;1998年04期
9 秦學(xué)禮;四用戶串行通訊卡的修理[J];電腦;1994年02期
10 邵英海;;串行通訊及其編程實現(xiàn)[J];科技資訊;2007年28期
相關(guān)會議論文 前10條
1 楊篤偉;唐吉祥;王奇;;通用計算機位同步串行通訊的實現(xiàn)[A];第11屆全國電氣自動化電控系統(tǒng)學(xué)術(shù)年會論文集[C];2002年
2 柏立軍;高大志;;工業(yè)控制機串行通訊智能擴展卡[A];1996中國控制與決策學(xué)術(shù)年會論文集[C];1996年
3 劉樹坤;劉金;;用Windows API實現(xiàn)串行通訊[A];中國工程物理研究院科技年報(1999)[C];1999年
4 陳桂友;徐德;;無應(yīng)答計算機串行通訊的C語言實現(xiàn)[A];1996中國控制與決策學(xué)術(shù)年會論文集[C];1996年
5 雷秀;仵延生;張治務(wù);李軍;;IBM-PC機與8098可視化串行通訊[A];第一屆全國流體動力及控制工程學(xué)術(shù)會議論文集(第二卷)[C];2000年
6 王強;金德獻;韓旭平;;中控和主電站之間串行通訊實例[A];2003年度海洋工程學(xué)術(shù)會議論文集[C];2003年
7 武寧;趙繼春;;人造霧監(jiān)控系統(tǒng)[A];第二十屆中國(天津)’2006IT、網(wǎng)絡(luò)、信息技術(shù)、電子、儀器儀表創(chuàng)新學(xué)術(shù)會議論文集[C];2006年
8 李云鵬;;在C~(++)Budilder5中用MSComm控件開發(fā)串行通訊程序[A];“加入WTO和科學(xué)技術(shù)與吉林經(jīng)濟發(fā)展——機遇·挑戰(zhàn)·責(zé)任”吉林省第二屆科學(xué)技術(shù)學(xué)術(shù)年會論文集(上)[C];2002年
9 彭婧;房宗良;徐權(quán)周;胡潔微;馬桂珍;;基于FPGA串行通訊的容錯設(shè)計[A];第十六屆全國核電子學(xué)與核探測技術(shù)學(xué)術(shù)年會論文集(下冊)[C];2012年
10 孫曉剛;林科鋒;戴景民;;WINDOWS上位機和DOS下位機串行通訊的實現(xiàn)[A];第二屆全國信息獲取與處理學(xué)術(shù)會議論文集[C];2004年
相關(guān)碩士學(xué)位論文 前10條
1 顧秋萍;基于PCI總線的串行通訊控制器的設(shè)計[D];東南大學(xué);2016年
2 程世利;智能化溫室測控系統(tǒng)及其串行通訊的研究[D];山東農(nóng)業(yè)大學(xué);2006年
3 方少森;LXI串行通訊模塊研制[D];哈爾濱工業(yè)大學(xué);2010年
4 彭超;PXI可重構(gòu)串行通訊模塊研制[D];哈爾濱工業(yè)大學(xué);2013年
5 宋波;基于以太網(wǎng)絡(luò)的虛擬串行通訊軟件開發(fā)[D];哈爾濱工業(yè)大學(xué);2009年
6 金寶寧;實驗數(shù)據(jù)網(wǎng)絡(luò)化輸入系統(tǒng)的研究[D];大連交通大學(xué);2006年
7 夏建明;基于串行通訊的離散式控制系統(tǒng)的設(shè)計與實現(xiàn)[D];中國科學(xué)院研究生院(沈陽計算技術(shù)研究所);2006年
8 盧麗平;基于微機的水力實驗測試與管理系統(tǒng)的研制[D];西安理工大學(xué);2002年
9 伍潔慧;基于DSP的查線器研究與設(shè)計[D];安徽大學(xué);2014年
10 曾蓉;LXI集成通訊模塊的研制[D];哈爾濱工業(yè)大學(xué);2013年
,本文編號:1867870
本文鏈接:http://sikaile.net/kejilunwen/zidonghuakongzhilunwen/1867870.html