commit
3e721fe80b
@ -133,7 +133,7 @@ class TagMan(val logNumTags : Int) extends Module {
|
|||||||
val inUse = List.fill(numTags)(Reg(init = Bool(false)))
|
val inUse = List.fill(numTags)(Reg(init = Bool(false)))
|
||||||
|
|
||||||
// Mapping from each tag to its 'inUse' bit
|
// Mapping from each tag to its 'inUse' bit
|
||||||
val inUseMap = (0 to numTags-1).map(i => UInt(i, logNumTags)).zip(inUse)
|
val inUseMap = (0 to numTags-1).map(i => BitPat(UInt(i))).zip(inUse)
|
||||||
|
|
||||||
// Next tag to offer
|
// Next tag to offer
|
||||||
val nextTag = Reg(init = UInt(0, logNumTags))
|
val nextTag = Reg(init = UInt(0, logNumTags))
|
||||||
|
Loading…
Reference in New Issue
Block a user