CN1691020A - Method for fast generation of pseudo-random code as driving source for simulation - Google Patents

Method for fast generation of pseudo-random code as driving source for simulation Download PDF

Info

Publication number
CN1691020A
CN1691020A CN 200410036799 CN200410036799A CN1691020A CN 1691020 A CN1691020 A CN 1691020A CN 200410036799 CN200410036799 CN 200410036799 CN 200410036799 A CN200410036799 A CN 200410036799A CN 1691020 A CN1691020 A CN 1691020A
Authority
CN
China
Prior art keywords
pseudo
driving source
random code
tbit
random
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
CN 200410036799
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200410036799 priority Critical patent/CN1691020A/en
Publication of CN1691020A publication Critical patent/CN1691020A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

The invention discloses a method to produce pseudo-random code driving source quickly and take simulation, which is that, determine fixed repetition period sequence of pseudo-random sequence and mode parameters of pseudo-random code driving source; describe waveform of every pseudo-random code driving source by mode parameters aforementioned and produce description document; when running simulation, the simulation program calls directly the description document, and use real mode parameters to take the place of corresponding mode parameters in the description document to produce pseudo-random code driving source signal; and use signal aforementioned to activate system for simulation.

Description

A kind of quick generation pseudo-random code driving source carries out method of emulation
Technical field
The present invention relates to the emulation technology of the electronics and the communications field, relate in particular to a kind of quick generation pseudo-random code driving source and carry out method of emulation.
Background technology
In communication product, more and more higher and system becomes increasingly complex along with the frequency of operation of system, more and more urgent by the demand that signal integrity analysis is carried out in the grade simulated and system-level emulation of plate, printed circuit board is without the grade simulated analysis of the plate throwing plate of just taking away, and then the method for designing of going to pinpoint the problems in debugging can't adapt to the requirement of market development.
System signal quality during for the analogue system open service is generally used an excitation source signal excitation system not with professional error code emulation, and this excitation source signal is exactly the pseudo-random code driving source.The pseudo-random code driving source has following characteristics:
(1) pseudo-random sequence is to produce sequencing row really by shift register, with the repetition of certain cycle stability.
(2) pseudo-random sequence has the part random character of true random sequence.
(3) number of two kinds of elements " 0 " and " 1 " almost equal (only differing from 1) in the sequence, each accounts for 1/2 in sequence.
In the scheme of setting up pseudo-random code driving source realistic model, existing implementation has all adopted the method for shift register to set up pseudo-random code driving source realistic model.Its method is as follows:
Method one, employing HSPICE (a kind of integrated circuit high-speed simulation software) realize shift register, use non-HSPICE software processes simultaneously, set up the scheme of pseudo-random code driving source realistic model.Its implementation procedure is as shown in Figure 1:
Build the shift register artificial circuit by HSPICE; Operation HSPICE emulation output shift sequence; With non-HSPICE software shift sequence is handled; Operation produces the realistic model of being accepted by HSPICE; HSPICE calls model and carries out emulation.
There is following shortcoming in this method:
1, owing to need multistep to handle and the various software comprehensive ability produces pseudo-random code driving source realistic model, thereby its speed is slower.
2, can not directly in HSPICE, produce pseudo-random code driving source realistic model, and can use after must handling by the result that non-HSPICE software produces the HSPICE shift register, thereby cost is higher.
3, producing and call realistic model can not carry out simultaneously.
Method two, the non-HSPICE software of employing are realized shift register, handle simultaneously to produce HSPICE pseudo-random code driving source realistic model.Its implementation procedure is as shown in Figure 2:
Realize shift register by non-HSPICE software; Move non-HSPICE software output shift sequence; The pseudo-random code driving source model that generation is discerned by HSPICE; HSPICE calls pseudo-random code driving source model and carries out the emulation composition.
There is following shortcoming in this kind method:
1, must move non-HSPICE software and could produce pseudo-random code driving source model, thereby speed is slow.
2, producing and call realistic model can not carry out simultaneously.
3, need to finish, cause the cost height with non-HSPICE software processes.
Summary of the invention
The invention provides a kind of quick generation pseudo-random code driving source and carry out method of emulation, have the slow and high problem of cost of speed because of needs use various software to solve in the existing simulation process.
For addressing the above problem, the invention provides following technical proposals:
A kind of quick generation pseudo-random code driving source carries out method of emulation, and this method is:
Determine the fixed repetition period sequence of pseudo-random sequence and the model parameter of pseudo-random code driving source;
Utilize described model parameter to describe the waveform of each the pseudo-random code driving source in the described pseudo-random sequence, produce description document;
Directly call described description document by simulated program, and replace corresponding model parameter generation pseudo-random code excitation source signal in this description document with actual model parameter value; And
Utilize the pseudo-random code excitation source signal excitation system that produces to carry out emulation.
Wherein:
The model parameter of described pseudo-random code driving source comprises: every bit duration bit, rising edge time tr, negative edge time tf, low level voltage vl and the high level voltage vh of pseudo-random sequence.
According to the two-dimensional coordinate relation of time and voltage, and each pseudo-random code driving source position in pseudo-random sequence, the segmentation line segment that the time coordinate point that utilizes model parameter to represent links to each other with voltage coordinate point is described the waveform of pseudo-random code driving source.
The present invention has following beneficial effect:
As long as 1 is provided with the corresponding model parameter, can produce and call pseudorandom emulation driving source realistic model rapidly and carry out emulation, thereby speed is fast.
2, the present invention directly produces in HSPICE and calls pseudo-random code driving source model, need not other Software tool, so cost is lower.
Description of drawings
Fig. 1 is the simulation flow figure of prior art one;
Fig. 2 is the simulation flow figure of prior art two;
Fig. 3 is simulation flow figure of the present invention;
Fig. 4 is a pseudo-random code driving source model correlation parameter synoptic diagram of the present invention.
Embodiment
The present invention adopts stable characteristic and the integrated circuit high-speed simulation software HSPICE that repeats of pseudo-random code some cycles directly to be with parameterized characteristics to realize.
Consult shown in Figure 3ly, main processing procedure of the present invention is as follows:
1, determines the fixed repetition period sequence of pseudo-random sequence.
Because pseudo-random sequence is to have periodically stable the repetition, can determine putting in order of two kinds of elements " 0 " (being low level) and " 1 " (being high level) in the sequence.Concrete n position is that " 0 " (being low level voltage) or " 1 " (being high level voltage) are all fixed.As for concrete (1+x3+x7) PRBS pseudo-random code, its cycle fixedly repetitive sequence be: 10,110,010,101,101,011,111,011,110,000,110,001,000,101,001,100,111,101,010 10,001,111,111,001,000,000,101,100,000,111,010,000,100,111,000,110,100,100 101110110111001.Concrete n position is that " 0 " (being low level voltage) or " 1 " are all fixed.
2, set pseudo-random code driving source model parameter.
Utilize the HSPICE circuit can parameterized characteristics,, propose the correlation parameter of pseudo-random code driving source realistic model according to the demand of pseudo-random sequence driving source model.Each correlation parameter as shown in Figure 4, these parameters comprise:
(1) every bit time tbit of pseudo-random sequence;
(2) rising edge time tr, i.e. switching time from " 0 " (low level) to " 1 " (high level);
(3) negative edge time tf, i.e. switching time from " 1 " (high level) to " 0 " (low level);
(4) " 0 " (low level) voltage vl;
(5) " 1 " (high level) voltage vh.
After having set above-mentioned parameter, the interface model of pseudo-random code driving source realistic model can be defined as:
.subckt?prbs?Dataout?tbit=1000ps?tr=100ps?tf=100ps?vh=1v?vl=0v
Parametric t bit=1000ps tr=100ps tf=100ps vh=1v vl=0v wherein is a default value, can carry out corresponding modification according to the actual value needs.
3, utilize described model parameter to describe the waveform of each the pseudo-random code driving source in the described pseudo-random sequence, produce the description document of pseudo-random code driving source realistic model.
Consult shown in Figure 4ly, can form by the sectional curve that (time, voltage) coordinate points links to each other for any one excitation sources waveform in the pseudo-random sequence.Handle respectively according to two continuous bit different situations:
(1) if from " 0 " (low level) of (n-1) position when being transformed into " 1 " high level of n position, driving source can link to each other and represent with time and voltage coordinate point [(n-1) * tbit, vl], [(n-1) * tbit+tr, vh], [n*tbit, vh].
(2) if from " 1 " (high level) of (n-1) position when being transformed into " 0 " (low level) of n position, driving source can link to each other and represent with time and voltage coordinate point [(n-1) * tbit, vh], [(n-1) * tbit+tf, vl], [n*tbit, vl].
(3) if (n-1) position and n position are when all being " 0 " (low level), driving source can use time and voltage coordinate point [(n-1) * tbit, vl], [n*tbit, vl] link to each other and represent.
(4) if (n-1) position and n position are when all being " 1 " high level, driving source can use time and voltage coordinate point [(n-1) * tbit, vh], [n*tbit, vh] link to each other and represent.
All represent to the method for (4) for the fixedly repetitive sequence in the pseudo-random sequence by above (1).
Periodicity for pseudo-random sequence repeats and can use impulse function band R parameter to finish at HSPICE.
Thus, the whole pseudo-random sequence driving source realistic model circuit that has parameter has just been realized.
4, HSPICE directly calls description document, and replaces in this description document corresponding model parameter to produce the pseudo-random code excitation source signal with actual model parameter value carrying out emulation.
If every bit time of emulation tbit is 10000ps, waveform rising edge time tr is 150ps, the negative edge time is 200ps, high level voltage vh is 3V, low level voltage is that the concrete puppet of 1V is with sign indicating number driving source realistic model, only need directly in HSPICE, to use X_prbs Dataout prbs tbit=10000pstr=150ps tf=200ps vh=3V vl=0V, HSPICE calls description document and replaces parameter with actual value, and produce corresponding pseudo-random code excitation source signal according to pseudo-random code driving source realistic model, carry out emulation by this signal excitation system.
In the driving source model model of reality is used,, just can adapt to the various practical applications under different tbit, tr, tf, vh and vl parameter as long as do the step of an order 1-3.That is to say, need not do the step of 1-3 more again, HSPICE can directly produce and be invoked at the pseudo-random code driving source realistic model under different tbit, tr, tf, vh and the vl parameter.

