mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-21 17:34:03 +08:00
9 lines
251 B
Python
9 lines
251 B
Python
# RUN: %python -m artiq.compiler.testbench.signature %s >%t
|
|
# RUN: OutputCheck %s --file-to-check=%t
|
|
|
|
# CHECK-L: f: (a:int(width=64), b:int(width=64))->NoneType delay(a + b mu)
|
|
def f(a, b):
|
|
with sequential:
|
|
delay_mu(a)
|
|
delay_mu(b)
|