#!/bin/csh -f
#
#pragma ident "@(#)e3chk	1.2 10/10/03 EDT"
#

set unit = 0

if ( $#argv == 2 ) then
    if ( "$argv[1]" == "-u" ) then
	set unit=$argv[2]
    endif
endif

echo Testing unit $unit

bitload -u $unit combo3_pdh_demuxin
set_ss_vco -u $unit 1 0
set_ss_vco -u $unit -F 10000000 1
set_ss_vco -u $unit 4 2
# set clock 2 to e3 rate, clock 0 and 3 to e1 and clock 1 10MHz
c3_set_e1 -u $unit
c3_set_e3 -u $unit  rrrr
pdb -u $unit -f c3_demux.pdb
