*W, ENUMERR This assignment is a violation of SystemVerilog strong typing rules for enumeration datatypes

In reply to Reuben:

Please show all declarations.