CN108763981A - A kind of RFID reader verification platform and verification method based on UVM - Google Patents

A kind of RFID reader verification platform and verification method based on UVM Download PDF

Info

Publication number
CN108763981A
CN108763981A CN201810460264.3A CN201810460264A CN108763981A CN 108763981 A CN108763981 A CN 108763981A CN 201810460264 A CN201810460264 A CN 201810460264A CN 108763981 A CN108763981 A CN 108763981A
Authority
CN
China
Prior art keywords
module
rfid reader
verify data
uvm
verification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810460264.3A
Other languages
Chinese (zh)
Inventor
胡建国
陈俊丞
李元新
蔡佳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Yat Sen University
SYSU CMU Shunde International Joint Research Institute
Research Institute of Zhongshan University Shunde District Foshan
National Sun Yat Sen University
Original Assignee
SYSU CMU Shunde International Joint Research Institute
Research Institute of Zhongshan University Shunde District Foshan
National Sun Yat Sen University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SYSU CMU Shunde International Joint Research Institute, Research Institute of Zhongshan University Shunde District Foshan, National Sun Yat Sen University filed Critical SYSU CMU Shunde International Joint Research Institute
Priority to CN201810460264.3A priority Critical patent/CN108763981A/en
Publication of CN108763981A publication Critical patent/CN108763981A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0095Testing the sensing arrangement, e.g. testing if a magnetic card reader, bar code reader, RFID interrogator or smart card reader functions properly

Abstract

The invention discloses a kind of RFID reader verification platform based on UVM, including test structure and test module to be verified are built by being then based on UVM, so portable strong;A kind of RFID reader verification method based on UVM of the present invention, verify data is generated by actuation generator, then verify data is transferred in test module to be verified by driver, test module to be verified returns to handling result in test structure after having handled verify data, it is compared by test structure, judge whether handling result is consistent with expected results, it can be obtained verification result, under the basis for ensureing basic verification, it is built using UVM, it is portable strong, it only needs to carry out a small amount of modification, it can be transplanted in the verification of other RFID readers.

Description

