forked from M-Labs/artiq
1
0
Fork 0

language/units: add microcycle unit for core time

This commit is contained in:
Sebastien Bourdeauducq 2014-08-18 22:52:54 +08:00
parent 56ccd054eb
commit 331dbc971b
1 changed files with 3 additions and 0 deletions

View File

@ -120,3 +120,6 @@ def _register_unit(name, prefixes):
_register_unit("s", "pnum_")
_register_unit("Hz", "_kMG")
microcycle_unit = Unit("microcycle")
microcycle = Quantity(1, microcycle_unit)