Add Verilog MMIO GCD peripheral example

This commit is contained in:
Albert Magyar
2019-09-25 19:32:34 -07:00
parent aa7fd5ada0
commit c2ce173195
9 changed files with 371 additions and 1 deletions

View File

@@ -57,6 +57,13 @@ class PWMAXI4RocketConfig extends Config(
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
new freechips.rocketchip.system.BaseConfig)
class GCDRocketConfig extends Config( // add MMIO GCD module
new WithGCDTop ++
new WithBootROM ++
new freechips.rocketchip.subsystem.WithInclusiveCache ++
new freechips.rocketchip.subsystem.WithNBigCores(1) ++
new freechips.rocketchip.system.BaseConfig)
class SimBlockDeviceRocketConfig extends Config(
new testchipip.WithBlockDevice ++ // add block-device module to peripherybus
new WithSimBlockDeviceTop ++ // use top with block-device IOs and connect to simblockdevice