1
0

Add Wire() wrap

This commit is contained in:
Andrew Waterman 2015-07-31 00:32:02 -07:00
parent 0686bdbe28
commit 377e17e811

View File

@ -18,7 +18,7 @@ class DataQueueLocation extends Bundle with BroadcastHubParameters {
object DataQueueLocation {
def apply(idx: UInt, loc: UInt) = {
val d = new DataQueueLocation
val d = Wire(new DataQueueLocation)
d.idx := idx
d.loc := loc
d