OpenCores
URL https://opencores.org/ocsvn/djpeg/djpeg/trunk

Subversion Repositories djpeg

[/] [djpeg/] [trunk/] [testbench/] [run.ms] - Blame information for rev 10

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 hidemi
#!/bin/csh
2
 
3
if($#argv == 0) then
4
  echo Usage: run.ms IMAGENAME
5
  exit
6
endif
7
 
8 5 hidemi
../c_model/convbtoh ../image/$argv[1].jpg test.mem
9 2 hidemi
 
10
if(-d ./work) rm -rf work
11
 
12
vlib work
13 5 hidemi
vlog \
14
../src/jpeg_regdata.v \
15
../src/jpeg_ziguzagu_reg.v \
16
../src/jpeg_ziguzagu.v \
17
../src/jpeg_dqt.v \
18
../src/jpeg_dht.v \
19
../src/jpeg_hm_decode.v \
20
../src/jpeg_haffuman.v \
21
../src/jpeg_idctb.v \
22
../src/jpeg_idctx.v \
23
../src/jpeg_idcty.v \
24
../src/jpeg_idct.v \
25
../src/jpeg_ycbcr_mem.v \
26
../src/jpeg_ycbcr2rgb.v \
27
../src/jpeg_ycbcr.v \
28
../src/jpeg_decode_fsm.v \
29
../src/jpeg_decode.v \
30
jpeg_test.v
31
#jpeg_test
32
#-cover \
33 2 hidemi
 
34 5 hidemi
 
35
#echo "vsim -coverage -t 1ps -lib work jpeg_test" > modelsim.fdo
36
echo "vsim -t 1ps -lib work jpeg_test" > modelsim.fdo
37
echo "view wave" >> modelsim.fdo
38 2 hidemi
#echo "do wave.do" >> modelsim.fdo
39
#echo "vcd file vcd/jpeg_test.vcd" >> modelsim.fdo
40
#echo "vcd add -r *" >> modelsim.fdo
41
echo "run 100 ms" >> modelsim.fdo
42
echo "quit" >> modelsim.fdo
43
 
44 5 hidemi
#vsim -c -do modelsim.fdo
45
vsim -do modelsim.fdo
46 2 hidemi
 
47 5 hidemi
../c_model/convsim sim.dat sim.bmp
48 2 hidemi
 
49
rm -rf ./work
50
rm transcript
51
rm modelsim.fdo

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.