fix a BUG when VSFSM_CFG_SEM_EN is not enabled