Logo

Vhdl Questions Set 1:

Quiz Mode

What will be the value of z in the following VHDL code?

1
2
3
4

Solution:

What is the data type of the result of the MOD operator?

1
2
3
4

Solution:

How are multiple processes in a VHDL code executed?

1
2
3
4

Solution:

The circuit shown in the code is designed to implement which logic function?

1
2
3
4

Solution:

In which package are the SIGNED and UNSIGNED data types defined?

1
2
3
4

Solution:

How many types of Ports are present in VHDL and which are they?

1
2
3
4

Solution:

When a variable is assigned a new value inside a process, the updated value of the variable will be available:

1
2
3
4

Solution:

Refer to the VHDL code given below, which of the following lines has an error?

Line 1: SUBTYPE my_logic IS STD_LOGIC RANGE '0' TO '1';
Line 2: SIGNAL a: BIT;
Line 3: SIGNAL b: STD_LOGIC;
Line 4: SIGNAL c: my_logic;
Line 5: b <= a;
Line 6: b <= c;

1
2
3
4

Solution:

What is the correct syntax for using a GENERIC parameter in structural modeling?

1
2
3
4

Solution:

Which of the following is the correct syntax for an entity declaration?

1
2
3
4

Solution: