Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) Explain the structure of VHDL module and verilog module.
6 M
1 (b) Explain verilog data types.
6 M
1 (c) Discuss different logical operators used in HDLs.
8 M

2 (a) Explain the execution of signal assignment statement in HDL with example.
6 M
2 (b) Write VHDL code for 2×1 multiplexer with active low enable in data description.
7 M
2 (c) Write verilog code for 2×2 unsigned combinational array multiplier.
7 M

3 (a) With the suitable example, explain the case statement in both VHDL and verilog.
6 M
3 (b) Explain the flowchart of booth multiplier algorithm with example. Also write VHDL code for 4×4 bit booth algorithm.
14 M

4 (a) What is binding in VHDL? Explain
i) Binding between entity and architecture in VHDL,
ii) Binding between entity and component in VHDL,
iii) Binding between library and module in VHDL.
8 M
4 (b) Write verilog structural description of full adder. Use this full adder to design 3-bit comparator and write the verilog structural code for the same.
12 M

5 (a) Write HDL code for converting an unsigned binary to an integer using procedure and task.
10 M
5 (b) Explain built-in procedures for file processing in VHDL.
10 M

6 (a) Why mixed type description needed? Explain.
4 M
6 (b) Write HDL code (both VHDL and verilog) for finding the greatest element of an array.
12 M
6 (c) Discuss VHDL package with example.
4 M

7 (a) How to invoke a VHDL entity from verilog module? Explain with an example.
8 M
7 (b) Write mixed language description of a 3-bit adder with zero flag. If the output of the adder is zero, the zero flag is set to 1; otherwise it is set to 0.
12 M

8 (a) Explain synthesis steps with flow chart.
10 M
8 (b) Find the gate level mapping for the following verilog code:
module if_st(a,y);
input [2:0] a;
output y;
reg y;
always @ (a)
begin
if (a<3'b101)
y=1'b1;
else
y=1'b0;
end
end module
6 M
8 (c) Discuss synthesis information extraction from entity in VHDL.
4 M



More question papers from Fundamentals of HDL
SPONSORED ADVERTISEMENTS