forked from M-Labs/artiq
1
0
Fork 0

language: add std module with common user features

This commit is contained in:
Sebastien Bourdeauducq 2014-09-29 23:14:10 +08:00
parent 6a1cf8749d
commit f105e5e214
7 changed files with 9 additions and 11 deletions

3
artiq/language/std.py Normal file
View File

@ -0,0 +1,3 @@
from artiq.language.core import *
from artiq.language.units import microcycle, ps, ns, us, ms, s
from artiq.language.units import Hz, kHz, MHz, GHz

View File

@ -1,5 +1,4 @@
from artiq.language.units import * from artiq.language.std import *
from artiq.language.core import *
class AluminumSpectroscopy(AutoContext): class AluminumSpectroscopy(AutoContext):

View File

@ -1,5 +1,4 @@
from artiq.language.units import * from artiq.language.std import *
from artiq.language.core import *
my_range = range my_range = range

View File

@ -1,5 +1,4 @@
from artiq.language.units import * from artiq.language.std import *
from artiq.language.core import *
from artiq.devices import corecom_serial, core, dds_core, gpio_core from artiq.devices import corecom_serial, core, dds_core, gpio_core

View File

@ -1,6 +1,6 @@
import sys import sys
from artiq.language.core import * from artiq.language.std import *
from artiq.devices import corecom_serial, core from artiq.devices import corecom_serial, core
class Mandelbrot(AutoContext): class Mandelbrot(AutoContext):

View File

@ -1,5 +1,4 @@
from artiq.language.core import * from artiq.language.std import *
from artiq.language.units import *
from artiq.devices import corecom_serial, core, dds_core, rtio_core from artiq.devices import corecom_serial, core, dds_core, rtio_core

View File

@ -1,5 +1,4 @@
from artiq.language.units import * from artiq.language.std import *
from artiq.language.core import *
class SimpleSimulation(AutoContext): class SimpleSimulation(AutoContext):