Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
hey its simple buddy....
a random test generator is nothing but a function with an input parameter called seed....
so as seed varies ...output may also vary which depends upon how tht function is implemented....
a seed is used so tht u can generate different random patterns (as its always a Psuedo random logic in hardware rather than being totally random)...so u need to provide a seed.....
simple saying for eg. ur random pattern may start from ur seed value...so if ur seed is 5 ...ur random pattern starts frm 5...n so on...
Thanks for the info.
But still I have one doubt.
I am writing the test cases in XML,as the RTG has XML based file interface.
Suppose if I give the seed as 1000, it gives one set of assembly isntructions.
But if I give seed as 67854, it gives another set of instructions.
I didn't get how it varies.
you mentioned that if u give seed as 5, the random pattern starts from 5.
So, if i give as 1000, from where the instruction generation starts?
Can you explain me in detail.
hi, i just explained the very basics of seed n random generation logic.....
but i've no idea abt RTG n the assembly instrns u r talking abt....probably someone actually working in RTG may help u out ......or rather go thru some documentions...
I have an idea that if the seed is 5,random number generator takes the seed as intial value. But I am not getting how to correlate with the assembly instructions.
Suppose for example, I wrote a test script for an ADD instruction and run the test case with different seeds. On what basis does the random test generator generate the sequence of instructions? Pls help me out
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.