Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

libraries added in vhdl

Status
Not open for further replies.

p11

Banned
Joined
Jan 25, 2014
Messages
177
Helped
0
Reputation
0
Reaction score
0
Trophy points
16
Activity points
0
Code:
use work.all;
use work.cf_definitions.all;
use work.fcf_merger_def.all;

how to understand this library and to see the definitions included in library ???????????????
 
Last edited by a moderator:

work.all just includes everything compiled into the work library.
cf_definitions and fcf_merger_def are clearly custom packages. You will need to source code for these.
 

work.all just includes everything compiled into the work library.
cf_definitions and fcf_merger_def are clearly custom packages. You will need to source code for these.

what is their in work library ? i mean for which kind of functions does it get specially used ?
 

work is just the default library a unit gets compiled into if nothing else is specified.
It contains nothing unless you compile a file into it.

the code you posted expects the packages cf_definitions and fcf_merger_def to have already been compiled into the work library.
 

"work" is the default library. Most designs use "work" to refer to your code. Third party code might be compiled into other libraries, like ieee or xilinx or altera or synopsys or etc... This means you can have a work.fifo and a vendor.fifo in the same file.

"work" is a special library. most designs compile all user code into "work" in order to avoid confusion with the nuances of the "work" library, or because there is a lack of understanding of how libraries work in VHDL.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top