Claims (5)

1, a kind of quick generation pseudo-random code driving source carries out method of emulation, it is characterized in that this method is:
Determine the fixed repetition period sequence of pseudo-random sequence and the model parameter of pseudo-random code driving source;
Utilize described model parameter to describe the waveform of each the pseudo-random code driving source in the described pseudo-random sequence, produce the description document of pseudo-random code driving source realistic model;
Directly call described description document by simulated program, and replace corresponding model parameter generation pseudo-random code excitation source signal in this description document with actual model parameter value; And
Utilize the pseudo-random code excitation source signal excitation system that produces to carry out emulation.
2, the method for claim 1 is characterized in that, the model parameter of described pseudo-random code driving source comprises: every bit duration bit, rising edge time tr, negative edge time tf, low level voltage vl and the high level voltage vh of pseudo-random sequence.
3, method as claimed in claim 2, it is characterized in that, two-dimensional coordinate relation according to time and voltage, and each pseudo-random code driving source position in pseudo-random sequence, the segmentation line segment that the time coordinate point that utilizes model parameter to represent links to each other with voltage coordinate point is described the waveform of pseudo-random code driving source.
4, method as claimed in claim 3 is characterized in that:
If when " 0 " of n-1 position is transformed into " 1 " of n position, links to each other and describe the excitation sources waveform of n position in the described pseudo-random sequence with time and voltage coordinate point [(n-1) * tbit, vl], [(n-1) * tbit+tr, vh], [n*tbit, vh];
If when " 1 " of n-1 position is transformed into " 0 " of n position, links to each other and describe the excitation sources waveform of n position in the described pseudo-random sequence with time and voltage coordinate point [(n-1) * tbit, vh], [(n-1) * tbit+tf, vl] [n*tbit, vl];
When if n-1 position and n position all are " 0 " in the described pseudo-random sequence, use time and voltage coordinate point [(n-1) * tbit, vl], [n*tbit, vl] to link to each other and describe excitation sources waveform of n position.
When if n-1 position and n position all are " 1 " in the described pseudo-random sequence, link to each other and describe the excitation sources waveform of n position with time and voltage coordinate point [(n-1) * tbit, vh], [n*tbit, vh].
5, the method for claim 1 is characterized in that, the model parameter value of described reality can or adopt default value by manual input.
CN 200410036799 2004-04-30 2004-04-30 Method for fast generation of pseudo-random code as driving source for simulation Pending CN1691020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410036799 CN1691020A (en) 2004-04-30 2004-04-30 Method for fast generation of pseudo-random code as driving source for simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410036799 CN1691020A (en) 2004-04-30 2004-04-30 Method for fast generation of pseudo-random code as driving source for simulation

