Add Wire() wrap
This commit is contained in:
parent
0686bdbe28
commit
377e17e811
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user