System Verilog typing warning.This assignment is a violation of SystemVerilog strong typing rules for enumeration datatypes

In reply to manavshah33:

And what is the type of speed_port0? Is something other than nome_mac_serial_led_speed_e?