实现统计寄存器组

This commit is contained in:
Ruige Lee
2025-07-29 11:56:10 +08:00
parent 1791a54dae
commit f630310582
5 changed files with 264 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{
@@ -1048,6 +1051,9 @@ with SlaveParserProbe{
downRecParser.io.resp := io.intHWClr(0)
upRecParser.io.resp := io.intHWClr(1)
io.downRecStat := downRecParser.io.stat
io.upRecStat := upRecParser.io.stat
}