Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17253 Diskussionen

library work in Quartus II

Altera_Forum
Geehrter Beitragender II
6.276Aufrufe

Hello, 

 

Pls see my attachment. There is a list of vhdl and bdf files under files.(e.g zpu.vhd, old_helloworld.vhd, ...see snapshots) Are these files automatically put into a work library?? 

How to create a new library?? Create new folder in working directory??? 

 

Regards
0 Kudos
5 Antworten
Altera_Forum
Geehrter Beitragender II
4.481Aufrufe

 

--- Quote Start ---  

Hello, 

 

Pls see my attachment. There is a list of vhdl and bdf files under files.(e.g zpu.vhd, old_helloworld.vhd, ...see snapshots) 

--- Quote End ---  

 

 

I looked into your attachment. And the problem is that you have two entities with the same name. This is not desirable. 

 

 

--- Quote Start ---  

Are these files automatically put into a work library?? 

--- Quote End ---  

 

The files are compiled in the work library by the simulation software. Quartus II doesn't use work library etc for synthesis. However if you have a "design library" which contains design entities, then Quartus looks into the library for the particular design entity you have specified in your design. 

 

 

--- Quote Start ---  

 

How to create a new library?? 

--- Quote End ---  

 

Not required here. 

 

 

--- Quote Start ---  

 

Create new folder in working directory??? 

 

--- Quote End ---  

 

No. 

------------------------------------- 

 

Now, to cut the long story short, here is what you should do: 

1. If zpu.bdf and zpu.vhd represent the same design, remove either of these from your project Files. 

2. If they represent two different designs, then change the name of one of them (i.e. change the name of the "entity" in the program and not the name of the file). 

 

Regards, 

Kumar Vijay Mishra.
Altera_Forum
Geehrter Beitragender II
4.481Aufrufe

Hi, 

I found this old thread which helped me since I had the same problem. But I would like to know how this happens. I used "create HDL Design File for Current File" (my .bdf-file) and got his problem. But I have done it before in another project and everything worked then. And another question since I am very new at this, how do you change the name of the entity of the top level design in the .bdf-file (I didn't have to since the files reperesented the same design but I still would like to know.). 

Thank you in advance and thank you for a very good forum! 

Best Regards 

Anna 

 

 

--- Quote Start ---  

I looked into your attachment. And the problem is that you have two entities with the same name. This is not desirable. 

 

 

The files are compiled in the work library by the simulation software. Quartus II doesn't use work library etc for synthesis. However if you have a "design library" which contains design entities, then Quartus looks into the library for the particular design entity you have specified in your design. 

 

 

Not required here. 

 

 

No. 

------------------------------------- 

 

Now, to cut the long story short, here is what you should do: 

1. If zpu.bdf and zpu.vhd represent the same design, remove either of these from your project Files. 

2. If they represent two different designs, then change the name of one of them (i.e. change the name of the "entity" in the program and not the name of the file). 

 

Regards, 

Kumar Vijay Mishra. 

--- Quote End ---  

Altera_Forum
Geehrter Beitragender II
4.481Aufrufe

 

--- Quote Start ---  

Hi, 

how do you change the name of the entity of the top level design in the .bdf-file 

Best Regards 

Anna 

--- Quote End ---  

 

 

Either change it in top-level "entity" portion of the HDL or change the name of the block itself in bdf.
Altera_Forum
Geehrter Beitragender II
4.481Aufrufe

hello, i'm a newbie. 

Can anyone show me how to add a package into the "work" library in quatus ii? thank!
Altera_Forum
Geehrter Beitragender II
4.481Aufrufe

 

--- Quote Start ---  

 

Can anyone show me how to add a package into the "work" library in quatus ii? thank! 

--- Quote End ---  

 

 

Just add the file to your project. Packages need to be compiled before the code that uses them. In the GUI that you use to add files to the project there are up/down arrows to move the files around. Move the package files to the top of that list. 

 

Cheers, 

Dave
Antworten