Font Size: a A A

The Study On Digital-Analog Mixed Circuits Simulation Technology Of Dual-Interface Smart Card

Posted on:2017-03-06Degree:MasterType:Thesis
Country:ChinaCandidate:X D ShaoFull Text:PDF
GTID:2348330488974600Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the continuous advances in electronic technology, more and more designs have to develop towards the mixed-signal system. It is essential to conduct system level simulation in order to detect defects at the early stage of design. Therefore,improvement of traditional simulation methods and mixed-signal simulation become an urgent problem to be solved. Based on this situation, this paper mainly studies dual-interface smart card mixed-signal system simulation technology at Cadence‘s analog mixed-signal simulation platform(Virtuoso AMS Simulator), and completed simulation and analysis of partial verification target.Analysis the files emulator required, test cases can be divided into DUT configuration, test stimulus, and the choice of analog emulator etc. 7 types information. Mixed-signal automatic simulation environment was built. The environment utilized TC.cfg file which contains 7 types configuration information of test cases and can be easily modified. When the test case was built,only this file need to be modified and computer can use script replace the large amount of modifying files manually according to configuration information. Complete the working directory and all files emulator required in the test cases generated automatically and realize the automation of the simulation environment.The principle of this environment is that the verification people modify the TC.cfg file most easily, determine the order of the configuration information in the document.When the script process TC.cfg file, it can only process documents according to the order of the contents, therefore conflicts with the order of input file content the emulator needed. Under constantly reasoning and validation, the environment can be divided into 17 function block and the simple automation simulation environment was obtained. The pre_convert.pl script was designed and the simulation configuration information was stored by nested Hash structure for the following calls. Combing the function which regular expression can match and modify file contend with other technologies,the function of 17 block were realized to build the automated simulation environment.For parts of verification objective of dual-interface smart card, the verification methods were designed, and simulate the verification objective based on the new environment built in this paper. Compared with old environment simulation,the number of manual changes contends in new environment reduce about 20 times. In the test cases which reuse the test stimulus in other test cases, the preparation time of simulation case be reduced more than three times. The file hierarchy structure under new environment is clear and easy to transplant to other projects. The emulator required file can be generated automatically, realizing the automation of the simulation. It can effectively reduce the verification error rate and workload and improve the work efficiency more than 3 times.According to ISO/IEC14443-Type A protocol, the card reader send command module were designed. This module can generate the time sequence waveform of time sequence X through tasks, during sending command, determine the electric logic level of command from low bit to high bit in turn, and perform the corresponding task, therefore generate the waveform of command in accordance with the protocol. The module can contribute to improve the efficiency of verification for the reason that it can work under different communication rate. The results of simulation were analysis and the conclusion can be drawn: The signals of chip keep stable, the noise keep small. The system function can be realized conforming to requirement of product specification.
Keywords/Search Tags:Dual-Interface Smart Card, Mixed-Signal System, Nested Hash, Regular Expression, Automatic Simulation Environment
PDF Full Text Request
Related items