Visible to Intel only — GUID: mwh1409959876451
Ixiasoft
Visible to Intel only — GUID: mwh1409959876451
Ixiasoft
3.2.6.4.3. Component Instantiation—Default Binding
VHDL Code: Default Binding to the Entity in the Same Library as the Component Declaration
If you do not provide an explicit binding indication, the Quartus® Prime software binds a component instance to the nearest visible entity with the same name. If no such entity is visible in the current scope, the Quartus® Prime software binds the instance to the entity in the library in which you declare the component. For example, if you declare the component in a package in the MY_LIB library, an instance of the component binds to the entity in the MY_LIB library.
The code examples in the following examples show this instantiation method:
use mylib.pkg.foo; -- import component declaration from package “pkg” in -- library “mylib” architecture rtl of top ... begin -- This instance will be bound to entity “foo” in library “mylib” inst: foo port map(...); end architecture rtl;
VHDL Code: Default Binding to the Directly Visible Entity
use mylib.foo; -- make entity “foo” in library “mylib” directly visible architecture rtl of top component foo is generic (...) port (...); end component; begin -- This instance will be bound to entity “foo” in library “mylib” inst: foo port map(...); end architecture rtl;