FIX: fix typo
This commit is contained in:
@@ -29,13 +29,13 @@ import chipyard.{ExtTLMem}
|
|||||||
* @param hang the power-on reset vector, i.e. the program counter will be set to this value on reset
|
* @param hang the power-on reset vector, i.e. the program counter will be set to this value on reset
|
||||||
* @param contentFileName the path to the BootROM image
|
* @param contentFileName the path to the BootROM image
|
||||||
*/
|
*/
|
||||||
class WithBootROM(address: BigInt = 0x10000, size: Int = 0x10000, hang: BigInt = 0x10040, contentFileName: String = s"${site(TargetDirKey)}/bootrom.rv${site(XLen)}.img") extends Config((site, here, up) => {
|
class WithBootROM(address: BigInt = 0x10000, size: Int = 0x10000, hang: BigInt = 0x10040) extends Config((site, here, up) => {
|
||||||
case BootROMLocated(x) => up(BootROMLocated(x), site)
|
case BootROMLocated(x) => up(BootROMLocated(x), site)
|
||||||
.map(_.copy(
|
.map(_.copy(
|
||||||
address = address,
|
address = address,
|
||||||
size = size,
|
size = size,
|
||||||
hang = hang,
|
hang = hang,
|
||||||
contentFileName = contentFileName
|
contentFileName = s"${site(TargetDirKey)}/bootrom.rv${site(XLen)}.img"
|
||||||
))
|
))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user