Making SP .. default signal processor

08jun08


Making SP  (top)

    Running make -n from pdev/gx/sp/build gives:
[root@pdevs1 build]# make -n

JFFT
rm -rf sp.cmd
echo "identification"       >> sp.cmd
echo "status"               >> sp.cmd
echo "time short"           >> sp.cmd
echo "memory on"            >> sp.cmd
echo "run -ifn sp.prj \
                    -top gx \
                    -ifmt VERILOG \
                    -ofn sp \
                    -p 2vp70ff1517-6 \
                    -opt_level 2 \
                    -keep_hierarchy soft \
                    -equivalent_register_removal no \
                    -max_fanout 65535" \
                        >> sp.cmd
make -C ../../jfft/pdev rtl
make[1]: Entering directory `/data/home.local/pdev/pdev/gx/jfft/pdev'
make rtl/xfft.v GEN=rtl IMP=virtex2
make[2]: Entering directory `/data/home.local/pdev/pdev/gx/jfft/pdev'
rm -rf rtl
mkdir rtl
perl ../src/mkjfft \
                    --imp=virtex2 \
                    --n=8192 \
                    --width=18 \
                    --prefix=xfft \
                    --odir=rtl --rnd  --ovl=4 --window=hamming --pfb --varlen --pfbby --pshift --noinit --iwidth=12 --cwidth=16 --bt=257

CMIX:
make -C ../cmix rtl
make[1]: Entering directory `/data/home.local/pdev/pdev/gx/sp/cmix'
rm -rf rtl
mkdir rtl
perl ../../jfft/cmix/src/mkcmix --n=2048 --phase --width=12 --cwidth=16 --xwidth=16 --owidth=12  --scale=1.0 --prefix=cmix --imp=virtex2 --odir=rtl

DLPF:
make -C ../dlpf rtl
rm -rf rtl
mkdir rtl
perl ../../jfft/dlpf/src/mkdlpf --ro --vdec=1024 --width=12 --owidth=12 --cwidth=16 --xwidth=16 --prefix=xlpf --window=hamming --ovl=8  \
                    --imp=virtex2 --odir=rtl

rm -rf sp.prj
echo "\`define VIRTEX2 1" >> sp.prj
echo "\`define N_CHIPD" >> sp.prj
echo "\`define DIE_2vp70" >> sp.prj
for i in ../../plinth/src/gx.vh ../src/sp.vh ../../plinth/src/gx.v ../../plinth/src/adcpad.v ../../plinth/src/adcpad_mult.v ../../plinth/src/pack_fifo.v ../../plinth/src/pi.v ../../plinth/src/pi_fifo.v ../../plinth/src/b2g_5.v ../../plinth/src/g2b_5.v ../../plinth/src/pi_ptr.v ../../plinth/src/pi_ptr_e.v ../../plinth/src/pi_data.v ../../plinth/src/gpin.v ../../plinth/src/adcclk.v ../../plinth/src/qdr_ddro.v ../../plinth/src/qdr_sdro.v ../../plinth/src/extram.v ../../plinth/src/qdr_ddri.v ../../plinth/src/pack_diag.v ../../plinth/src/mgtclk.v ../src/sp.v ../src/adcin.v ../src/creg.v ../src/sync_ext.v ../src/polalign.v ../src/stokes.v ../src/vshift.v ../src/smult.v ../src/smult1.v ../src/acc.v ../src/acc_s.v ../src/acc_us.v ../src/accmem.v ../src/dshift_s.v ../src/dshift_us.v ../src/pack.v ../src/ashift_s.v ../src/ashift_us.v ../src/ovfcnt.v ../src/testsig.v ../src/ts_sintab.v ../src/ts_chan.v ../src/ts_mult.v ../src/ts_noise.v ../src/extra.v  ../../jfft/pdev/rtl/*.v ../cmix/rtl/*.v ../dlpf/rtl/*.v ; do \
                    echo "\`include \"$i\"" >> sp.prj ;  \
                done
xst -ifn sp.cmd -ofn log.xst
ngdbuild -sd ../../plinth/build -uc ../../plinth/src/gx.ucf sp
rm -rf sp.ncd
map -pr b sp.ngd -o sp.ncd sp.pcf
par -t 1 -ol high -w sp.ncd sp_r sp.pcf
bitgen -w sp_r.ncd sp_r.bit
promgen -w -p bin -u 0 sp_r.bit sp_r.bit -o sp_r
gzip -f -9 sp_r.bin
trce -v 100 sp_r.ncd sp.pcf


<- page up
home_~phil