
Verilog Module 3
Quiz
•
Design
•
University
•
Practice Problem
•
Hard
Mr.G. Ravi Kumar Reddy undefined
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What function does the following switch-level model realize?
module some_gate (in1, in2, out);
input in1, in2;
output out;
supply1 vplus;
supply0 vgnd;
wire t;
pmos (t, vplus, in1);
pmos (out, t, in2);
nmos (out, vgnd, in1);
nmos (out, vgnd, in2);
endmodule
NAND
Exclusive OR
AND
None of these
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Suppose we are constructing a 16-to-1 multiplexer using cmos switches. In addition to four NOT gates, the number of cmos switches required will be ……
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following statements is/are false?
A tranif0 switch allows bidirectional flow of data between the two end terminals when the control signal is 0.
A tranif0 switch allows bidirectional flow of data between the two end terminals when the control signal is 1.
A tranif1 switch allows bidirectional flow of data between the two end terminals when the control signal is 0.
A tranif1 switch allows bidirectional flow of data between the two end terminals when the control signal is 1.
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following is/are true for user defined primitives in Verilog?
Can be used to specify a combinational circuit with any number of outputs.
Can be used to specify a combinational circuit with a single output.
Can be used to specify a finite state machine with one or two state variables
Can be used to specify a finite state machine with only one state variable.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is/are not true for “generate” blocks?
Multiple copies of code blocks are generated dynamically before simulation or synthesis.
Can be used to instantiate multiple copies of some module.
Must be used along with a variable of type “genvar”.
All of these
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following Verilog module do?
module xor_bitwise (f, a, b);
parameter N = 16;
input [N-1:0] a, b;
output [N-1:0] f;
genvar p;
generate for (p=0; p<N; p=p+1)
begin
xorlp
xor XG(f[p],a[p],b[p]);
end
endgenerate
endmodule
Generates the sum of the two N-bit numbers “a” and “b”, and stores it in “f”
Performs the bitwise XOR of “a” and “b”, and stores it in “f”
Computes whether the number of bits in “a” and “b” are odd
None of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code segment generate on synthesis?
always @(posedge clock)
begin
data3 <= din;
data2 <= data3;
data1 <= data2;
data0 <= data1;
end
Four D flip-flops all fed with the data “din”.
A 4-bit shift register.
A 4-bit parallel-in parallel-out register.
None of these.
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code segment generate on synthesis, assuming that the four variables data0, data1, data2 and data3 map into four latches / flip-flops? always @(posedge clock)
begin
data3 = din;
data2 = data3;
data1 = data2;
data0 = data1;
end
Four D flip-flops all fed with the data “din”
A 4-bit shift register
A 4-bit parallel-in parallel-out register.
None of these.
Similar Resources on Wayground
13 questions
VA101: Movement & Rhythm
Quiz
•
University
10 questions
CH2 and 3
Quiz
•
University
11 questions
Fast Fashion
Quiz
•
University
10 questions
BASIC TOPIC 2 DESIGN THEORY - design principle
Quiz
•
University
11 questions
Architectural Layout and Design
Quiz
•
University
10 questions
Notes on Blender 3D - Section 2 Review
Quiz
•
6th Grade - University
11 questions
Adobe XD
Quiz
•
University
10 questions
DYL10243 TOPIC 4.3 Contribution LH to EESC
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Design
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
