List of Messages |
ENTITY example IS PORT ( clk : IN std_logic; i : IN std_logic_vector (0 to 3); o : OUT std_logic_vector (0 to 3) ); END example; ARCHITECTURE ex1 OF example IS BEGIN o(4) <= i(3); END ex1;The target index of the object must belong to the index range you declared for the object.
ACTION: Change the target index for the object, or change the bounds of the object index range to include the index. In the previous example, you must change o(4) to o(0), o(1), o(2), or o(3); or change the index range (0 to 3) to include the target index 4.
Copyright© 2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS, STRATIX, and all other brands, unless noted otherwise, and/or trademarks of Altera Corporation in the U.S. and other countries.