1 // See LICENSE for license details.
2 package sifive.freedom.everywhere.e300artydevkit
9 class DefaultFreedomEConfig extends Config(
10 new WithStatelessBridge ++
11 new WithNBreakpoints(2) ++
13 new DefaultSmallConfig
16 class WithBootROMFile(bootROMFile: String) extends Config(
17 (pname, site, here) => pname match {
18 case BootROMFile => bootROMFile
19 case _ => throw new CDEMatchError
23 class E300ArtyDevKitConfig extends Config(
24 new WithBootROMFile("./bootrom/e300artydevkit.img") ++
25 new WithNExtTopInterrupts(0) ++
27 new WithL1ICacheSets(8192/32) ++ // 8 KiB **per set**
28 new WithCacheBlockBytes(32) ++
29 new WithL1ICacheWays(2) ++
32 new WithDataScratchpad(16384) ++
33 new WithNMemoryChannels(0) ++
36 new DefaultFreedomEConfig