Hi Dave,
The way I tried approaching the problem is to break it into multiple sub-problems.
I did not copy-paste the snippets but translated the problem into comments and then substituted each comment with a constraint. Since I am in the learning stage, I did refer to multiple websites for syntax and working style of each constraint and kept working on the code in eda playground: Edit code - EDA Playground
Please let me know if there’s a better approach to learn randomization.
I am currently following multiple websites: verificationguide.com/chipverify.com/siemens videos by chirs spear and system Verilog lrm.
Thanks,
-s