Altera_Forum
Honored Contributor
12 years agoquestion regarding random number generator
hii..
i would like to ask if there is any library that have a function to generate numbers randomly within certain range..??? i wanna make a component that takes an input once add to its value 15 and subtract from it 15 and gives output within this range randomly i.e --> output= rand[input+15, input-15] i've no problem with the design except of the part of random value generation i did some work arround to do so that i'm not satisfied with.. here is what i did --> xoring 2 bits putting the result in another place.. any idea how can i do this.. all your helps highly appreciated.. thanks, Niveen..