A kind of RFID reader verification platform and verification method based on UVM
Technical field
The present invention relates to chip checking technical field, especially a kind of RFID reader verification platform based on UVM and test Card method.
Background technology
Now in integrated circuit design, Front-end Design and verification carry out parallel, in general when designer uses After the function that needs are realized is converted into RTL code by Verilog, the personnel of verification need to use Systemverilog or SystemC Build verification platform, the verification platform of early stage is typically all single use Verilog to build verification example, and now most of Verification platform is built using Systemverilog.
Since Systemverilog has increased many outstanding characteristics, such as constraint, coverage rate, interface characteristic newly, using When verification platforms of the Systemverilog to build RFID reader, these characteristics bring a lot of convenience to building, but The verification platform system of Systemverilog is more huge, and readable and portability is poor after platform building is complete, needs to carry out big Amount change could apply in the verification of other RFID readers, and generic validation methodology (Universal Verification Methodology, abbreviation UVM) clear layer, the verification platform built with it is clear in structure, and has Extraordinary transplantability, so how using UVM to become problem to be solved to build the verification platform of RFID reader.
Invention content
To solve the above problems, the RFID reader verification platform that the purpose of the present invention is to provide a kind of based on UVM and Verification method builds RFID verification platforms by using UVM so that platform portability enhances, it is only necessary to carry out a small amount of Change can be applicable in the verification of other RFID readers.
Technical solution is used by the present invention solves the problems, such as it:
A kind of RFID reader verification platform based on UVM includes test structure based on UVM and to be verified to be tested Demonstrate,prove test module, the test module to be verified be RFID reader chip, the RFID reader chip include sending module, Verify data is transferred to transmission by receiving module, CRC parity check modules and des encryption module, the test structure respectively In module, receiving module, CRC parity check modules and des encryption module, by sending module, receiving module, CRC odd evens school It tests module and des encryption module is respectively handled verify data, and handling result is transferred in test structure, it is described Test structure is verified according to the handling result that RFID reader chip exports.
Further, the test structure includes that verify data is input to the input module of RFID reader chip and is connect The output module of the handling result of RFID reader chip is received, the input module includes being sent out for generating the excitation of verify data Raw device and the driver connected with RFID reader chip, the actuation generator are connected with driver, and the driver will Verify data is respectively transmitted in sending module, receiving module, CRC parity check modules and des encryption module.
Further, further include interface module for connecting test structure and RFID reader chip, it is described defeated Enter module, output module, sending module, receiving module, CRC parity check modules and des encryption module respectively with interface mould Block connects.
Further, the input module further includes the input monitoring mould being monitored to the input of RFID reader chip Block, the output module include the output monitoring module being monitored to the output of RFID reader chip, the driver, defeated Enter monitoring module, output monitoring module is connect with interface module respectively.
Further, the test structure further include generate anticipated output reference model module and by anticipated output with Verify data is sent to reference model mould by the comparison module that the output of RFID reader chip is compared, the driver Block, the comparison module are connect with reference model module and output module respectively.
Further, the test structure further includes the statistical module for statistical function coverage rate, the statistical module point It is not connect with input monitoring module and output monitoring module.
A kind of RFID reader verification method based on UVM, includes the following steps:
A, actuation generator generates verify data;
B, test module to be verified is transferred to after driver drives verify data;
C, handling result is output to test structure after test module to be verified handles verify data;
D, test structure is compared according to handling result with anticipated output, is verified result.
Further, the step A actuation generators generate in verify data, the actuation generator generation meet short frame, The first verification data of standard frame and position anti-collision frame, generation meet the second verify data of transponder card response, generate it is different with The third verify data of machine number and the 4th verify data for generating different random numbers and wrong encryption data.
Further, the step B drive is transferred to after being driven to verify data in test module to be verified, described First verification data is transferred to sending module by driver, and the second verify data is transferred to receiving module, third is verified number According to CRC parity check modules are transferred to, the 4th verify data is transferred to des encryption module.
Further, first verification data, the second verify data, third are verified number by the driver by interface module It is respectively transmitted in sending module, receiving module, CRC parity check modules and des encryption module according to, the 4th verify data.
The beneficial effects of the invention are as follows:A kind of RFID reader verification platform based on UVM that the present invention uses, including survey Framework and test module to be verified are tried, wherein test module to be verified includes sending module, receiving module, CRC even-odd checks Verify data is sent in test module to be verified by module and des encryption module, test structure, by sending module, is received Module, CRC parity check modules and des encryption module are respectively handled verify data, tie processing after the completion of processing Fruit return to test structure in, handling result is verified by test structure, test structure be based on UVM, by using UVM builds RFID reader verification platform, under the basic function for ensureing verification, enhances the portable of entire verification platform Property, it is only necessary to carry out a small amount of change, you can be applied in the verification of other RFID readers;
A kind of RFID reader verification method based on UVM of the present invention, the actuation generator in test structure can generate Different verify data, for the verification of modules in test module to be verified, in test module to be verified to verify data After being handled, handling result is transferred in test structure by test module to be verified, is carried out to handling result by test structure Verification, realizes basic authentication function, and build entire verification platform by using UVM, enhances portability.
Description of the drawings
The invention will be further described with example below in conjunction with the accompanying drawings.
Fig. 1 is a kind of schematic diagram of the RFID reader verification platform based on UVM of the present invention;
Fig. 2 is a kind of flow chart of the RFID reader verification method based on UVM of the present invention.
Specific implementation mode
Referring to Fig.1, a kind of RFID reader verification platform based on UVM of the invention, includes the test structure based on UVM 1 and test module to be verified 2 to be verified, test module to be verified 2 of the invention is RFID reader chip, test structure 1 Some verify datas can be generated, and verify data is transferred in RFID reader chip, then in RFID reader chip Module can handle corresponding verify data, and result is transmitted back in test structure 1 by treated, and test structure 1 is according to processing As a result contrast verification is carried out, you can be verified as a result, the verification platform of the present invention is built based on UVM, so taking The verification platform structure for building completion is more clear, and portability is also enhanced, if wishing to be transplanted to other verification platform In, it is only necessary to carry out a small amount of change.
And RFID reader chip includes sending module 21, receiving module 22, CRC parity check modules 23 and DES Encrypting module 24 is mainly handled verify data by this four modules when carrying out verification work, and each module corresponds to What the verify data difference of processing, sending module 21 and receiving module 22 were verified is the type, acknowledgement type, system shape of data frame Can state etc., the verification of CRC parity check modules 23 properly generate check bit, the verification of des encryption module 24 can correctly encrypt and It can correctly be responded when encountering false key.
RFID reader chip is divided into analog portion and numerical portion, and verification work is primarily directed to data integrated circuit Part, numerical portion is mainly using the kernel of Cortex-M0, and on-chip bus is using AHB-Lite buses, in bus The peripheral hardware for including mainly also includes RAM and ROM other than four modules mentioned above.
Entire RFID reader chip using the system that can support type-A and type-B agreements in ISO14443, Its design object is:With non-contact interface, type-A the and type-B agreements of ISO14443 can be supported;With higher peace Full performance.
The general trees of UVM include the TOP layers of top, as the root of entire tree structure, under be divided into four Basic component, be respectively i_agent (input agency), referencemode (reference model), Scoreboard (scoreboard), And o_agent (output agent);Include again 3 components at i_agent, is sequencer, driver and i_ respectively The generator of monitor, sequencer as excitation, the effect of driver are to arrive the excitation driving that sequencer is generated In DUT (test module 2 to be verified), i_monitor is used to monitor the input condition of DUT;Include an o_ under o_agent Monitor, the output situation for monitoring DUT, the effect of referencemode be for DUT provide one be preferably expected it is defeated Go out, output can be compared inside Scoreboard with the reality output of DUT.
In the above-mentioned UVM trees being previously mentioned, wherein i_agent is the input module 11 of the present invention, Referencemode is the reference model module 13 of the present invention, and Scoreboard is the comparison module 14, o_agent of the present invention For the output module 12 of the present invention, sequencer is the actuation generator 111 of the present invention, and driver is the driver of the present invention 112, i_monitor, o_monitor is respectively the input monitoring module 113 of the present invention, output monitoring module 121, and DUT is Test module 2 to be verified, that is, RFID reader chip.
The test structure 1 of the present invention is built based on UVM, including input module 11, output module 12, reference model mould Block 13, comparison module 14 and statistical module 15, input module 11 include actuation generator 111, driver 112 and input prison Module 113 is controlled, output module 12 includes output monitoring module 121, and actuation generator 111 is connect with driver 112, driver 112 connect with reference model module 13, test module to be verified 2 respectively, by verify data be transferred to test module 2 to be verified with And in reference model module 13, comparison module 14 is connect with reference model module 13 and output monitoring module 121 respectively, respectively Anticipated output and reality output that the two transmission comes are received, and is compared, is judged whether consistent.
Specifically, verify data is respectively transmitted to sending module 21, receiving module 22, CRC even-odd checks by driver 112 In module 23 and des encryption module 24.
The invention also includes an interface module 3, the effect of interface module 3 is by test structure 1 and RFID reader core Piece connects, and carries out the transmission of data, and the verify data that driver 112 is transmitted is transferred to RFID by interface module 3 In reader chip, handling result is transferred to by interface module 3 in test structure 1 by RFID reader chip again, and in order to This input/output procedure is monitored, input monitoring module 113 and output monitoring module 121, input monitoring are just provided with Module 113 and output monitoring module 121 are connect with interface module 3 respectively, RFID reader chip receive verify data and When transmission process result, input monitoring module 113 and output monitoring module 121 are monitored it.
Specifically, test structure 1 further includes the statistical module 15 for statistical function coverage rate, statistical module 15 respectively with Input monitoring module 113 and output monitoring module 121 connect.
With reference to Fig. 2, a kind of RFID reader verification method based on UVM of the invention includes the following steps:A, excitation hair Raw device 111 generates verify data;B, driver 112 is transferred to test module 2 to be verified after being driven to verify data;C, it waits for Handling result is output to test structure 1 by validation test module 2 after handling verify data;D, test structure 1 is according to place Reason result is compared with anticipated output, is verified result.
Specifically, step A actuation generators 111 generate in verify data, and the generation of actuation generator 111 meets short frame, mark The first verification data of quasi- frame and position anti-collision frame, generation meet the second verify data of transponder card response, generate different random 4th verify data of several third verify datas and generation different random number and wrong encryption data.
Specifically, survey to be verified is transferred to by interface module 3 after step B drive 112 drives verify data In die trial block 2, wherein first verification data is transferred to sending module 21 by driver 112, and the second verify data is transferred to and is connect Module 22 is received, third verify data is transferred to CRC parity check modules 23, the 4th verify data is transferred to des encryption mould Block 24.
Verify data can be sent to ginseng by driver 112 while each verify data is sent to corresponding module Model module 13 is examined, handling result is transferred to by the modules in reference model module 13 and test module to be verified 2 to be compared It in module 14, is compared, is judged whether unanimously, if unanimously, function is correct by comparison module 14.
The present invention is based on UVM to build verification platform, and due to UVM, this body structure is more clear, so the verification platform built Structure is also more clear, and portability is enhanced, and is if desired applied in the verification of other RFID reader, it is only necessary to Carry out a small amount of modification.
The above, only presently preferred embodiments of the present invention, the invention is not limited in the above embodiments, as long as It reaches the technique effect of the present invention with identical means, should all belong to the scope of protection of the present invention.

