comment debug code

This commit is contained in:
Dolu1990 2022-11-21 14:02:35 +01:00
parent 572ca3fcfa
commit a25ae96d33
1 changed files with 8 additions and 8 deletions

View File

@ -1632,14 +1632,14 @@ class CsrPlugin(val config: CsrPluginConfig) extends Plugin[VexRiscv] with Excep
}
}
val csrs = (0x7A0 to 0x7A5)
val miaouRead = csrs.map(v => isReading(v)).orR
val miaouWrite = csrs.map(v => isWriting(v)).orR
Component.toplevel.rework{
out(CombInit(miaouRead.pull())).setName("debug0")
out(CombInit(miaouWrite.pull())).setName("debug1")
}
// val csrs = (0x7A0 to 0x7A5)
// val miaouRead = csrs.map(v => isReading(v)).orR
// val miaouWrite = csrs.map(v => isWriting(v)).orR
//
// Component.toplevel.rework{
// out(CombInit(miaouRead.pull())).setName("debug0")
// out(CombInit(miaouWrite.pull())).setName("debug1")
// }
}
}
}