Library metamor ?

P

Peter Prikasky

Guest
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 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
 
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 mailto:Jim@SynthWorks.com
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
 

Welcome to EDABoard.com

Sponsor

Back
Top