๐Ÿงช VHDL MCQ Quiz Hub

VHDL Mcqโ€“ Behavioural Modelling

Choose a topic to test your knowledge and improve your VHDL skills

The most basic form of behavioral modeling in VHDL is _______





โœ… Correct Answer: 2

For any concurrent assignment statement, which of the following is true?





โœ… Correct Answer: 4

Which of the circuit is described by following VHDL code? LIBRARY IEEE; USE IEEE.std_logic_1164.all; ENTITY my_func IS PORT(x, a, b : IN std_logic; q : OUT std_logic); END my_func; ARCHITECTURE behavior OF my_func IS SIGNAL s : INTEGER; BEGIN WITH s SELECT q <= a AFTER 10 ns WHEN 0; b AFTER 10 ns WHEN 1; s <= 0 WHEN x = โ€˜0โ€™ ELSE 1 WHEN x = โ€˜1โ€™; END behavior;





โœ… Correct Answer: 3

The main problem with behavioral modeling is ________





โœ… Correct Answer: 1

What is the use of simulation deltas in VHDL code?





โœ… Correct Answer: 3

Which function is used to create a single value for multiple driver signals?





โœ… Correct Answer: 1

Refer to the VHDL code given below, which of the following signal is driven by multiple drivers? LIBRARY IEEE; USE IEEE.std_logic_1164.all; ENTITY function IS PORT (b, c : IN BIT; a, d : OUT BIT); END function; ARCHITECTURE behavior OF my_func IS BEGIN a <= b; a <= c; d <= b; END behavior;





โœ… Correct Answer: 4

A signal is driven by two signals b and c. How the value of b and c will be resolved to calculate the value of a?





โœ… Correct Answer: 1

Which of the following is default delay in VHDL?





โœ… Correct Answer: 1

What must be overcome by the output signal to change the value in case of inertial delay?





โœ… Correct Answer: 3

The inertia value in inertial delay model is equal to _________





โœ… Correct Answer: 2

Transport delay is a kind of __________





โœ… Correct Answer: 4

A buffer with single input A and single output B has a delay of 20 nanosecond. If the value of input A changes after 10 ns from 0 to 1 and it changes again from 1 to 0 at 20 ns. At what time, the value of output B will be 1, if the inertial delay model is used?





โœ… Correct Answer: 4

The keyword TRANSPORT in any assignment statement specifies _______





โœ… Correct Answer: 1

A buffer with single input A and single output B has a delay of 20 nanosecond. If the value of input A changes after 10 ns from 0 to 1 and it changes again from 1 to 0 at 20 ns. At what time, the value of output B will be 1, if the transport delay model is used?





โœ… Correct Answer: 2

In the VHDL code given below, which delay model is used? LIBRARY IEEE; USE IEEE.std_logic_1164.all; ENTITY buffer IS PORT(a : IN STD_LOGIC; b : OUT STD_LOGIC); END buffer; ARCHITECTURE buf OF buffer IS BEGIN b <= a AFTER 20 ns; END buf;





โœ… Correct Answer: 3

For zero delay events, which of the following mechanism is used?





โœ… Correct Answer: 3

Which of the following delay model follows the principle of preemption?





โœ… Correct Answer: 1

Which of the following is not the application of inertial delay?





โœ… Correct Answer: 2

The condition to implement the simulation delta delay is _______





โœ… Correct Answer: 4

In which part of the VHDL code, generics are declared?





โœ… Correct Answer: 2

Which of the following is correct declaration for a generic?





โœ… Correct Answer: 1

What is the main use of the generic parameter?





โœ… Correct Answer: 3

Which of the following is true about Generics?





โœ… Correct Answer: 2

In most synthesis tools, only generics of type ________ are supported.





โœ… Correct Answer: 1

GENERIC (n : INTEGER := 8); In this statement, the mode of generic โ€˜nโ€™ is _______





โœ… Correct Answer: 4

Which function is used to map a generic on design?





โœ… Correct Answer: 3

Generics in VHDL can be treated as _______





โœ… Correct Answer: 1

Which of the following can be used as a generic in a complex digital design with many inputs and two outputs?





โœ… Correct Answer: 2

What do you mean by a block?





โœ… Correct Answer: 4

What is the scope of variables or signals declared in the block statement?





โœ… Correct Answer: 3

Which of the following defines the interface to the block?





โœ… Correct Answer: 2

Guarded block has an extra ________ expression.





โœ… Correct Answer: 4

What should be the type of the value of guard expression?





โœ… Correct Answer: 1

What is the main purpose of using blocks?





โœ… Correct Answer: 3

Which of the following is better for design partitioning?





โœ… Correct Answer: 3

Which of the following is true about guarded blocks?





โœ… Correct Answer: 2

Which of the following statement is used to describe regular structures? d)





โœ… Correct Answer: 2

What will be the values of out1 and out2? ARCHITECTURE bhv OF example IS CONSTANT out1 : BIT; CONSTANT out2 : BIT; BEGIN B1 : BLOCK CONSTANT S : BIT := 0; BEGIN B1-1 : BLOCK SIGNAL S : BIT := 1; BEGIN out1 <= S; END BLCOK B1-1; out2 <= S; END BLOCK B1; END bhv;





โœ… Correct Answer: 3

What is the use of FOR generation?





โœ… Correct Answer: 2

Which of the following is the use of IF generation?





โœ… Correct Answer: 2

Which of the following is defined in structural modeling?





โœ… Correct Answer: 1

Which of the following is not a way of partitioning a design?





โœ… Correct Answer: 3

What is the basic unit of structural modeling?





โœ… Correct Answer: 3

Which of the following is similar to the entity declaration in structural modeling?





โœ… Correct Answer: 2

What do you mean by component instantiation?





โœ… Correct Answer: 1

The structural model is similar to___________





โœ… Correct Answer: 2

Which of the following is correct syntax for component declaration?





โœ… Correct Answer: 4

Which of the following is the correct syntax for component instantiation?





โœ… Correct Answer: 3

Which of the following must be known to describe a structural model in VHDL?





โœ… Correct Answer: 2