Can't assign to Vec literals
This commit is contained in:
1 parent
20e1de08da
commit
0866b4c045
1 file changed
+1
-1
@@ -593,7 +593,7 @@ class DebugModule ()(implicit val p:cde.Parameters)
|
||||
sbRamWrData := sbWrData
|
||||
|
||||
require (dbRamAddrWidth >= ramAddrWidth) // SB accesses less than 32 bits Not Implemented.
|
||||
val dbRamWrMask = Vec.fill(1 << (dbRamAddrWidth - ramAddrWidth)){Fill(dbRamDataWidth, UInt(1, width=1))}
|
||||
val dbRamWrMask = Wire(init=Vec.fill(1 << (dbRamAddrWidth - ramAddrWidth)){Fill(dbRamDataWidth, UInt(1, width=1))})
|
||||
|
||||
if (dbRamDataWidth < ramDataWidth){
|
||||
|
||||
|
||||
Reference in new issue
Block a user