Fundamentals of Verilog

Fundamentals of Verilog

University

10 Qs

quiz-placeholder

Similar activities

Pengaturcaraan - Struktur Kawalan

Pengaturcaraan - Struktur Kawalan

9th Grade - University

13 Qs

Warm Up Quiz - Syllabus

Warm Up Quiz - Syllabus

University

10 Qs

Python

Python

University

15 Qs

Group 3 Quiz

Group 3 Quiz

University

15 Qs

[SCLS-KTSH] QUIZ SHCD 2024.1

[SCLS-KTSH] QUIZ SHCD 2024.1

University

15 Qs

Quiz EBP - Niveau 1

Quiz EBP - Niveau 1

University

10 Qs

Introduction to Multistage Operations 3A

Introduction to Multistage Operations 3A

University

8 Qs

JS QUIZ

JS QUIZ

University

8 Qs

Fundamentals of Verilog

Fundamentals of Verilog

Assessment

Quiz

Other

University

Medium

Created by

THEN SATHYA

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the basic structure of a Verilog module?

module (input , output ); // assign statements // endmodule

module (output , input ); // endmodule

module (input , output ); // internal declarations // assign statements // always blocks endmodule

module (input ); // internal declarations // always blocks // endmodule

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data types are commonly used in Verilog?

boolean

char

wire, reg, integer, real, time, string, array

float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the difference between nets and regs in Verilog.

Nets are for temporary values, and regs are for permanent values.

Regs can have multiple drivers, whereas nets can only have one driver.

Nets are used for storage, while regs are for connections.

Nets are for connections (multiple drivers), and regs are for storage (single driver).

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a wire in Verilog?

wire: myWire;

reg myWire;

int myWire;

wire myWire;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for a basic AND gate in Verilog?

assign output = input1 & input2;

assign output = input1 + input2;

output = input1 | input2;

output <= input1 & input2;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write a comment in Verilog?

Use '#' for comments

Use '/*' for single-line comments

Use '//' for single-line comments and '/* ... */' for multi-line comments.

Use '//' for multi-line comments

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'always' block in Verilog?

The 'always' block is used for defining module parameters.

The 'always' block is only for combinational logic.

The 'always' block is used to declare variables in Verilog.

The 'always' block is used to describe behavior that executes in response to signal changes.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?