Forum Discussion
Altera_Forum
Honored Contributor
10 years agoWrong logic synthesis when call function named <package_name>.<function_name>
I am in trouble in VHDL analyze & synthesis. I use "Quartus Prime Verion 15.1.0 Build 185 10/21/2015 SJ Lite Edition". It defines the no argument function in the package. sample.vhd ...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- ???? http://www.alteraforum.com/forum/showthread.php?t=51340 ok. Did you pay attention on the word "all" in "use" clause? by the way, why multiple call to "use" and "library" if VHDL able only one "use" clause per entity. library ieee; use ieee.std_logic_1164.all, ieee.numeric_std.all, work.sample.all; --- Quote End --- This doesnt matter. VHDL allows you to invidually call functions from a package. So this is not the problem. you never have to use .all to access things in a package, and you can also include only specific parts of packages if you want: use ieee.std_logic_1164.std_logic; --cannot create std_logic_vectors To the OP : this is very similar to your problem you posted here: http://www.alteraforum.com/forum/showthread.php?t=51340&p=211717#post211717 Have Altera confirmed the bug?