My Report

VHDL Practice Test 7


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which of the following is used to extract information of non-array types?

2. The parameter of a procedure can have any of the three modes.

3. For which of the following declarations, the value returned by ‘ASCENDING attribute will be true?

TYPE array_1 IS ARRAY (0 TO 31) OF BIT;
TYPE array_2 IS ARRAY (15 DOWNTO 0) OF BOOLEAN;

4. What is the type of value returned by the s’DELAYED(time) attribute?

5. Refer to the statement given below, it is used for detecting _________

IF (clk’EVENT and clk = ‘0’)

6. What kind of information is provided by the value block attributes?

7. What is the basic syntax to write an attribute?

8. What will be the value of array16’RANGE and array16’REVERSE_RANGE, if the array16 is an object defined as below?

TYPE array16 IS ARRAY(15 DOWNTO 0) OF BIT

9. Identify the value of variable x from the lines given below.

SUBTYPE delay_time IS TIME RANGE 10 ns to 50 ns;
VARIABLE x := delay_time'BASE

10. Which of the following describes the function of ‘PRED(value)?


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.