摘要: HDLC信號(hào)鏈路是國(guó)際標(biāo)準(zhǔn)化組織(ISO)制定的高級(jí)數(shù)據(jù)鏈路的控制規(guī)程(High Level Data Link Control,HDLC)。遵循HDLC標(biāo)準(zhǔn)數(shù)據(jù)鏈路層規(guī)范,采用硬件描述語(yǔ)言Verilog HDL實(shí)現(xiàn)了一種基于并行結(jié)構(gòu)的HDLC搜幀解封裝電路,并采用System Verilog技術(shù)搭建驗(yàn)證平臺(tái),隨機(jī)生成HDLC數(shù)據(jù)幀來(lái)驗(yàn)證設(shè)計(jì)正確性。使用Modelsim軟件仿真波形,在仿真過(guò)程中,對(duì)于凈荷區(qū)數(shù)據(jù)長(zhǎng)度為10個(gè)字節(jié)的HDLC數(shù)據(jù)幀,解碼器電路工作完成需要16個(gè)時(shí)鐘周期,兼顧了處理速度和靈活性。使用QuartusII軟件綜合,在A(yíng)ltera CycloneV器件上,電路使用了8塊自適應(yīng)邏輯模塊ALM,24個(gè)寄存器,35個(gè)引腳。
中圖分類(lèi)號(hào): TN702 文獻(xiàn)標(biāo)識(shí)碼: A DOI:10.16157/j.issn.0258-7998.211472 中文引用格式: 錢(qián)勇,劉威. HDLC數(shù)據(jù)幀并行搜幀解封裝模塊的設(shè)計(jì)與驗(yàn)證[J].電子技術(shù)應(yīng)用,2022,48(1):80-83. 英文引用格式: Qian Yong,Liu Wei. Design and verification of HDLC data frame parallel search and decapsulation module[J]. Application of Electronic Technique,2022,48(1):80-83.
Design and verification of HDLC data frame parallel search and decapsulation module
Qian Yong,Liu Wei
School of Physics Science and Technology,Wuhan University,Wuhan 430072,China
Abstract: The HDLC signal link is the high level data link control(HDLC) developed by the international organization for standar-
dization(ISO). The article follows the HDLC standard data link layer specification, uses the hardware description language Verilog HDL to implement a parallel structure-based HDLC frame search and decapsulation circuit, and uses System Verilog technology to build a verification platform, and randomly generates HDLC data frames to verify the correctness of the design. Using Modelsim software to simulate waveforms, during the simulation process, for HDLC data frames with a payload area of 10 bytes, the decoder circuit requires 16 clock cycles to complete the work, taking into account processing speed and flexibility. Using QuartusII software synthesis, on Altera CycloneV devices, the circuit uses 8 adaptive logic modules ALM, 24 registers, and 35 pins.
Key words : HDLC protocol;frame search and decapsulation;System Verilog;Modelsim