Skip to content

Commit

Permalink
fixup! Enable Clock Invalidation (#2485)
Browse files Browse the repository at this point in the history
  • Loading branch information
seldridge committed Apr 15, 2022
1 parent b01db8a commit 43abf28
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions core/src/main/scala/chisel3/Clock.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,10 @@ sealed class Clock(private[chisel3] val width: Width = Width(1)) extends Element
private[chisel3] def typeEquivalent(that: Data): Boolean =
this.getClass == that.getClass

<<<<<<< HEAD
override def connect(that: Data)(implicit sourceInfo: SourceInfo, connectCompileOptions: CompileOptions): Unit = that match {
case _: Clock => super.connect(that)(sourceInfo, connectCompileOptions)
case _: Clock | DontCare => super.connect(that)(sourceInfo, connectCompileOptions)
case _ => super.badConnect(that)(sourceInfo)
}
=======
override def connect(that: Data)(implicit sourceInfo: SourceInfo, connectCompileOptions: CompileOptions): Unit =
that match {
case _: Clock | DontCare => super.connect(that)(sourceInfo, connectCompileOptions)
case _ => super.badConnect(that)(sourceInfo)
}
>>>>>>> 5d8a0c8e (Enable Clock Invalidation (#2485))

override def litOption: Option[BigInt] = None

Expand Down

0 comments on commit 43abf28

Please sign in to comment.