dout增加公共端IO

This commit is contained in:
RuigeLee
2024-06-14 19:00:41 +08:00
parent 715a1e6c08
commit 7aa7ea7ec6
10 changed files with 5 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ with BackBoardSlvStatusPR
with BackBoardSlvOut16{
val out = IO(Output(UInt(16.W)))
val flt = IO(Input(Vec(2, Bool())))
val v24Det = IO(Input(Bool()))
val outReg = RegInit(0.U(16.W))
when( isCrcPass & downRegTemp(0)(3,0) === 0.U ){
@@ -40,6 +41,7 @@ with BackBoardSlvOut16{
upReg(2) := outReg(7,0)
upReg(3) := outReg(15,8)
upReg(4) := Cat( ~flt(1), ~flt(0) )
upReg(5) := Cat( ~v24Det, 0.U(7.W) )
}
when( statusPage === 1.U ){