forked from M-Labs/artiq
language/units: add microcycle unit for core time
This commit is contained in:
parent
56ccd054eb
commit
331dbc971b
|
@ -120,3 +120,6 @@ def _register_unit(name, prefixes):
|
||||||
|
|
||||||
_register_unit("s", "pnum_")
|
_register_unit("s", "pnum_")
|
||||||
_register_unit("Hz", "_kMG")
|
_register_unit("Hz", "_kMG")
|
||||||
|
|
||||||
|
microcycle_unit = Unit("microcycle")
|
||||||
|
microcycle = Quantity(1, microcycle_unit)
|
||||||
|
|
Loading…
Reference in New Issue