assignselect_prim[CODE_DATA]=~alignes_pair&(state_send_data&~set_send_shold);// if there's no data availible for a transmission, fsm still = state_send_data. Need to explicitly count this case.
assignselect_prim[CODE_DATA]=~alignes_pair&(state_send_data&~set_send_shold);// if there's no data availible for a transmission, fsm still = state_send_data. Need to explicitly count this case.
assignheader_regfis=dword_cnt[2:0]==3'h0?{sh_feature_in[7:0],sh_command_in,cmd_type_r==CMD_TYPE_REG_CMD,3'h0,cmd_port_r,8'h27}:// features command C R R R PMPort FISType
assignheader_regfis=dword_cnt[2:0]==3'h0?{sh_feature_in[7:0],sh_command_in,cmd_type_r==CMD_TYPE_REG_CMD,3'h0,cmd_port_r,8'h27}:// features command C R R R PMPort FISType