You are on page 1of 1

To be submitted by 3122213002044 Kavin R B

To be Verified by 3122213002023 R Deepthi

Date of Submission 10-11-2022

Topics VHDL Coding

1. What is VHDL?
2. State the various uses of VHDL.
3. List all the design units of VHDL.
4. What is an entity?
5. Write the syntax for an entity declaration.
6. What is an architecture?
7. Write the syntax for an architecture declaration.
8. Explain with an example, how an entity and an architecture are represented.
9. Explain with an example, how a digital system should be declared in VHDL.
10. Write VHDL source code for the following combinational logic circuits using
behavioural, data flow and structural modelling styles. Write the VHDL testbench to
verify the functionality.
a. Half Adder
b. Full Adder
c. Half Subtractor
d. Full Subtractor
11. Design a fire alarm system with the following specifications. The system has an
on/off switch. The system works only if the switch is on. There is a smoke detector
giving the output in three bits. When the smoke density is maximum, the output of the
sensor is seven in the binary form. When there is no smoke detected, the output of the
sensor is zero in the binary form. The alarm will be active if the output of the smoke
detector exceeds four in the binary form. Implement the designed combinational
circuit in VHDL.
12. Design a simple remote controller key pattern generator system with the following
specifications. Only the key pattern part is handled in the design. There are three
buttons on the controller. When the first one is pressed, the combinational circuit
should produce pattern 001. For the second and third buttons, this pattern will become
010 and 100, respectively. When more than one button is pressed, the output of the
combinational circuit will be the pattern 000. This pattern will also be used when no
button is pressed. Implement the designed combinational circuit in VHDL.

You might also like