手动合并统计的代码

This commit is contained in:
2025-07-31 00:02:54 +08:00
5 changed files with 279 additions and 1 deletions

View File

@@ -77,6 +77,9 @@ class SlaveParserIO extends Bundle{
val intHWTrig = Output(Vec(2, Bool()))
val intHWClr = Input (Vec(2, Bool()))
val downRecStat = Output(new Stat_IO_Bundle)
val upRecStat = Output(new Stat_IO_Bundle)
}
abstract class SlaveParserBase extends Module{
@@ -1052,6 +1055,11 @@ with SlaveParserProbe{
upRecParser.reset := reset.asBool | io.intHWClr(1)
upSendGen.reset := reset.asBool | io.intHWClr(1)
//downRecParser.io.resp := io.intHWClr(0)
//upRecParser.io.resp := io.intHWClr(1)
io.downRecStat := downRecParser.io.stat
io.upRecStat := upRecParser.io.stat
}