rocket: base trait for reporting ecc errors

This commit is contained in:
Henry Cook committed 2017-09-21 14:58:47 -07:00
1 parent ffa3ab29ac
commit a887baa615
3 files changed
+10 -2

No files matched your search

+5
View File
@@ -173,3 +173,8 @@ class SECDEDTest extends Module
io.correctable := d.correctable
io.uncorrectable := d.uncorrectable
}
trait CanHaveErrors extends Bundle {
val correctable: Option[ValidIO[UInt]]
val uncorrectable: Option[ValidIO[UInt]]
}