Altera_Forum
Honored Contributor
14 years agoHelp about Random Number Generater function
hello everyone, I just start a project that need use some kind of random number generator function, but I failed to convert into a VHDL entity, could anyone give some suggestion how should do that?
This is the funtion: unsigned F8(unsigned x) { x=(x*3+3)&0xFF; x=x^(11); return x; } Thank U guys