修改dataw_async的更新策略

This commit is contained in:
RuigeLee
2025-09-19 16:19:53 +08:00
parent 61897a3dd0
commit e45f407a1d

View File

@@ -128,12 +128,12 @@ trait SyncSpiAsync{ this: SyncSpiInterfaceBase =>
}
}
when( bitSel === 0.U ){
when( byteSel > 3.U & isSpiWrite ){
when( bitSel.andR ){
when( byteSel >= 4.U & isSpiWrite ){
when( ~isPing_async ){
dataw_async(0) := exRegi
dataw_async(0) := Cat( exRegi(3,0), qspi.mosi )
} .otherwise{
dataw_async(1) := exRegi
dataw_async(1) := Cat( exRegi(3,0), qspi.mosi )
}
}
}