Publications (1)

Publication Number Publication Date
CN1691020A true CN1691020A (en) 2005-11-02

Family

ID=35346459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410036799 Pending CN1691020A (en) 2004-04-30 2004-04-30 Method for fast generation of pseudo-random code as driving source for simulation

Country Status (1)

Country Link
CN (1) CN1691020A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087148B (en) * 2006-06-07 2011-01-05 鸿富锦精密工业(深圳)有限公司 Simulation and analysis system and method of high-speed differential signal
CN107292066A (en) * 2017-08-14 2017-10-24 郑州云海信息技术有限公司 A kind of encryption mixed model SI emulation modes based on ADS and HSPICE
CN107506540A (en) * 2017-08-10 2017-12-22 郑州云海信息技术有限公司 A kind of mixed model signal integrity simulation method
CN107609219A (en) * 2017-08-10 2018-01-19 郑州云海信息技术有限公司 A kind of mixed model signal integrity simulation method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087148B (en) * 2006-06-07 2011-01-05 鸿富锦精密工业(深圳)有限公司 Simulation and analysis system and method of high-speed differential signal
CN107506540A (en) * 2017-08-10 2017-12-22 郑州云海信息技术有限公司 A kind of mixed model signal integrity simulation method
CN107609219A (en) * 2017-08-10 2018-01-19 郑州云海信息技术有限公司 A kind of mixed model signal integrity simulation method
WO2019029105A1 (en) * 2017-08-10 2019-02-14 郑州云海信息技术有限公司 Mixed-model signal integrity simulation method
CN107609219B (en) * 2017-08-10 2020-03-06 郑州云海信息技术有限公司 Mixed model signal integrity simulation method
US11074384B1 (en) 2017-08-10 2021-07-27 Zhengzhou Yunhai Information Technology Co., Ltd. Method for simulating signal integrity of hybrid model
CN107292066A (en) * 2017-08-14 2017-10-24 郑州云海信息技术有限公司 A kind of encryption mixed model SI emulation modes based on ADS and HSPICE
WO2019033613A1 (en) * 2017-08-14 2019-02-21 郑州云海信息技术有限公司 Encryption hybrid model si simulation method based on ads and hspice
US11475196B2 (en) 2017-08-14 2022-10-18 Zhengzhou Yunhai Information Technology Co., Ltd. Encryption hybrid model SI simulation method based on ADS and HSPICE