Claims (10)

1. a kind of RFID reader verification platform based on UVM, it is characterised in that:Include test structure (1) based on UVM and Test module to be verified (2) to be verified, the test module (2) to be verified are RFID reader chip, and the RFID is read Device chip includes sending module (21), receiving module (22), CRC parity check modules (23) and des encryption module (24), institute It states test structure (1) and verify data is transferred to sending module (21), receiving module (22), CRC parity check modules respectively (23) and in des encryption module (24), by sending module (21), receiving module (22), CRC parity check modules (23) and Des encryption module (24) is respectively handled verify data, and handling result is transferred in test structure (1), the survey Examination framework (1) is verified according to the handling result that RFID reader chip exports.
2. a kind of RFID reader verification platform based on UVM according to claim 1, it is characterised in that:The test Framework (1) includes that verify data is input to the input module (11) of RFID reader chip and receives RFID reader chip Handling result output module (12), the input module (11) includes the actuation generator for generating verify data (111) and with RFID reader chip the driver (112) connected, the actuation generator (111) and driver (112) are even It connects, verify data is respectively transmitted to sending module (21), receiving module (22), CRC even-odd check moulds by the driver (112) In block (23) and des encryption module (24).
3. a kind of RFID reader verification platform based on UVM according to claim 2, it is characterised in that:Further include using In the interface module (3) for connecting test structure (1) and RFID reader chip, the input module (11), output mould Block (12), sending module (21), receiving module (22), CRC parity check modules (23) and des encryption module (24) respectively with Interface module (3) connects.
4. a kind of RFID reader verification platform based on UVM according to claim 3, it is characterised in that:The input Module (11) further includes the input monitoring module (113) being monitored to the input of RFID reader chip, the output module (12) include the output monitoring module (121) being monitored to the output of RFID reader chip, it is the driver (112), defeated Enter monitoring module (113), output monitoring module (121) is connect with interface module (3) respectively.
5. a kind of RFID reader verification platform based on UVM according to claim 2, it is characterised in that:The test Framework (1) further includes generating the reference model module (13) of anticipated output and by the defeated of anticipated output and RFID reader chip Go out the comparison module (14) being compared, verify data is sent to reference model module (13) by the driver (112), described Comparison module (14) is connect with reference model module (13) and output module (12) respectively.
6. a kind of RFID reader verification platform based on UVM according to claim 4, it is characterised in that:The test Framework (1) further includes the statistical module (15) for statistical function coverage rate, the statistical module (15) respectively with input monitoring Module (113) and output monitoring module (121) connection.
7. a kind of verification method using any RFID reader verification platforms based on UVM of claim 1-6, feature It is:Include the following steps:
A, actuation generator (111) generates verify data;
B, driver (112) is transferred to test module to be verified (2) after being driven to verify data;
C, handling result is output to test structure (1) after test module (2) to be verified handles verify data;
D, test structure (1) is compared according to handling result with anticipated output, is verified result.
8. a kind of RFID reader verification method based on UVM according to claim 7, it is characterised in that:The step A Actuation generator (111) generates in verify data, and the actuation generator (111), which generates, meets short frame, standard frame and position erosion control The first verification data of prominent frame generates the third verification for meeting the second verify data of transponder card response, generating different random number Data and the 4th verify data for generating different random numbers and wrong encryption data.
9. a kind of RFID reader verification method based on UVM according to claim 8, it is characterised in that:The step B Driver (112) is transferred to after being driven to verify data in test module to be verified (2), and the driver (112) is by One verify data is transferred to sending module (21), the second verify data is transferred to receiving module (22), by third verify data CRC parity check modules (23) are transferred to, the 4th verify data is transferred to des encryption module (24).
10. a kind of RFID reader verification method based on UVM according to claim 9, it is characterised in that:The driving Device (112) is divided first verification data, the second verify data, third verify data, the 4th verify data by interface module (3) It is not transferred in sending module (21), receiving module (22), CRC parity check modules (23) and des encryption module (24).
CN201810460264.3A 2018-05-15 2018-05-15 A kind of RFID reader verification platform and verification method based on UVM Pending CN108763981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810460264.3A CN108763981A (en) 2018-05-15 2018-05-15 A kind of RFID reader verification platform and verification method based on UVM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810460264.3A CN108763981A (en) 2018-05-15 2018-05-15 A kind of RFID reader verification platform and verification method based on UVM

