Altera_Forum
Honored Contributor
15 years agoQuartus II can't find package during synthesis
Hi all!
In a design I am currently working on, I need to manually instanciate a Stratix IV I/O buffer. So here is my code:
library stratixiv;
use stratixiv.stratixiv_components.all;
a_in : stratixiv_io_ibuf
generic map
(
differential_mode => "false",
bus_hold => "false",
lpm_type => "stratixiv_io_ibuf"
)
port map
(
i => a,
o => a_int
);
This works fine in simulation (ModelSIM DE 6.6a), but during synthesis with Quartus II 10.1 I get the following error: --- Quote Start --- Error (10481): VHDL Use Clause error at ns_io.vhd(26): design library "stratixiv" does not contain primary unit "stratixiv_components" File: /home/ns/ns_io/src/ns_io.vhd Line: 26 Error (10800): VHDL error at ns_io.vhd(26): selected name in use clause is not an expanded name File: /home/ns/ns_io/src/ns_io.vhd Line: 26 Error: Quartus II Analysis & Synthesis was unsuccessful. 2 errors, 0 warnings Error: Peak virtual memory: 330 megabytes Error: Processing ended: Thu Apr 28 13:23:30 2011 Error: Elapsed time: 00:00:08 Error: Total CPU time (on all processors): 00:00:07 --- Quote End --- I could find the package file stratixiv_components.vhd several time: /opt/altera10.1/modelsim_ase/altera/vhdl/src/stratixiv/stratixiv_components.vhd /opt/altera10.1/quartus/eda/fv_lib/vhdl/stratixiv/stratixiv_components.vhd
/opt/altera10.1/quartus/eda/sim_lib/stratixiv_components.vhd
/opt/altera10.1/quartus/libraries/vhdl/wysiwyg/stratixiv_components.vhd I could fix this by removing the use clause at the beginnning of my file and adding the file /opt/altera10.1/quartus/eda/synthesis/stratixiv.vhd to the sources of the project, but this is not clean. any idea on why the package is not found during synthesis? Thx, -Julien