summaryrefslogtreecommitdiff
path: root/chiselFrontend/src/main/scala/chisel3/core/Clock.scala
diff options
context:
space:
mode:
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/core/Clock.scala')
-rw-r--r--chiselFrontend/src/main/scala/chisel3/core/Clock.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/Clock.scala b/chiselFrontend/src/main/scala/chisel3/core/Clock.scala
index b728075b..88208d9a 100644
--- a/chiselFrontend/src/main/scala/chisel3/core/Clock.scala
+++ b/chiselFrontend/src/main/scala/chisel3/core/Clock.scala
@@ -12,7 +12,7 @@ object Clock {
}
// TODO: Document this.
-sealed class Clock extends Element(Width(1)) {
+sealed class Clock(private[chisel3] val width: Width = Width(1)) extends Element {
def cloneType: this.type = Clock().asInstanceOf[this.type]
private[core] def typeEquivalent(that: Data): Boolean =