1 | #!/bin/csh |
---|
2 | |
---|
3 | ###################################################################### |
---|
4 | #### #### |
---|
5 | #### File : SIM.csh #### |
---|
6 | #### Date : January 12 2010 #### |
---|
7 | #### Version : 1.2 #### |
---|
8 | #### Author : Bazargan Pirouz #### |
---|
9 | #### #### |
---|
10 | #### Origin : This description has been developed at LIP6 #### |
---|
11 | #### University Paris 6 - Pierre et Marie Curie #### |
---|
12 | #### 4 Place Jussieu 75252 Paris Cedex 05 - France #### |
---|
13 | #### #### |
---|
14 | ###################################################################### |
---|
15 | |
---|
16 | source ENV.csh |
---|
17 | echo "==== $1 ====" |
---|
18 | |
---|
19 | if ! ( -f ../asm/$1.mem ) then |
---|
20 | echo "" |
---|
21 | echo "No memory image available. Run the Assembler on : $1" |
---|
22 | echo "" |
---|
23 | exit |
---|
24 | endif |
---|
25 | |
---|
26 | sed -e '/=/d' -e 's/ / : /' ../asm/$1.mem > ram.ini |
---|
27 | /users/enseig/pirouz/archi/Linux/bin/simulad -l 1 -p 100 -zerodelay -nocheckdriver -nostrict -bdd -nowarning -nores -silentex pi_cpu pi_cpu |
---|