config: use Field defaults over Config defaults
Also rename some keys that had the same class name as their value's class name.
This commit is contained in:
@ -19,7 +19,7 @@ case class JtagDTMConfig (
|
||||
// the lines of p(JtagDTMKey).idcodeManufId.U(11.W).
|
||||
debugIdleCycles : Int)
|
||||
|
||||
case object JtagDTMKey extends Field[JtagDTMConfig]
|
||||
case object JtagDTMKey extends Field[JtagDTMConfig](new JtagDTMKeyDefault())
|
||||
|
||||
class JtagDTMKeyDefault extends JtagDTMConfig(
|
||||
idcodeVersion = 0,
|
||||
|
@ -12,7 +12,7 @@ import freechips.rocketchip.jtag._
|
||||
import freechips.rocketchip.util._
|
||||
|
||||
/** A knob selecting one of the two possible debug interfaces */
|
||||
case object IncludeJtagDTM extends Field[Boolean]
|
||||
case object IncludeJtagDTM extends Field[Boolean](false)
|
||||
|
||||
/** A wrapper bundle containing one of the two possible debug interfaces */
|
||||
class DebugIO(implicit p: Parameters) extends ParameterizedBundle()(p) {
|
||||
|
Reference in New Issue
Block a user