Expert Answer
Anonymous
rand bit [3:0]a[4];
constraint unique_value
{
unique{a};
}
Apple
Microsoft
Meta
Fujikura
Cruise
Skyworks Solutions
Contribute your knowledge to access all answers
#Give&Take - Share to unlock
Contribute your knowledge to access all answers
#Give&Take - Share to unlock
Prepare for success with realistic, role-specific interview simulations.
Try AI Interview NowInterview question asked to Design Verification Engineers interviewing at National Instruments, Panasonic, Samsung and others: Develop a constraint that ensures 4 generated variables are unique..
Type or paste your answer below and get a strength-o-meter check.
Your answer will be graded on the following metrics: