one_Mhz_clock
656 Bytes
#! /bin/csh -f
cat $1 | sed "s/clock_2 @DC 1(1) 0(1)/clock_2 @DC 1(500) 0(500)/" \
| sed "s/clock_8 @DC 1(4) 0(4)/clock_8 @DC 1(2000) 0(2000)/" \
| sed "s/clock_16 @DC 1(8) 0(8)/clock_16 @DC 1(4000) 0(4000)/" \
| sed "s/tx_clk @C 1(2) 0(2)/tx_clk @C 1(1000) 0(1000)/" \
| sed "s/@S 7/@S 3999/" \
| sed "s/@S 7 /@S 3999 /" \
| sed "s/@S 15/@S 7999/" \
| sed "s/@S 1.99/@S 999/" \
| sed "s/@E 1/@E 100/" \
| sed "s/@E 5/@E 100/" \
>! $1.tmp
mv $1.tmp $1