JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech IV Year SYSTEM DESIGN USING FPGAS Previous Question Paper (September - 2020 - R16)

B.Tech | IV Year | II Semester | R16 | September - 2020

Answer PaperPaper Code: 138EWMaximum Marks: 75Time: 2 Hours

Answer any five questions. All questions carry equal marks.

Main

115 marks
a

Write Verilog module for a positive edge triggered flip-flop with test bench.

7 marks

Answer

A positive edge-triggered D flip-flop is implemented using the always block sensitive to the rising edge of the clock signal. The Verilog module is defined as follows:

module d_ff(input clk, input d, output reg q); always @(posedge clk) begin q <= d; end endmodule

The corresponding test bench to verify the functionality is:

module tb_d_ff; reg clk, d; wire q; d_ff uut(clk, d, q); initial begin clk = 0; forever #5 clk = ~clk; end initial begin d = 0; #12 d = 1; #10 d = 0; #10 $finish; end endmodule
b

Explain JK Flip-flop implementation from VHDL code.

8 marks

Answer

A JK flip-flop is implemented in VHDL by defining the state transition logic based on the inputs J and K. The behavior is modeled within a process block sensitive to the clock edge. The characteristic equation for a JK flip-flop is Q(next) = J(Q') + K'(Q).

The VHDL implementation structure is as follows:

library IEEE; use IEEE.STD_LOGIC_1164.ALL; entity jk_ff is Port ( J, K, clk : in STD_LOGIC; Q : out STD_LOGIC); end jk_ff; architecture Behavioral of jk_ff is signal q_int : STD_LOGIC := '0'; begin process(clk) begin if rising_edge(clk) then if (J='0' and K='0') then q_int <= q_int; elsif (J='0' and K='1') then q_int <= '0'; elsif (J='1' and K='0') then q_int <= '1'; else q_int <= not q_int; end if; end if; end process; Q <= q_int; end Behavioral;

Key implementation points include:

  • The process block ensures sequential logic behavior triggered by the clock.
  • The rising_edge(clk) function enforces the positive edge-triggering requirement.
  • An internal signal q_int is used to store the current state, as output ports in VHDL cannot be read directly in all architectures.
  • The conditional if-elsif structure maps the truth table of the JK flip-flop, including the toggle condition (J=1, K=1).
215 marks
a

Draw Full Adder write a program gate level modeling.

8 marks

Answer

Sign in to view the complete answer paper.

b

Write Verilog module for 4-bit comparator with test bench.

7 marks

Answer

Sign in to view the complete answer paper.

315 marks
a

Design Verilog module event construct for a serial data receiver and test bench for the same.

8 marks

Answer

Sign in to view the complete answer paper.

b

Explain schematic diagram of shift register and draw the simulation waveform.

7 marks

Answer

Sign in to view the complete answer paper.

415 marks
a

Write the Verilog code for basic functional unit of a dynamic shift register.

7 marks

Answer

Sign in to view the complete answer paper.

b

Explain synthesized schematic diagram of parallel to serial converter.

8 marks

Answer

Sign in to view the complete answer paper.

515 marks
a

Write the VHDL code to generate the divided-by-2 clocks.

7 marks

Answer

Sign in to view the complete answer paper.

b

How can, correct the short path problem, explain with necessary diagram.

8 marks

Answer

Sign in to view the complete answer paper.

615 marks
a

What are the advantages of having reset and clock circuitry in its own block separated from the rest of the circuits?

8 marks

Answer

Sign in to view the complete answer paper.

b

Explain, how gated clock signal to avoid generating a glitches in design.

7 marks

Answer

Sign in to view the complete answer paper.

715 marks
a

Mention the steps to be followed, when designing with FPGAs, a digital system.

10 marks

Answer

Sign in to view the complete answer paper.

b

Why post layout verification is needed?

5 marks

Answer

Sign in to view the complete answer paper.

815 marks
a

What are the design trade-offs involving using additional flip-flops versus the serial of buffers?

8 marks

Answer

Sign in to view the complete answer paper.

b

How Net List will be generated? Explain.

7 marks

Answer

Sign in to view the complete answer paper.

About this paper

This page contains the solved question paper with answers of SYSTEM DESIGN USING FPGAS from JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD for B.Tech ECE IV Year II Semester, September - 2020, R16.

For the question paper without answers, switch to the Question Paper tab.

Other papers in SYSTEM DESIGN USING FPGAS

Loading Question Papers

Fetching data from database...