Add Wire() wrap
This commit is contained in:
1 parent
0686bdbe28
commit
377e17e811
1 file changed
+1
-1
@@ -18,7 +18,7 @@ class DataQueueLocation extends Bundle with BroadcastHubParameters {
|
|||||||
|
|
||||||
object DataQueueLocation {
|
object DataQueueLocation {
|
||||||
def apply(idx: UInt, loc: UInt) = {
|
def apply(idx: UInt, loc: UInt) = {
|
||||||
val d = new DataQueueLocation
|
val d = Wire(new DataQueueLocation)
|
||||||
d.idx := idx
|
d.idx := idx
|
||||||
d.loc := loc
|
d.loc := loc
|
||||||
d
|
d
|
||||||
|
|||||||
Reference in new issue
Block a user