artiq/artiq/test
Robert Jordens 6a0e97f161 pdq2: refactor program_frame(), cleanup test, stall correctly
Once the Sequencer ack's a line, the Parser starts preparing the
next one. This includes jumping through the frame table if necessary.
To stall the Parser while the Sequencer executes the last line of a
frame and to ensure that the frame select lines can be set up and their
sampling is synchronized to a trigger, we add a triggered stall line
at the end of the frame.

When that line is triggered the Parser jumps through the table and starts
parsing the first line of the next frame. We let the duration of this
last stall line be 10 cycles (200ns@50MHz) to be able to distinguish this
sampling of the frame select lines from the triggering of the first line
in the next frame.

frame           f
parser     n     f 0
stb        __---________---___
trigger    ___----_______----_
ack        ____-__________-___
sequencer  n-1 n          0
2015-04-14 18:18:16 -06:00
..
__init__.py setup: install frontend tools, remove nosetest dependency, minor fixes 2014-12-10 12:13:10 +08:00
full_stack.py tests: make hardware-in-the loop flags positive logic 2015-04-03 11:51:03 +08:00
lda.py tests: make hardware-in-the loop flags positive logic 2015-04-03 11:51:03 +08:00
pc_rpc.py test: do not close/recreate the asyncio event loop (WA for asyncio bugs when multiple tests are run) 2015-03-11 19:05:01 +01:00
pdq2.py pdq2: refactor program_frame(), cleanup test, stall correctly 2015-04-14 18:18:16 -06:00
py2llvm.py py2llvm: replace array with list 2014-12-17 21:54:10 +08:00
serialization.py reorganize files as per discussion with Robert 2015-01-17 19:38:20 +08:00
thorlabs_tcube.py tests: make hardware-in-the loop flags positive logic 2015-04-03 11:51:03 +08:00
transforms.py setup: install frontend tools, remove nosetest dependency, minor fixes 2014-12-10 12:13:10 +08:00
wavesynth.py wavesynth: move test code to unittests, fix mutability style 2015-04-05 04:24:44 -06:00
worker.py test/worker: test watchdog in build() 2015-03-11 19:07:04 +01:00