
SystemVerilog Quiz
Authored by Eleena Mohapatra
Engineering
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to declare an enum in SystemVerilog?
enum {IDLE, RUN, STOP} mode;
enum int {IDLE, RUN, STOP};
typedef enum {IDLE, RUN, STOP} mode_t; mode_t mode;
enum = {IDLE, RUN, STOP} mode;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the default integer value assigned to the first member of an enum if not explicitly defined?
-1
0
1
Undefined
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following enum: typedef enum int {RED = 2, GREEN, BLUE} color_t; What is the value of BLUE?
2
3
4
It will cause an error
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Coefficient of autonomous LFSR is c[4:1] = 1001. What is the output after 3rd clock cycle if initial data is 0001?
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
For the following code segment, What is the final value of variable "c" integer a, b, c; initial begin a = 55; b = 10; c = 5; a = b * c; b = a - 25; c = a + b; end
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
For the following code segment indicate, Raising edges of the clock will appear at times ____,_____, ____,______.
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
If the 8-bit variable "data" declared as "reg [7:0] data" is initialized to 8'b10011001, what will be its value after execution of the following code segment? always @(posedge clock) begin data =data >>>1; data[0] = data[7]; end
Evaluate responses using AI:
OFF
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?
Similar Resources on Wayground
10 questions
RFID ARCHITECTURE AND APPLICATIONS
Quiz
•
University
11 questions
QUICK QUIZ - PLC
Quiz
•
University
10 questions
Intro to Coding
Quiz
•
12th Grade - University
10 questions
Python
Quiz
•
University
11 questions
LIDIE 2025 PSMI
Quiz
•
University
6 questions
ENGINEERS ROLES IN INDUSTRIAL REVOLUTION 4.0
Quiz
•
University
6 questions
Pre-Test Ilmu Ukur Tanah
Quiz
•
University
10 questions
Building Quantities Documentation Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Engineering
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University