Don't use clone
This commit is contained in:
1 parent
276f53b652
commit
2d6b3b2331
6 files changed
+25
-25
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user