Constants to define the reset addresses.
A single place for all tiles to find out the reset vector.
trait HasResetVectorWire {
implicit val p: Parameters
val resetVectorBits = p(ResetVectorBits)
val global_reset_vector = Wire(UInt(width = resetVectorBits))
}
- resetVectorBits
Int
the bit size of the reset vector. - global_reset_vector
UInt
the reset address come from BootROM, and now this is a port rather than a compile time constant.
Last updated: 16/08/2017
CC BY-NC-SA 4.0, © (2017) Wei Song
Apache 2.0, © (2016-2017) SiFive, Inc
BSD, © (2012-2014, 2016) The Regents of the University of California (Regents)