System Verilog Constraints Scenario: 1

 Qn. Write a constraint to generate random values divisible by 5.

     

           SAMPLE OUTPUT:




     Here's the step-by-step video illustration to solve this constraint. 
 

Comments

Popular posts from this blog

Check for PALINDROME of a String using SV

Constraint to generate 100 phone numbers, where the first three digits should be '982'

System Verilog Constraint Scenario: 2