Similar Documents

Publication Publication Date Title
CN1959686A (en) Methods and system to model arrangements of asynchronous interface
CN101063700A (en) Method and arrangement for implementing chip test
CN1211737A (en) IC chip tester and method for testing IC chip using the tester
CN100337212C (en) Logic verification system and method
CN1691020A (en) Method for fast generation of pseudo-random code as driving source for simulation
CN101030441A (en) Method and apparatus for reading and sampling data of DDR and DDR2 memory controller
CN200982985Y (en) A signal generator
CN1667620A (en) Method and apparatus for improving PCB design efficiency
CN1835389A (en) Method able to eliminate frequency error of digital controlled oscillator and phase accumulator
CN2710264Y (en) Time-division multiple real-time communication bus
CN1223246C (en) Method for designing printed circuit board and its equipment
CN1949184A (en) Method and system of chip checking
CN1482661A (en) Emulate testing system and testing method for universal digital circuit
CN1311391C (en) Error portion detecting method ,layout method and programme for semiconductor integrated circuit
CN1801079A (en) Canonical signed digit (CSD) coefficient multiplier with optimization
CN1283060C (en) Data receiving method based on clock signal and apparatus thereof
CN1189822C (en) Abnormal logic business simulating test device
CN1029712C (en) A driving circuit for a display apparatus
CN1275177C (en) Cmbined circuit equipment checking method based on satisfiability
CN1667617A (en) PCB design method and system for automatically leading-in designing rules
CN1750014A (en) Simulation realizing method for A/D converter
CN1128403C (en) Simulation method and device for real-time clock software
CN1133948C (en) Bindary data counter, area information extractor and Huffman converter
CN1744072A (en) Programmeable multiple digital waveform generating method and its device
CN1929623A (en) Gamma correcting chip forming method based on segment two-dots method

Legal Events

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