Publications (1)

Publication Number Publication Date
CN108763981A true CN108763981A (en) 2018-11-06

Family

ID=64006809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810460264.3A Pending CN108763981A (en) 2018-05-15 2018-05-15 A kind of RFID reader verification platform and verification method based on UVM

Country Status (1)

Country Link
CN (1) CN108763981A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110618929A (en) * 2019-08-01 2019-12-27 广东工业大学 Verification platform and verification method of symmetric encryption algorithm based on UVM
CN111082858A (en) * 2019-12-16 2020-04-28 烽火通信科技股份有限公司 High-reusability overhead simulation system and method based on UVM
CN111953354A (en) * 2020-06-30 2020-11-17 上海美仁半导体有限公司 Testing method of verification algorithm, chip, storage medium and household appliance
CN115190030A (en) * 2022-06-30 2022-10-14 东风汽车集团股份有限公司 Hardware device and UVM verification platform for realizing CAN FD
CN116029236A (en) * 2023-03-28 2023-04-28 中科亿海微电子科技(苏州)有限公司 Comprehensive parameterized self-test model structure and test method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050077329A (en) * 2004-01-27 2005-08-02 에스케이 텔레콤주식회사 Radio frequency identification system
CN103106378A (en) * 2012-12-26 2013-05-15 广州中大微电子有限公司 Novel 15693 tag chip verification platform
US20130140361A1 (en) * 2010-09-21 2013-06-06 Marvin T. Ling Method and apparatus for conducting offline commerce transactions
CN103226179A (en) * 2012-01-27 2013-07-31 台湾积体电路制造股份有限公司 Mobile wireless communications device with wireless local area network and cellular scheduling and related methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050077329A (en) * 2004-01-27 2005-08-02 에스케이 텔레콤주식회사 Radio frequency identification system
US20130140361A1 (en) * 2010-09-21 2013-06-06 Marvin T. Ling Method and apparatus for conducting offline commerce transactions
CN103226179A (en) * 2012-01-27 2013-07-31 台湾积体电路制造股份有限公司 Mobile wireless communications device with wireless local area network and cellular scheduling and related methods
CN103106378A (en) * 2012-12-26 2013-05-15 广州中大微电子有限公司 Novel 15693 tag chip verification platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何冬明: "RFID数字控制器的UVM功能覆盖率验证", 《中国集成电路》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110618929A (en) * 2019-08-01 2019-12-27 广东工业大学 Verification platform and verification method of symmetric encryption algorithm based on UVM
CN111082858A (en) * 2019-12-16 2020-04-28 烽火通信科技股份有限公司 High-reusability overhead simulation system and method based on UVM
CN111953354A (en) * 2020-06-30 2020-11-17 上海美仁半导体有限公司 Testing method of verification algorithm, chip, storage medium and household appliance
CN115190030A (en) * 2022-06-30 2022-10-14 东风汽车集团股份有限公司 Hardware device and UVM verification platform for realizing CAN FD
CN116029236A (en) * 2023-03-28 2023-04-28 中科亿海微电子科技(苏州)有限公司 Comprehensive parameterized self-test model structure and test method
CN116029236B (en) * 2023-03-28 2023-08-11 中科亿海微电子科技(苏州)有限公司 Comprehensive parameterized self-test model structure and test method

