Fundamentals of Verilog

Fundamentals of Verilog

University

10 Qs

quiz-placeholder

Similar activities

CMA I - Process Costing

CMA I - Process Costing

University

12 Qs

OPAMP EXERCISE

OPAMP EXERCISE

University

13 Qs

QUIZ KELOMPOK 6 TEORI PRDUKSI & ESTIMASI

QUIZ KELOMPOK 6 TEORI PRDUKSI & ESTIMASI

University

10 Qs

20EC204 Digital System Design Surprise Quiz

20EC204 Digital System Design Surprise Quiz

University - Professional Development

10 Qs

Exploring User Defined Primitives in Verilog

Exploring User Defined Primitives in Verilog

University

15 Qs

CompTIA A+ 20200306

CompTIA A+ 20200306

University

15 Qs

Accounting Information System

Accounting Information System

University

10 Qs

Wireless networks

Wireless networks

University

15 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?