《電子技術(shù)應(yīng)用》
您所在的位置:首頁(yè) > 可編程邏輯 > 設(shè)計(jì)應(yīng)用 > 基于FPGA的PIE編碼與UVM驗(yàn)證平臺(tái)的設(shè)計(jì)
基于FPGA的PIE編碼與UVM驗(yàn)證平臺(tái)的設(shè)計(jì)
2021年電子技術(shù)應(yīng)用第6期
李姝萱,卜 剛
南京航空航天大學(xué) 電子信息工程學(xué)院,江蘇 南京211106
摘要: 國(guó)際標(biāo)準(zhǔn)ISO/IEC18000-6規(guī)定脈沖間隔編碼(PIE)作為RFID數(shù)字基帶系統(tǒng)中閱讀器發(fā)送鏈路的編碼方式。采用Verilog語(yǔ)言對(duì)該模塊進(jìn)行設(shè)計(jì),用QuartusⅡ軟件綜合并下載到FPGA開(kāi)發(fā)板上,并使用SignalTapⅡ邏輯分析儀對(duì)信號(hào)進(jìn)行采集和分析。此外,在設(shè)計(jì)的基礎(chǔ)上添加了UART收發(fā)模塊,實(shí)現(xiàn)PC和FPGA板的通信。為了對(duì)PIE編碼進(jìn)行充分驗(yàn)證,基于UVM驗(yàn)證方法學(xué)和直接編程接口C(DPI-C),設(shè)計(jì)并實(shí)現(xiàn)了一種高效且可復(fù)用的驗(yàn)證平臺(tái),驅(qū)動(dòng)器和監(jiān)測(cè)器分別實(shí)現(xiàn)向DUT發(fā)送激勵(lì)及收集輸出結(jié)果的功能。參考模型與DUT的輸出結(jié)果在記分板中對(duì)比一致,功能覆蓋率達(dá)到了100%,提高了驗(yàn)證效率及完備性。
中圖分類號(hào): TN402
文獻(xiàn)標(biāo)識(shí)碼: A
DOI:10.16157/j.issn.0258-7998.201022
中文引用格式: 李姝萱,卜剛. 基于FPGA的PIE編碼與UVM驗(yàn)證平臺(tái)的設(shè)計(jì)[J].電子技術(shù)應(yīng)用,2021,47(6):110-114.
英文引用格式: Li Shuxuan,Bu Gang. Design of PIE coding based on FPGA and UVM verification platform[J]. Application of Electronic Technique,2021,47(6):110-114.
Design of PIE coding based on FPGA and UVM verification platform
Li Shuxuan,Bu Gang
School of Electronic Information Engineering,Nanjing University of Aeronautics and Astronautics,Nanjing 211106,China
Abstract: The international standard ISO/IEC18000-6 stipulates pulse interval encoding(PIE) as the encoding method of the reader transmission link in the RFID digital baseband system. It uses Verilog language to design the module, synthesizes with Quartus II software and downloads it to FPGA development board, then use SignalTap II logic analyzer to collect and analyzethe signal. In addition, the UART transceiver module is added on the basis of the design to realize the communication between PC and FPGA board. In order to fully verify the PIE code, based on UVM verification methodology and direct programminginterface C(DPI-C), an efficient and reusable verification platform was designed and implemented. The driver and the monitor were implemented to send excitation and the function of collecting output results. The output results of the reference model and DUT are consistent in the scoreboard, and the function coverage reaches 100%, which improves efficiency and completeness of the verification.
Key words : PIE coding;UART;universal verification methodology;directed program interface

0 引言

    隨著集成電路的快速發(fā)展,芯片研究周期不斷縮短,傳統(tǒng)的基于testbench的驗(yàn)證方式由于效率低、難達(dá)到預(yù)期覆蓋率以及可移植性差等缺點(diǎn),不適合日漸復(fù)雜的SOC芯片開(kāi)發(fā)。目前,通用驗(yàn)證方法學(xué)(Universal Verification Methodology,UVM)已成為IC驗(yàn)證領(lǐng)域最為廣泛使用的驗(yàn)證方式。UVM兼具封裝、繼承、面向?qū)ο蟮忍攸c(diǎn),擁有大量功能全面的組件和基類,同時(shí)開(kāi)發(fā)了factory、config等機(jī)制,可根據(jù)工程特性靈活地搭建驗(yàn)證結(jié)構(gòu)。

    RFID是非接觸式的無(wú)線通信技術(shù),它通過(guò)對(duì)射頻信號(hào)進(jìn)行調(diào)制、解調(diào)來(lái)實(shí)現(xiàn)信息的傳輸,是當(dāng)今最有發(fā)展前景的技術(shù)之一。目前,RFID技術(shù)已經(jīng)廣泛應(yīng)用在眾多行業(yè)和領(lǐng)域,如物流運(yùn)輸、資源管理、軍事國(guó)防、智能交通、門(mén)禁考勤、醫(yī)療電子等領(lǐng)域[1-2]。本文針對(duì)無(wú)線射頻識(shí)別(Radio Identification,RFID)數(shù)字基帶處理單元中閱讀器發(fā)送鏈路編碼模塊進(jìn)行設(shè)計(jì),并進(jìn)行了仿真和板級(jí)驗(yàn)證,采用串口通信作為物理通道,實(shí)現(xiàn)了PC端與FPGA板之間實(shí)現(xiàn)互傳數(shù)據(jù)。為進(jìn)一步驗(yàn)證編碼功能,搭建了UVM驗(yàn)證平臺(tái),采用DPI接口調(diào)用C語(yǔ)言編寫(xiě)的參考模型,實(shí)現(xiàn)了待測(cè)設(shè)計(jì)和C模型在記分板中的輸出結(jié)果對(duì)比一致。




本文詳細(xì)內(nèi)容請(qǐng)下載:http://theprogrammingfactory.com/resource/share/2000003585。




作者信息:

李姝萱,卜  剛

(南京航空航天大學(xué) 電子信息工程學(xué)院,江蘇 南京211106)




wd.jpg

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