Visible to Intel only — GUID: mwh1409960082009
Ixiasoft
Visible to Intel only — GUID: mwh1409960082009
Ixiasoft
2.10.3.2. Creating Black Boxes in VHDL
A black box for the top-level file A.vhd is shown in the example below. Provide a component declaration for any lower‑level files that also contain a black box or for any block beneath the current level of hierarchy.
VHDL Black Box for Top-Level File A.vhd
LIBRARY ieee; USE ieee.std_logic_1164.all; ENTITY A IS PORT ( data_in : IN INTEGER RANGE 0 TO 15; clk, e, ld : IN STD_LOGIC; data_out : OUT INTEGER RANGE 0 TO 15); END A; ARCHITECTURE a_arch OF A IS COMPONENT B PORT( data_in : IN INTEGER RANGE 0 TO 15; clk, ld : IN STD_LOGIC; d_out : OUT INTEGER RANGE 0 TO 15); END COMPONENT; COMPONENT F PORT( d : IN INTEGER RANGE 0 TO 15; clk, e: IN STD_LOGIC; q : OUT INTEGER RANGE 0 TO 15); END COMPONENT; -- Other component declarations in A.vhd go here signal cnt_out : INTEGER RANGE 0 TO 15; BEGIN U1 : B PORT MAP ( data_in => data_in, clk => clk, ld => ld, d_out => cnt_out); U2 : F PORT MAP ( d => cnt_out, clk => clk, e => e, q => data_out); -- Any other code in A.vhd goes here END a_arch;
After you complete the steps outlined above, you have different netlist files for each partition of the design. These files are ready for use with incremental compilation in the Intel® Quartus® Prime software.
Did you find the information on this page useful?
Feedback Message
Characters remaining: