In System Verilog:
for ex:-
class A;
typedef enum logic [1:0] {RESET, WAITE, LOAD, READY} states_t;
…
…
endclass
why we are not using enum handle to access enum value of ‘RESET’ from outside of the class by using ::(scope resolution)
i.e A::RESET;
why can’t A::St::RESET (Assume we are creating handle to enum data type i.e states_t St)