![]() |
|
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Senior Member
Join Date: Mar 2008
Location: Denmark
Posts: 245
|
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. |
|
|
|
|
|
#3 |
|
Posts: n/a
|
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 |
|
|
|
#4 |
|
Posts: n/a
|
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 |
|
|
|
#5 |
|
Posts: n/a
|
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 |
|
|
|
#6 |
|
Posts: n/a
|
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 |
|
|
|
#7 |
|
Posts: n/a
|
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 |
|
|
|
#8 |
|
Posts: n/a
|
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 |
|
![]() |
| Thread Tools | Search this Thread |
|
|
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 |