Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Search arithmetic library

 
Thread Tools Search this Thread
Old 02-27-2009, 12:46 PM   #1
Default Search arithmetic library


Hi,

I need to use the arithmetic library but I don't find it!

I need to use arithmetic.std_logic_arith and I don't want change for
another library.

Where I can find it?


Thks


Yannick
  Reply With Quote
Old 02-27-2009, 01:48 PM   #2
jeppe
Senior Member
 
Join Date: Mar 2008
Location: Denmark
Posts: 245
Default
Hi

It properly depends on which enviroment (ISE) your using but try to include this in your source code.

library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;

Could be this in our case

library arithmetic;
use arithmetic.STD_LOGIC_ARITH.ALL;


Your welcome


jeppe

Last edited by jeppe : 02-27-2009 at 01:51 PM.
jeppe is offline   Reply With Quote
Old 02-27-2009, 03:26 PM   #3
Tricky
 
Posts: n/a
Default Re: Search arithmetic library
On Feb 27, 12:46*pm, Yannick <yannick.d...@gmail.com> wrote:
> Hi,
>
> I need to use the arithmetic library but I don't find it!
>
> I need to use arithmetic.std_logic_arith and I don't want change for
> another library.
>
> Where I can find it?
>
> Thks


std_logic_arith is usually in the ieee library.
But dont use that, use ieee.numeric_std instead.


Tricky
  Reply With Quote
Old 03-02-2009, 07:50 PM   #4
Andy Peters
 
Posts: n/a
Default Re: Search arithmetic library
On Feb 27, 5:46*am, Yannick <yannick.d...@gmail.com> wrote:

> I need to use arithmetic.std_logic_arith


No, you don't ...

-a



Andy Peters
  Reply With Quote
Old 03-08-2009, 07:56 AM   #5
Yannick
 
Posts: n/a
Default Re: Search arithmetic library
On 2 mar, 20:50, Andy Peters <goo...@latke.net> wrote:
> On Feb 27, 5:46*am, Yannick <yannick.d...@gmail.com> wrote:
>
> > I need to use arithmetic.std_logic_arith

>
> No, you don't ...
>
> -a


I know that I can use iee library iee but this is not a acceptable
solution.
If you don't know where I can find it, please don't reply!

Nobody know where I can find this library ? (This is the question)

Thanks


Yannick
  Reply With Quote
Old 03-09-2009, 06:51 PM   #6
Jacko
 
Posts: n/a
Default Re: Search arithmetic library
On 27 Feb, 12:46, Yannick <yannick.d...@gmail.com> wrote:
> Hi,
>
> I need to use the arithmetic library but I don't find it!
>
> I need to use arithmetic.std_logic_arith and I don't want change for
> another library.
>
> Where I can find it?
>
> Thks


Useually for standard libraries they will be in the ieee tree. I say
use which ever you want, they are very similar, but some type
conversion issues exist.

library ieee;

use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;

you could use ieee.numeric_std.all as well or instead of this will
slightly change the code needed, i.e. a slight cast changing, but not
much else will differ. The packages differ IIRC in that
std_logic_arith has arithmetic functions which produce
std_logic_vector, where as numeric_std is focused on producing numeric
results, which then can be cast/autocast to std_logic_vector.

There are many opinions, but i have had no concrete rational as to why
one is better than the other.

cheers jacko



Jacko
  Reply With Quote
Old 03-12-2009, 04:21 PM   #7
Yannick
 
Posts: n/a
Default Re: Search arithmetic library
On 9 mar, 19:51, Jacko <jackokr...@gmail.com> wrote:
> On 27 Feb, 12:46, Yannick <yannick.d...@gmail.com> wrote:
>
> > Hi,

>
> > I need to use the arithmetic library but I don't find it!

>
> > I need to use arithmetic.std_logic_arith and I don't want change for
> > another library.

>
> > Where I can find it?

>
> > Thks

>
> Useually for standard libraries they will be in the ieee tree. I say
> use which ever you want, they are very similar, but some type
> conversion issues exist.
>
> library ieee;
>
> use ieee.std_logic_1164.all;
> use ieee.std_logic_arith.all;
>
> you could use ieee.numeric_std.all as well or instead of this will
> slightly change the code needed, i.e. a slight cast changing, but not
> much else will differ. The packages differ IIRC in that
> std_logic_arith has arithmetic functions which produce
> std_logic_vector, where as numeric_std is focused on producing numeric
> results, which then can be cast/autocast to std_logic_vector.
>
> There are many opinions, but i have had no concrete rational as to why
> one is better than the other.
>
> cheers jacko


I try to simulate a old design on ACTEL. For safety and no more step,
I need to use the same
library than the first compilation in 1999.

I know ieee library and I use it for all my design but I can't to use
it here. I haven't any choice, it's the protocol.

Voila

thanks

yannick


Yannick
  Reply With Quote
Old 03-13-2009, 07:42 AM   #8
Yannick
 
Posts: n/a
Default Re: Search arithmetic library
On 12 mar, 17:34, Alan Fitch <> wrote:
> Yannick wrote:
> > On 9 mar, 19:51, Jacko <jackokr...@gmail.com> wrote:

>
> <snip>
>
> > I try to simulate a old design on ACTEL. For safety and no more step,
> > I need to use the same
> > library than the first compilation in 1999.

>
> > I know ieee library and I use it for all my design but I can't to use
> > it here. I haven't any choice, it's the protocol.

>
> > Voila

>
> > thanks

>
> > yannick

>
> I would suggest you contact Actel Technical Support at ,
> they may be able to make obsolete versions of their design software
> available to you,
>
> regards
> Alan
>
> --
> Alan Fitch
> Douloshttp://www.doulos.com


I try to contact us!!

Thanks


Yannick
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error: java.lang.UnsatisfiedLinkError: Can't load library: /home/nalgo01/libcImpl.so gopinath511 Software 0 01-07-2009 09:13 AM
Search Engine Marketing Webinar BayshoreWebinar General Help Related Topics 0 11-07-2008 07:12 PM
SFX Sound Effects Libraries - Cheap!! Barbara DVD Video 1 11-11-2006 12:23 PM
QUOTES FROM EBAY STORES misirens@hotmail.com DVD Video 1 06-19-2006 10:21 PM
36168 Mining the Web: Jacobian Matrix Constructs with eigenVectorSearching 36168 Web Science DVD Video 0 11-16-2004 10:01 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46