Skip to content

Commit 1aa1e97

Browse files
author
Oron Port
committed
fix oscillator context
1 parent dab7d29 commit 1aa1e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/scala/dfhdl/platforms/resources/Oscillator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import dfhdl.compiler.ir.constraints.Timing
77
class Oscillator(val rate: Rate) extends IO:
88
injectConstraint(Timing.Clock(rate))
99
object Oscillator:
10-
given [O <: Oscillator, C <: (Clk <> VAL)]: CanConnect[O, C] = (o, c) => o.connect(c)
10+
given [O <: Oscillator, C <: (Clk <> VAL)](using DFC): CanConnect[O, C] = (o, c) => o.connect(c)

0 commit comments

Comments
 (0)