1. log onto a 32-bit salo server with the following command:

ssh -XC myking@XXXXXX.nmp.nokia.com -R 27801:bluespeclm.nrcc.noklab.com:27801 -R 59023:bluespeclm.nrcc.noklab.com:59023 -R 2222:cirdan.nrcc.noklab.com:22

the three ports are for the Bluespec compilation, Bluesim license, and ssh for svn+ssh. follow these links for information about getting the bluespec compiler running, compiling to systemc, and executing:

(these directions will work for both 64 and 32 bit platforms) Setting up BSC, Bluespec to systemC

2. source this script:

#!/bin/tcsh
module load tww/subversion
module load seamless/5.5_1.5_32
module load tww/gcc/3.2.3
setenv CXX g++
setenv CC gcc
setenv SVN_SSH "ssh -p 2222"
setenv BLUESPECDIR '/nokia/sa_nmp/groups/armotd/bluespec/Bluespec-2007.05/lib'
setenv BLUESPEC_HOME '/nokia/sa_nmp/groups/armotd/bluespec/Bluespec-2007.05'
setenv LM_LICENSE_FILE 27801@localhost
setenv SYSTEMC '/nokia/sa_nmp/groups/armotd/systemc/systemc-2.0.1'
set path = ($path /nokia/sa_nmp/groups/armotd/bluespec/Bluespec-2007.05/bin)
set path = ($path /disks/treusers/myking/turbo/build)  XXXX change this line to reflect your turbo build directory XXXX
setenv LD_LIBRARY_PATH "$CVE_HOME/lib

2. check out the turbo code with this command:

svn co svn+ssh://mdk@localhost/svn/armo/turbo

3. build with this command:

cd turbo/build; make mkHSTDEC

4. check out the hstdec with this command:

svn co svn+ssh://mdk@localhost/svn/armo/hstdec

5. build it with this command:

cd /nokia/sa_nmp/groups/armotd/myking/TD/hstdec/href/TestSW_Platform_hstdec_tb/src;
source setenv.csh
gmake install
gmake all

6. in the same directory, run the test with the following commands:

./mc_start.sh
platform sysc
## then wait 'till all the initialization has occurred
menu
41

7. if you don't see "PASSED" you're doing something wrong

ARMO/HSTDEC TURBO (last edited 2007-08-22 18:51:30 by GopalRaghavan)