1
0

Merge pull request #246 from ucb-bar/fix-configstring-printout-problem

fix configstring printout with no memory
This commit is contained in:
Howard Mao 2016-09-06 15:31:39 -07:00 committed by GitHub
commit bbef3a8d3e

View File

@ -73,8 +73,8 @@ class BasePlatformConfig extends Config (
res append s" size 0x${addrMap("mem").size.toString(16)};\n" res append s" size 0x${addrMap("mem").size.toString(16)};\n"
res append " };\n" res append " };\n"
res append "};\n" res append "};\n"
res append "core {\n"
} }
res append "core {\n"
for (i <- 0 until site(NTiles)) { // TODO heterogeneous tiles for (i <- 0 until site(NTiles)) { // TODO heterogeneous tiles
val isa = s"rv${site(XLen)}i${site(MulDivKey).map(x=>"m").mkString}${if (site(UseAtomics)) "a" else ""}${if (site(FPUKey).nonEmpty) "fd" else ""}" val isa = s"rv${site(XLen)}i${site(MulDivKey).map(x=>"m").mkString}${if (site(UseAtomics)) "a" else ""}${if (site(FPUKey).nonEmpty) "fd" else ""}"
res append s" $i {\n" res append s" $i {\n"
@ -95,7 +95,7 @@ class BasePlatformConfig extends Config (
res append s" claim 0x${(plicAddr + plicInfo.claimAddr(i, 'S')).toString(16)};\n" res append s" claim 0x${(plicAddr + plicInfo.claimAddr(i, 'S')).toString(16)};\n"
res append s" };\n" res append s" };\n"
} }
res append s" };\n" res append " };\n"
res append " };\n" res append " };\n"
res append " };\n" res append " };\n"
} }