[FireChip] Fix BootROM path handling
@@ -16,11 +16,11 @@ import icenet._
class WithBootROM extends Config((site, here, up) => {
case BootROMParams => {
- val rebarBootROM = new File(s"./generators/testchipip/bootrom/bootrom.rv${site(XLen)}.img")
- val firesimBootROM = new File(s"./target-rtl/firechip/generators/testchipip/bootrom/bootrom.rv${site(XLen)}.img")
+ val chipyardBootROM = new File(s"./generators/testchipip/bootrom/bootrom.rv${site(XLen)}.img")
+ val firesimBootROM = new File(s"./target-rtl/chipyard/generators/testchipip/bootrom/bootrom.rv${site(XLen)}.img")
- val bootROMPath = if (rebarBootROM.exists()) {
- rebarBootROM.getAbsolutePath()
+ val bootROMPath = if (chipyardBootROM.exists()) {
+ chipyardBootROM.getAbsolutePath()
} else {
firesimBootROM.getAbsolutePath()
}
