In reply to tpan: https://verificationacademy.com/forums/systemverilog/constrain-random-variable-result-enumerated-type#reply-48832