sync_cluster
Usage
usage: sync_cluster.py [-h] [--run_sync_role RUN_SYNC_ROLE] [--fclk FCLK] [--fin FIN] [--clk_route CLK_ROUTE] [--trg_route TRG_ROUTE] [--rtm RTM]
[--rtm_translen RTM_TRANSLEN] [--gpio_to_trg GPIO_TO_TRG] [--TRG_DX TRG_DX] [--toprole TOPROLE] --masters MASTERS --slaves SLAVES
Named Arguments
- --run_sync_role
run sync role
Default: 1
- --fclk
sample clock rate
Default: “20M”
- --fin
external clock rate
Default: “1M”
- --clk_route
clock routing MASTER, HDMI or FP
- --trg_route
trigger routing HDMI or FP
- --rtm
Enable rtm and set TRG to passed value ie d0
- --rtm_translen
rtm_translen value to set
- --gpio_to_trg
Routes hdmi_gpio to passed trg ie d1
- --TRG_DX
Set 1:TRG:DX source
- --toprole
role to use for the masters
- --masters
master uuts
- --slaves
slave uuts
Outline:
Example usage:
./user_apps/acq400/sync_cluster.py --masters=acq2206_010,acq2206_007 --slaves=acq2206_009,acq2206_008,acq2206_006,acq2206_005 --fclk=20M --fin=1M --clk_route=HDMI --trg_route=HDMI
- routing = {'FP': {'clk_func': <function route_FP_clk>, 'role': 'fpmaster', 'trg_func': <function route_FP_trg>}, 'HDMI': {'clk_func': <function route_HDMI_clk>, 'role': 'rpmaster', 'trg_func': <function route_HDMI_trg>}, 'MASTER': {'clk_func': <function route_MASTER_clk>, 'role': 'master', 'trg_func': <function route_MASTER_trg>}}
- clk routing:
MASTER MASTER ->HDMI-> SLAVE HDMI EXT ->HDMI-> MASTER ->HDMI-> SLAVE FP EXT ->FP-> MASTER ->HDMI-> SLAVE
- trg routing:
MASTER todo HDMI EXT ->HDMI-> MASTER ->HDMI-> SLAVE FP EXT ->FP-> MASTER ->HDMI-> SLAVE