fix bug:提前一个周期置低输入有效信号

This commit is contained in:
lf 2020-07-29 16:40:43 +08:00
parent 8f6b443621
commit 45a61688dd

View File

@ -122,7 +122,7 @@ wire msg_lst_blk_flg_clr;
//SM3填充消息输入反压逻辑仅在 EXP_OTPT 状态下仅进行扩展不提供输入
assign pad_inpt_d_inpt_rdy = ( state == IDLE
|| state == INPT_ORGN_5W
|| state == INPT_OTPT
|| (state == INPT_OTPT && ~(nxt_state == EXP_OTPT))//提前一个周期置低输入有效信号
|| state == EXP_OTPT_PRE_INPT
|| state == EXP_OTPT_FIN
|| state == WAT_PRE_INPT_FIN