![]() |
|
|
|
#1 |
|
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 |
|
|
|
|
#2 |
|
Posts: n/a
|
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 |
|
|
|
#3 |
|
Posts: n/a
|
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 |
|
![]() |
| 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 |
| 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 |