bharat_in
Member level 4
Just a concern about output signal generation from FSM...
Can we use current_state and next_state signals for particular output signal generation?
// cosider below FSM is based on one-hot encoding :|
e.g. fsm_out = ( !cur_state[7] && next_state[7]);
Is it bad coding style? If Yes, then why?
Can we use current_state and next_state signals for particular output signal generation?
// cosider below FSM is based on one-hot encoding :|
e.g. fsm_out = ( !cur_state[7] && next_state[7]);
Is it bad coding style? If Yes, then why?