Similar Documents

Publication Publication Date Title
CN108763981A (en) A kind of RFID reader verification platform and verification method based on UVM
CN110618929B (en) Verification platform and verification method of symmetric encryption algorithm based on UVM
CN105205249B (en) A kind of SOC debugging verification systems and its software-hardware synergism method
CN104486169B (en) Reusable automatic detection and accidental validation system and method
CN104268079B (en) A kind of method and system of POS Application testings
CN106021044A (en) Reusable SPI (Serial Peripheral Interface) bus protocol module verification environment platform and verification method thereof
CN110046387A (en) A kind of SM2 module verification platform and verification method based on UVM
CN103714295B (en) A kind of detection method and system of financial integrated circuit card personal data
CN113486625B (en) Chip verification method and verification system
CN106293625A (en) A kind of method and apparatus of configuration register
CN203260029U (en) System chip prototype verification debugging device based on field programmable gate array (FPGA)
CN108459850A (en) Generate the method, apparatus and system of test script
CN104462626A (en) RFIF verification platform based on VMM verification methodology and implementation method
CN103370713B (en) For the method programming mobile terminal device chip
CN108829382A (en) A method of reference model, which is established, with Python improves automatic Verification platform efficiency
CN110532220A (en) AES based on UVM verification methodology verifies device
CN108984945B (en) Simulation verification platform based on multi-core joint simulation verified design
CN111651292A (en) Data verification method and device, electronic equipment and computer readable storage medium
CN106709120A (en) PCIE (peripheral component interface express) verification method
CN106777665A (en) Improve the method and system of cooperating simulation platform verification efficiency
CN106776191A (en) A kind of realization method and system of SOC debugging
CN109447440A (en) A kind of environmental objective appraisal management method and apparatus, terminal device and storage medium
DE102008046397A1 (en) System-level system-level transaction verification by translating transactions into machine code
CN114780143A (en) CAN controller excitation sequence generation method and device based on UVM and verification platform
CN108614901A (en) A kind of PCIE verification method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181106

RJ01 Rejection of invention patent application after publication