
sudhikssha
Authored by Mariajossy A
Engineering
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of the following code? module test; reg [3:0] a = 4'b1010; initial $display("%d", a); endmodule
10
1010
4
Error
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the value of out after this always block executes? always @(a or b) begin out = a &b; end
Bitwise AND of a and b
Logical AND of a and b
Sum of a and b
Bitwise OR of a and b
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What does the always block below describe? always @(posedge clk) q <= d;
Combinational logic
Asynchronous latch
D Flip-Flop
Counter
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output y if a=1 and b=1 in the following? assign y = ~(a & b);
1
0
X
Z
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following data types is NOT supported in Verilog?
reg
wire
int
bit_vector
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is used to simulate delay in Verilog?
@
#
$
%
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following describes a blocking assignment in Verilog?
<=
->
=
<<=
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?