1
0
Fork 0

use Wire() correctly to assign a value

This commit is contained in:
Megan Wachs 2017-04-07 13:58:04 -07:00 committed by Andrew Waterman
parent 9ae4838708
commit 01372e1686
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ class TLDebugModuleInner(device: Device, getNComponents: () => Int)(implicit p:
"HartSel to HartId Mapping is illegal for this Debug Implementation, because HartID must be < 1024 for it to work.");
flags(cfg.hartSelToHartId(selectedHartReg)).go := goReg
for (component <- 0 until nComponents) {
val componentSel = Wire(component.U)
val componentSel = Wire(init = component.U)
flags(cfg.hartSelToHartId(componentSel)).resume := resumeReqRegs(component)
}