Size hartid field with NTiles, not XLen

This commit is contained in:
Andrew Waterman committed 2017-04-26 20:11:43 -07:00
1 parent dc753bfa95
commit e23ee274f6
7 files changed
+16 -15

No files matched your search

+1 -1
View File
@@ -153,7 +153,7 @@ class PerfCounterIO(implicit p: Parameters) extends CoreBundle
class CSRFileIO(implicit p: Parameters) extends CoreBundle
with HasRocketCoreParameters {
val interrupts = new TileInterrupts().asInput
val hartid = UInt(INPUT, xLen)
val hartid = UInt(INPUT, hartIdLen)
val rw = new Bundle {
val addr = UInt(INPUT, CSR.ADDRSZ)
val cmd = Bits(INPUT, CSR.SZ)