Skip to content

Commit 42c2ee9

Browse files
author
Oron Port
committed
add Time, Freq, Cycles DFHDL types to frontend
1 parent 2f23702 commit 42c2ee9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/main/scala/dfhdl/hdl.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ protected object hdl:
2222
export internals.CommonOps.*
2323
export core.{dfType}
2424
export core.DFPhysical.Val.Ops.*
25+
type Time = core.DFTime
26+
val Time = core.DFTime
27+
type Freq = core.DFFreq
28+
val Freq = core.DFFreq
29+
type Cycles = core.DFCycles
30+
val Cycles = core.DFCycles
2531
export core.DFRange.Ops.*
2632
export core.Wait.Ops.*
2733
export core.Step.Ops.*

0 commit comments

Comments
 (0)