[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[f-cpu] random number generator
- To: f-cpu@seul.org
- Subject: [f-cpu] random number generator
- From: "gaetan@xeberon.net" <gaetan@xeberon.net>
- Date: Mon, 02 Feb 2004 16:42:31 +0100
- Delivered-to: archiver@seul.org
- Delivered-to: f-cpu-outgoing@seul.org
- Delivered-to: f-cpu@seul.org
- Delivery-date: Mon, 02 Feb 2004 10:40:49 -0500
- Reply-to: f-cpu@seul.org
- Sender: owner-f-cpu@seul.org
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.6) Gecko/20040113
Hello f-cpu world !
I'm looking for a real random generator for intensive tests on the
floating point adder.
I would like to generate randomly a set of real numbers (single or
double precision) and feed my adder with.
I've found someone but i don't know if I could use them (licence
conflict??):
http://tech-www.informatik.uni-hamburg.de/vhdl/packages/mathpack/mathpack.vhd
this is a MATH_REAL package for ones (like me) who doesn't have the
expensive math_real from ieee.
I don't really need a complex one, just something to avoid me to type
every constant...
and an other problem is the seed: is there a "time()" function in vhdl,
or anythig else to "pseudo-random" initialize the generator...
I'm under windows so i don't have /dev/random >:o ...
the random package in the source tree just read a file... i will use it
if i don't find anything else but i don't really like it...
thanks,
so i go back to my adder
byebye
--
~~ Gaetan ~~
http://www.xeberon.net
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu in the body. http://f-cpu.seul.org/