Search Header Logo

Digital Design Quiz 1

Authored by Dhanujaya Wijesinghe

Professional Development

Professional Development

Used 3+ times

Digital Design Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

  • What action can be taken to disable the randomization of any random variable?​

Constraint the variable to "0"

Set rand_mode of variable to "0"

Override in post_randomize function

Set constraint_mode to "0"

2.

MULTIPLE CHOICE QUESTION

5 mins • 2 pts

  • What will be the value of var after below randomization?​

rand bit [7:0] var;​

constraint var_valid {!(var inside {[10:30]};);}​

Less than 10

Greater than 30

Less than 10 or greater than 30

Between 10 and 30

3.

MULTIPLE CHOICE QUESTION

5 mins • 2 pts

Media Image

  • Considering the given circuit, which switching leads to a dynamic hazard?​

  • a=0>1, b=1, c=0, d=1​

a=0>1, b=1, c=0, d=0

  • a=1, b=0, c=1, d=0>1​

a=0, b=1, c=0, d=0>1

4.

MULTIPLE CHOICE QUESTION

5 mins • 2 pts

Media Image

A verification engineer is interested in defining a variable to solve his constraints to iterates over all values in a given range without repetition of numbers as shown in the below diagram . Which of the following modifiers best suits for his requirement?

rand

$random

constraint

randc

5.

MULTIPLE SELECT QUESTION

5 mins • 5 pts

  • Which of the following statement/statements are correct regarding the final procedure?

The final procedure doesn't take simulation time

A final procedure shall execute after any PLI callbacks that indicate the end of simulation.

The final procedure only triggers once in a simulation

$finish can be executed within a final procedure

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

  • In 2’s complement representation the number 11011101 represents the decimal number​

-43

-21

-35

Answer is missing

7.

MULTIPLE SELECT QUESTION

5 mins • 5 pts

  • Which statement/statements are correct about the decade counter​

It counts through 9 states

It skips counting binary steps from 1010 to 1111

It counts only up to 1001 in binary

To set the counter output to zero, the reset line must be set to high

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development