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

Reply

VHDL - Library metamor ?

 
Thread Tools Search this Thread
Old 05-25-2004, 04:22 PM   #1
Default Library metamor ?


Hi, I am an VHDL-newbi.

My job is to change an old VHDL-code written for a lattice-device to be used
with an Altera-device.
My VHDL code consists of 4 files, i am able to compile 3 of them with little
changes.
But the last file uses an library METAMOR (metamor.attributes.all).
Is there anybody who knows which library i can use instead of ? I use the
Max+PlusII Software.

best regards
Peter




Peter Prikasky
  Reply With Quote
Old 05-25-2004, 05:26 PM   #2
Tim Hubberstey
 
Posts: n/a
Default Re: Library metamor ?
Peter Prikasky wrote:

> Hi, I am an VHDL-newbi.
>
> My job is to change an old VHDL-code written for a lattice-device to be used
> with an Altera-device.
> My VHDL code consists of 4 files, i am able to compile 3 of them with little
> changes.
> But the last file uses an library METAMOR (metamor.attributes.all).
> Is there anybody who knows which library i can use instead of ? I use the
> Max+PlusII Software.


Unfortunately, it's not going to be that simple. Based on the name,
metamor.ATTRIBUTES, it sounds like the Metamor library contains
primarily synthesis attributes. These are going to be
synthesizer-specific so you're going to have to go through the code and
find them, understand why they're there, and re-write using an Altera
equivalent, if available.
--
Tim Hubberstey, P.Eng. . . . . . Hardware/Software Consulting Engineer
Marmot Engineering . . . . . . . VHDL, ASICs, FPGAs, embedded systems
Vancouver, BC, Canada . . . . . . . . . . . http://www.marmot-eng.com



Tim Hubberstey
  Reply With Quote
Old 05-25-2004, 06:25 PM   #3
Jim Lewis
 
Posts: n/a
Default Re: Library metamor ?
Peter,
Attributes in tool specific packages typically do things
like assign pin locations, turn on/off synthesis tool
options. You do not need these when you port to another
tool vendor.

I would comment out the metamor.attributes.all.
If these are the only attributes used in the design,
you can freely comment out things like:
attribute LOC : string;
ATTRIBUTE LOC of clock: signal is "P2";
ATTRIBUTE LOC of barreset: signal is "P3";
ATTRIBUTE LOC of barpreset: signal is "P4";
ATTRIBUTE LOC of q: signal is "P27 P26 P25 P24";

If you are not sure whether you are using attributes
from other packages, just comment out the package and
compile the design, the ones from the metamor package
will show up as compile errors. Comment them out.

Cheers,
Jim
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
Jim Lewis
Director of Training private.php?do=newpm&u=
SynthWorks Design Inc. http://www.SynthWorks.com
1-503-590-4787

Expert VHDL Training for Hardware Design and Verification
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~






> Hi, I am an VHDL-newbi.
>
> My job is to change an old VHDL-code written for a lattice-device to be used
> with an Altera-device.
> My VHDL code consists of 4 files, i am able to compile 3 of them with little
> changes.
> But the last file uses an library METAMOR (metamor.attributes.all).
> Is there anybody who knows which library i can use instead of ? I use the
> Max+PlusII Software.
>
> best regards
> Peter
>



Jim Lewis
  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
Sony Ebook Book Library HELP! alltimelow123 General Help Related Topics 0 12-31-2008 06:37 AM
Help me please!! library graph 3D for Java novata Software 0 07-03-2008 08:23 PM
SFX Sound Effects Libraries - Cheap!! Barbara DVD Video 1 11-11-2006 12:23 PM
Re: Viacom Library To DVD RichA DVD Video 2 01-18-2005 08:22 AM




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