Final Test - B98
Final Test - B98
MAVEn
SILICON
VLSITraining Center
Setting standards in VLSI Design
Final Test
Time: 3 Hrs & 30 Mins Total Marks : 100
Part - A
Marks : 40
Digital (12 Marks)
1. Give the minimum count of inverters (NOT gates) & 3 input gates
required for the
implementation of the below expression. Please don't use any 2 input gates. -- (6 Marks)
BC'D' +ABC'+ACD+ABD+A'BD'
2. Generate a divide by 5 fregquency clock from a source clock, using T flipflops. Duty
cycle
should be 80% duty cycle. -- (6 Marks)
Verification(16 Marks)
5. Write a snippet of code to delete the distinct elements of an array. Use array
methods only.
-- (4 Marks)
6. Write at least 4 System Verilog Assertions for validating a 4bit bidirectional shift register
with active low synchronous reset. -- (6 Marks)
7. What is the difference between get and get next item method of seq
item
port?
-- (6 Marks)
www.maven-silicon.com Page 1
MAVEn
SILICON
VLSITraining Center
Setting standards in VLSI Design
Part - B
Marks :40
8. Design a digital logic circuit which will generate an output signal in such a way that the output
follows the input, but assertion in output happens in synchronism with clock and de-assertion
happens asynchronously as shown below. -- (5 Marks)
CIk
input
output
9. Draw a Moore overlapping FSM for the circuit which follows the following specifications.
This Sequential circuit has two inputs X1, X2 (each is of single bit wide) and one output
(Z). The initial output is 0. The output keeps on toggling value unless one of the input
sequences occurs : -(7 Marks)
The input sequence at (X1, X2} is 01 followed by 11, causes the output to become 0.
The input sequence at {X1, X2} is 10 followed by 11, causes the output to become 1.
The input sequence at (X1, X2} is 10 followed by 01, causes the output to remain
unchanged.
end
Data_reg <= (Data in, Data reg[4:1]):
endmodule
www.maven-silicon.com Page 2
MAVEn
SILICO N
VLSI Training Center
Setting standards in VLSI Design
-- (6Marks)
11. Draw the waveform for the following code for first four clock cycles.
module test (0:
reg clk, a;
initial
begin
clk = 0;
forever
#5 clk = ~clk;
end
alwayse (posedge clk)
begin
a (= 0:
#5 a <= !a;
end
endmodule
14. Why uvm_sequencer and uvm driverare defined as non-virtual classes? -- (6 Marks)
www.maven-silicon.com Page 3
MAVEn
SIL ICON
VLSITraining Center
Setting standards in VLSI Design
18 V 12 2 6S2
12 Q
18. The propagation delays of various components in the below
circuit are as follows.
Tpd-inverter = 3ns, Tpd-mux = 6ns and Tpd-and = Sns. Determine the propagation delay of the
below circuit if pipelining is not implemented. What is the frequency of
below circuit if pipelining registers are added in allthe branches of the cutoperation of the
set represented
by dotted curve. CIk to Q delay, setup and hold times of the
flipflops used in pipelining
process is 4ns, 2ns and lns respectively.
-- (6Marks)
D
Sel
www.maven-silicon.com Page 4