mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-05 09:46:36 +08:00
8 lines
218 B
Python
8 lines
218 B
Python
|
# RUN: %python -m artiq.compiler.testbench.signature %s >%t
|
||
|
# RUN: OutputCheck %s --file-to-check=%t
|
||
|
|
||
|
# CHECK-L: f: (a:float, b:int(width=64))->NoneType delay(s->mu(a) + b mu)
|
||
|
def f(a, b):
|
||
|
delay(a)
|
||
|
delay_mu(b)
|