1
0

simplify ClientMetadata.makeRelease

This commit is contained in:
Henry Cook 2015-04-20 10:46:02 -07:00
parent 6d40a61060
commit f66a9fd7a6

View File

@ -59,13 +59,12 @@ class ClientMetadata extends CoherenceMetadata {
def makeRelease( def makeRelease(
prb: Probe, prb: Probe,
client_xact_id: UInt,
addr_beat: UInt = UInt(0), addr_beat: UInt = UInt(0),
data: UInt = UInt(0)): Release = { data: UInt = UInt(0)): Release = {
Bundle(Release( Bundle(Release(
voluntary = Bool(false), voluntary = Bool(false),
r_type = co.getReleaseType(prb, this), r_type = co.getReleaseType(prb, this),
client_xact_id = client_xact_id, client_xact_id = UInt(0),
addr_block = prb.addr_block, addr_block = prb.addr_block,
addr_beat = addr_beat, addr_beat = addr_beat,
data = data), { case TLId => id }) data = data), { case TLId => id })