Skip to content

Commit

Permalink
removing seemingly useless override
Browse files Browse the repository at this point in the history
  • Loading branch information
iansseijelly committed Jan 25, 2024
1 parent 5aee69c commit aef7cda
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions generators/chipyard/src/main/scala/example/GCD.scala
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,7 @@ class GCDMMIOChiselModule(val w: Int) extends Module {

// DOC include start: GCD router
class GCDTL(params: GCDParams, beatBytes: Int)(implicit p: Parameters) extends ClockSinkDomain(ClockSinkParameters())(p) {
val device = new SimpleDevice("gcd", Seq("ucbbar,gcd")) {
override def describe(resources: ResourceBindings): Description = {
val Description(name, mapping) = super.describe(resources)
Description(name, mapping)
}
}
val device = new SimpleDevice("gcd", Seq("ucbbar,gcd"))
val node = TLRegisterNode(Seq(AddressSet(params.address, 4096-1)), device, "reg/control", beatBytes=beatBytes)

override lazy val module = new GCDImpl
Expand Down

0 comments on commit aef7cda

Please sign in to comment.