List of Messages |
TYPE example IS RECORD ex1 : INTEGER range 1 to 5; ex2 : STRING ex3 : INTEGER range 1 to 7; END example; SIGNAL exa : example; exa <= (ex1 => 3, OTHERS => 1); exa <= (ex1 | ex2 => 3, ex3 => 2);When you specify a value for two or more object elements, the elements must all have the same type.
exa <= (ex1 => 3, ex2 => "1", OTHERS => 1); exa <= (ex1 => 3, ex2 => "3", ex3 => 2);
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.