Constraint for array

In reply to dave_59:

Hi Dave,

Would it be possible for you to breakdown and explain the c_only_1 constraint in a bit more detail ?

I’m trying to run this on EDA Playground, but I keep getting “Identifier not declared error for d2 variable” - (1) - EDA Playground

Thank You.