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

Reply

VHDL - Howto Create a library from vhdl source with design compiler ?

 
Thread Tools Search this Thread
Old 06-01-2006, 06:31 PM   #1
Default Howto Create a library from vhdl source with design compiler ?


I have created a vhdl package mylib and i want to compile it into a
library with synopsys design compiler, to able to use them as a library
in my vhdl designs.

For example in another design:

library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
library my_lib;
use my_lib.my_lib.all;

I am newby with design compiler and i got confused reading the manuals .

Many thanks
nkef


Nikolaos Kefalas
  Reply With Quote
Old 06-01-2006, 06:54 PM   #2
Mike Treseler
 
Posts: n/a
Default Re: Howto Create a library from vhdl source with design compiler?
Nikolaos Kefalas wrote:
> I have created a vhdl package mylib and i want to compile it into a
> library with synopsys design compiler, to able to use them as a library
> in my vhdl designs.


> library ieee;
> use ieee.std_logic_1164.all;
> use ieee.numeric_std.all;
> -- library my_lib;
> -- use my_lib.my_lib.all;

use work.my_lib.all;

-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 06-01-2006, 07:32 PM   #3
Kai Harrekilde-Petersen
 
Posts: n/a
Default Re: Howto Create a library from vhdl source with design compiler ?
Mike Treseler <> writes:

> Nikolaos Kefalas wrote:
>> I have created a vhdl package mylib and i want to compile it into a
>> library with synopsys design compiler, to able to use them as a
>> library in my vhdl designs.

>
>> library ieee;
>> use ieee.std_logic_1164.all;
>> use ieee.numeric_std.all;
>> -- library my_lib;
>> -- use my_lib.my_lib.all;

> use work.my_lib.all;


Design Compiler understands multiple VHDL libraries - albeit not very
well. We used A LOT of different libraries (much to Synopsys chagrin)
at Vitesse.

As I recall, if you want to compile my_package into my_lib you have to
pass "-work my_lib" to the compile function in DC (we had lots of
scripts around the basic DC functions, so my memory is quite hazy
here).


Kai
--
Kai Harrekilde-Petersen <khp(at)harrekilde(dot)dk>


Kai Harrekilde-Petersen
  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
How to burn copy CD/DVD and create Data/Audio/Video Disc? dvdloveri Software 6 07-27-2009 07:58 AM
Error: Physical sythesis tool PALAC is not supported by Formal Verification tool Conf bbiandov Software 0 12-22-2008 05:25 AM
Help on auto conversion from Matlab to vhdl on filter design hardheart Hardware 0 12-07-2007 09:19 AM
Conformal LEC of a VHDL design (RTL Vs Netlist) sharatd Hardware 0 10-18-2006 02:47 PM
The Non-Arguable Case Against the Bush Administration 1 Sara DVD Video 65 11-07-2004 02:42 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