acq400_pre_post
Usage
usage: acq400_pre_post.py [-h] [--clk CLK] [--trg TRG] [--sim SIM] [--trace TRACE] [--auto_soft_trigger AUTO_SOFT_TRIGGER] [--clear_counters] [--data_test DATA_TEST]
                          [--shots SHOTS] [--enable_trigger ENABLE_TRIGGER] [--toprole TOPROLE] [--fclk FCLK] [--fin FIN] [--clkdiv CLKDIV]
                          uuts [uuts ...]
Positional Arguments
- uuts
 uut1 [uut2..]
Named Arguments
- --clk
 int|ext|zclk|xclk,fpclk,SR,[FIN]
- --trg
 int|ext,rising|falling
- --sim
 s1[,s2,s3..] list of sites to run in simulate mode
- --trace
 1 : enable command tracing
- --auto_soft_trigger
 force soft trigger generation
Default: 0
- --clear_counters
 clear all counters SLOW
Default: False
- --data_test
 Whether to test the data for the trigger at the pre/post crossover
Default: 0
- --shots
 The number of pre-post captures to run.
Default: 1
- --enable_trigger
 set this to enable the trigger all other args ignored
- --toprole
 role of top in stack
Default: “master”
- --fclk
 sample clock rate
Default: “1000000”
- --fin
 external clock rate
Default: “1000000”
- --clkdiv
 optional clockdiv
Outline:
A script to loop pre-post captures.
A data_test can also be run, where the system will assume a slow free running trigger is given (~0.5Hz) with CH01 sampling a square wave.
Example usage:
python3 acq400_pre_post.py --data_test=1 --pre=50000 --post=100000     --trg=ext --shots=5 acq1001_084