Bei der Gruppe, für die Sie eine Mitteilung verfassen, handelt es sich um eine
Usenet-Gruppe . Wenn Sie in dieser Gruppe Nachrichten posten, ist Ihre E-Mail-Adresse für jeden im Internet sichtbar
Ihre Antwort wurde nicht gesendet.
Die Nachricht wurde übermittelt.
Newsgroups: comp.lang.vhdl
Von:
"charsi" <gupta_an... @nospam.rediffmail.coooom>
Datum: Thu, 19 May 2005 13:39:39 -0400
Lokal: Do 19 Mai 2005 19:39
Betreff: Xilinx ISE : type real
i'm using Xilinx ISE 6.3i...i'm required to calculate logarithm in my design...Xilinx wont support type real. Is there any cure for this..i intend to use Xilinx only.
plz help...thanks
Sie müssen sich
anmelden , bevor Sie Nachrichten veröffentlichen können.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Newsgroups: comp.lang.vhdl
Von:
"Mohammed A khader" <am.i... @gmail.com>
Datum: 20 May 2005 02:50:39 -0700
Lokal: Fr. 20 Mai 2005 11:50
Betreff: Re: Xilinx ISE : type real
Hi, Real Numbers are not synthesizable . Consider using fix point format .
-- Mohammed A Khader.
Sie müssen sich
anmelden , bevor Sie Nachrichten veröffentlichen können.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Newsgroups: comp.lang.vhdl
Von:
"Alain" <no_spa2... @yahoo.fr>
Datum: Sat, 21 May 2005 11:04:53 +0200
Lokal: Sa 21 Mai 2005 11:04
Betreff: Re: Xilinx ISE : type real
Hi, Which kind log do you want to implement ? Log2, for instance easy to implement for integer.
function Log2(input : integer) return integer is variable n : integer; variable logn : integer; begin n := 1; for i in 0 to 31 loop logn := i; exit when (n >= input); n := n * 2; end loop; return logn; end;
"charsi" <gupta_an... @nospam.rediffmail.coooom> a écrit dans le message de news: 40074f5037b6cee8f57fca3db2ee0__BEGIN_MASK_n#9g02mG7!__...__END_MASK_i?a63jfAD$z__@localhost.talkaboutprogramming.com ...
> i'm using
Xilinx ISE 6.3i...i'm required to calculate logarithm in my
> design...
Xilinx wont support type real.
> Is there any cure for this..i intend to use Xilinx only.
> plz help...thanks
Sie müssen sich
anmelden , bevor Sie Nachrichten veröffentlichen können.
Sie haben nicht die erforderliche Berechtigung zum Posten.
Newsgroups: comp.lang.vhdl
Von:
David Bishop <dbis... @vhdl.org>
Datum: Sun, 22 May 2005 12:31:16 GMT
Lokal: So 22 Mai 2005 14:31
Betreff: Re: Xilinx ISE : type real
charsi wrote:
> i'm using
Xilinx ISE 6.3i...i'm required to calculate logarithm in my
> design...
Xilinx wont support type real.
> Is there any cure for this..i intend to use Xilinx only.
First, according to 1076.6 the type "real" is not synthesisizable. I think that the function you really want is in the new "numeric_std" package.
Download this file: http://www.eda.org/vhdl-200x/vhdl-200x-ft/packages/additions_11.tar.Z
Compile the file "numeric_std_additions.vhd" (this are just the new functions, not the whole thing)
Use this function:
signal XXX : UNSIGNED (16 downto 0); signal log_base_2 : integer;
log_base_2 := find_msb (XXX, '1');
This package will synthesize with XST, the fixed point and floating point packages will not until Xilinx 8.0 because they use a negative index.
Sie müssen sich
anmelden , bevor Sie Nachrichten veröffentlichen können.
Sie haben nicht die erforderliche Berechtigung zum Posten.