7. Look at the following declarations:TYPEarray1ISARRAY(0TO3)OFBIT_VECTOR(3DOWNTOTYPEarray2ISARRAY(0TO3)OFarray1How many total bits can be stored in these arrays?0);;a) 16b) 9c) 64d) 27View AnswerAnswer: cExplanation: First of all, array1 is array of BIT_VECTOR type that means it contains 4BIT_VECTOR. One BIT_VECTOR is here declared to be consisting of 4 bits. Therefore,Array 1 can have 16 bits. Now, array2 is an array of 4 array1. Therefore, total bits are 4× 16 = 64.
8. Refer to the four declarations below, which of the following is not a 2 dimensionalarray?TYPEarray1ISARRAY(3DOWNTO0,1DOWNTO0)OFSTD_LOGICTYPEarray2ISARRAY(3DOWNTO0)OFSTD_LOGIC_VECTOR(3DOWNTOTYPEarray3ISARRAY(2DOWNTO0)OFarray2TYPEarray4ISARRAY(0TO3,3DOWNTO0)OF;0);;BIT;
Get answer to your question and much more