Don't use clone

This commit is contained in:
Andrew Waterman committed 2015-07-15 18:06:27 -07:00
1 parent 276f53b652
commit 2d6b3b2331
6 files changed
+25 -25

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ trait HasCoherenceAgentWiringHelpers {
out: DecoupledIO[T],
ins: Seq[DecoupledIO[T]]) {
def lock(o: T) = o.hasMultibeatData()
val arb = Module(new LockingRRArbiter(out.bits.clone, ins.size, out.bits.tlDataBeats, lock _))
val arb = Module(new LockingRRArbiter(out.bits, ins.size, out.bits.tlDataBeats, lock _))
out <> arb.io.out
arb.io.in <> ins
}