Can't assign to Vec literals
This commit is contained in:
parent
20e1de08da
commit
0866b4c045
@ -593,7 +593,7 @@ class DebugModule ()(implicit val p:cde.Parameters)
|
|||||||
sbRamWrData := sbWrData
|
sbRamWrData := sbWrData
|
||||||
|
|
||||||
require (dbRamAddrWidth >= ramAddrWidth) // SB accesses less than 32 bits Not Implemented.
|
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){
|
if (dbRamDataWidth < ramDataWidth){
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user