VHDL Monday Test
VHDL Monday Test
VHDL Monday Test
DEPT. OF E&C
MONDAY TEST VHDL SECTION A
1. The following VHDL ENTITY declaration
code is incorrect because:
ENTITY boolean2 IS
PORT(
A,B,C,D,E: IN std_logic;
X
: OUT std_logic);
END boolean1;
(a) It has too many inputs
(b) Missing ENTITY name
(c) Missing PORT END
(d) Mismatch in the ENTITY name
2. The following code can represent the
VHDL ENTITY declaration for a ________
-input OR gate.
ENTITY booly IS
PORT(
A,B,C,D,E: IN bit;
X
: OUT bit);
END booly;
(a) 3
(b) 4
(c) 5
(d) 6
3. The following ARCHITECTURE body
declaration is incorrect because:
(a)
B ) B C
X =( A +
(b)
+ C
X = AB +B
(c)
)B
C
X =( AB
(d)
+ B+
C
X = AB
(b)
ADHL is proprietary.
(d)
VHDL is proprietary.
(a)
(b)
(c)
(d)
an input.
an output.
both an input and an output.
the TYPE of the bit.