处理断言及状态机卡住问题,从这个版本开始,所有断言错误都应该处理;recParser的错误状态会触发5、6号不可屏蔽中断,软件需要清中断然后recParser恢复状态,cdrout溢出问题不再触发中断,该次传输将会发生至少两次错误

This commit is contained in:
Ruige Lee
2025-05-26 11:52:40 +08:00
parent 5fa5a4c244
commit 370e6b119c
6 changed files with 55 additions and 15 deletions

View File

@@ -56,7 +56,10 @@ class CDROut extends Module{
(stateCurr === STATE_PAYLOAD)
)
assert( ~(~io.axis.valid & io.axis.ready) )
// assert( ~(~io.axis.valid & io.axis.ready) )
when( ~io.axis.valid & io.axis.ready ){
printf( "Error, CDROut axis overflow!\n" )
}