Explore topic-wise MCQs in Vhdl.

This section includes 16 Mcqs, each offering curated multiple-choice questions to sharpen your Vhdl knowledge and support exam preparation. Choose a topic below to get started.

1.

What is the use of s’TRANSACTION attribute?

A. Check the continuity
B. Check the hold time
C. Interrupt handling by using WAIT
D. Create a square wave
Answer» D. Create a square wave
2.

The attribute s’TRANSACTION creates a signal of type ______

A. BOOLEAN
B. BIT
C. INTEGER
D. Same as signal s
Answer» C. INTEGER
3.

Which of the following statement is correct to check the violation of hold time?

A. IF(clk’DELAYED(hold_time)’EVENT) THEN
B. IF(clk’DELAYED(hold_time) = ‘1’) THEN
C. IF(clk’DELAYED(hold_time) = ‘0’) THEN
D. IF(clk’DELAYED(hold_time) = ‘1’ AND clk’DELAYED(hold_tim
E. ’EVENT) THENb) IF(clk’DELAYED(hold_time) = ‘1’) THENc) IF(clk’DELAYED(hold_time) = ‘0’) THENd) IF(clk’DELAYED(hold_time) = ‘1’ AND clk’DELAYED(hold_time)’EVENT) THEN
Answer» E. ’EVENT) THENb) IF(clk’DELAYED(hold_time) = ‘1’) THENc) IF(clk’DELAYED(hold_time) = ‘0’) THENd) IF(clk’DELAYED(hold_time) = ‘1’ AND clk’DELAYED(hold_time)’EVENT) THEN
4.

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

A. TIME
B. BOOLEAN
C. INTEGER
D. Same as signal s
E. attribute?a) TIMEb) BOOLEANc) INTEGERd) Same as signal s
Answer» E. attribute?a) TIMEb) BOOLEANc) INTEGERd) Same as signal s
5.

Attribute s‘LAST_EVENT has a return value of ______ type.

A. BOOLEAN
B. TIME
C. INTEGER
D. Same as signal s type
Answer» C. INTEGER
6.

s’ACTIVE will return true if _________

A. Any transition from 0 to 1 on signal s during the current delta
B. Any transition from 1 to 0 on signal s during the current delta
C. Any change has occurred on the signal s during last 2 delta’s
D. Any change has occurred on the signal s during the current delta
Answer» E.
7.

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

A. Rising edge of the clock signal
B. Falling edge of the clock signal
C. Clock signal frequency
D. Time period of clock signalView Answer
Answer» C. Clock signal frequency
8.

Signal kind attributes can’t have variables as their objects.

A. True
B. False
Answer» B. False
9.

WHICH_OF_THE_FOLLOWING_STATEMENT_IS_CORRECT_TO_CHECK_THE_VIOLATION_OF_HOLD_TIME??$

A. IF(clk’DELAYED(hold_time)’EVENT) THEN
B. IF(clk’DELAYED(hold_time) = ‘1’) THEN
C. IF(clk’DELAYED(hold_time) = ‘0’) THEN
D. IF(clk’DELAYED(hold_time) = ‘1’ AND clk’DELAYED(hold_time)’EVENT) THEN
Answer» C. IF(clk‚Äö√Ñ√∂‚àö√ë‚àö¬•DELAYED(hold_time) = ‚Äö√Ñ√∂‚àö√ë‚àö‚â§0‚Äö√Ñ√∂‚àö√ë‚àö¬•) THEN
10.

The attribute s’TRANSACTION creates a signal of type ______$#

A. BOOLEAN
B. BIT
C. INTEGER
D. Same as signal s
Answer» D. Same as signal s
11.

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

A. TIME
B. BOOLEAN
C. INTEGER
D. Same as signal s
Answer» E.
12.

Attribute s‘LAST_EVENT has a return value of ______ type.$

A. BOOLEAN
B. TIME
C. INTEGER
D. Same as signal s type
Answer» E.
13.

s’ACTIVE will return true if _________$

A. Any transition from 0 to 1 on signal s during the current delta
B. Any transition from 1 to 0 on signal s during the current delta
C. Any change has occurred on the signal s during last 2 delta’s
D. Any change has occurred on the signal s during the current delta
Answer» C. Any change has occurred on the signal s during last 2 delta‚Äö√Ñ√∂‚àö√ë‚àö¬•s
14.

Signal kind attributes can’t have variables as their objects.$

A. True
B. False
Answer» B. False
15.

Which of the following returns the Boolean type always?

A. ‘LAST_VALUE
B. ‘LAST_EVENT
C. ‘EVENT
D. ‘STABLE
Answer» D. ‚Äö√Ñ√∂‚àö√ë‚àö‚â§STABLE
16.

What is the basic use of signal kind attributes?

A. To check any event on signals
B. To check if a function is called
C. To check if a signal is IN or OUT mode
D. To check a clock signal
Answer» B. To check if a function is called