[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [f-cpu] magnetude comparison



Michael Riepe a écrit :

On Sun, Feb 29, 2004 at 08:50:39PM +0100, gaetan@xeberon.net wrote:
[...]

i've found this way:

function compare_vector(a, b : std_ulogic_vector(3 downto 0)) return std_ulogic is

[...]

it seems to work...

For vectors of four(!) bits, yes.


i'm writing it for n-bit vectors...

--

~~ 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/