JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech II DIGITAL DESIGN USING VERILOG HDL Previous Question Paper (March - 2022 - R13)

B.Tech | II | II | R13 | March - 2022

Answer PaperPaper Code: 114AFMaximum Marks: 75Time: 3 Hours

Answer any five questions

All questions carry equal marks

Main

115 marks
a

Explain port declaration with an example using Verilog code.

7 marks

Answer

Port declarations define the interface of a module, specifying the direction of data flow between the module and its environment. There are three primary port types: input, output, and inout.

The input port is a receiver of data, output is a driver of data, and inout represents a bidirectional port. In Verilog, ports must be declared within the module header or the body, and their data types (wire or reg) must be consistent with their usage.

Example:

module full_adder(input a, input b, input cin, output sum, output cout);
  assign sum = a ^ b ^ cin;
  assign cout = (a & b) | (b & cin) | (a & cin);
endmodule
b

Write about white space characters and variables with examples.

8 marks

Answer

White space characters, including spaces, tabs, and newlines, are used to separate tokens in Verilog. They are ignored by the compiler except when they appear within strings. They are essential for code readability and formatting.

Variables in Verilog are used to store and manipulate data. The two primary types are nets and registers:

  1. Nets: Represent physical connections between components. They do not store values and must be continuously driven. The most common type is wire. Example: wire [7:0] data_bus;
  2. Registers: Represent data storage elements. Unlike physical hardware registers, they hold their value until the next assignment. They are declared using the reg keyword. Example: reg [3:0] counter;

Variables can be declared as scalars (single bit) or vectors (multiple bits), as shown in the examples above.

215 marks
a

What is a three-state gate and explain each type of three-state gate with truth tables?

8 marks

Answer

Sign in to view the complete answer paper.

b

Design module and a test bench for a half-adder.

7 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

Design a Verilog module of a 4-bit bus switcher at the data flow level.

8 marks

Answer

Sign in to view the complete answer paper.

b

Explain about operator priority with examples.

7 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Design Verilog module Event construct for a serial data receive and test bench for the same.

8 marks

Answer

Sign in to view the complete answer paper.

b

Write Verilog code using case statement for any one example.

7 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

Write syntax for while loop and write a Verilog code for n-bit Johnson counter.

8 marks

Answer

Sign in to view the complete answer paper.

b

What is the difference between a sequential block and a parallel block? Explain using an example.

7 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

Design Verilog module for CMOS flip-flop.

8 marks

Answer

Sign in to view the complete answer paper.

b

What do you mean by User Defined Primitives (UDP) and explain the types with examples?

7 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

What are the various sequential memory storage models? Explain in detail.

8 marks

Answer

Sign in to view the complete answer paper.

b

How the memory initialization carried out in Verilog? Explain with the help of an example.

7 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

Explain in detail about formal verification of a system.

8 marks

Answer

Sign in to view the complete answer paper.

b

What is the use of assert cycle sequence and assert next? Explain using an example.

7 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the question paper of DIGITAL DESIGN USING VERILOG HDL from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech ECE II II, March - 2022, R13.

For the solved question paper with answers, switch to the Answer Paper tab.

Other papers in DIGITAL DESIGN USING VERILOG HDL

Loading Question Papers

Fetching data from database...