cleanup of conflicts; allocation bugfix

This commit is contained in:
Henry Cook committed 2015-02-06 13:20:44 -08:00
1 parent 7b86ea17cf
commit 0c66e70f14
4 files changed
+13 -13

No files matched your search

+3
View File
@@ -49,6 +49,9 @@ trait ClientToClientChannel extends TileLinkChannel // Unused for now
//
trait HasCacheBlockAddress extends TLBundle {
val addr_block = UInt(width = tlBlockAddrBits)
def conflicts[T <: HasCacheBlockAddress](that: T) = this.addr_block === that.addr_block
def conflicts[T <: HasCacheBlockAddress](addr: UInt) = this.addr_block === addr
}
trait HasTileLinkBeatId extends TLBundle {