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

@@ -87,6 +87,14 @@ class WithPWMAXI4Top extends Config((site, here, up) => {
Module(LazyModule(new TopWithPWMAXI4()(p)).module)
})
/**
* Class to specify a top level BOOM and/or Rocket system with a TL-attached GCD device
*/
class WithGCDTop extends Config((site, here, up) => {
case BuildTop => (clock: Clock, reset: Bool, p: Parameters) =>
Module(LazyModule(new TopWithGCD()(p)).module)
})
/**
* Class to specify a top level BOOM and/or Rocket system with a block device
*/