Re: [Gems-users] Help GEMS-2.1.1 and Simics 4.2


Date: Fri, 1 Apr 2011 17:34:11 +0800
From: Yu-Wen Huang <playplayboy@xxxxxxxxx>
Subject: Re: [Gems-users] Help GEMS-2.1.1 and Simics 4.2
Hello,

I've just patched GEMS-2.1.1 for my Simics-4.0 these days.
The following is my steps, and I hope it would be helpful.

=================================
Prepare:
Download
1. gems-release2.1.1.tar.gz
2. gems2.1.1_patch1.tgz
Decompress
1. -> gems-2.1.1
2. -> patches
Install Simics-4.0
(in Simics/Linux64/simics-4.0-install/ dir)
and choose the following packages to install:
you can install at anywhere you want

Patch for Simics-4.0:
GEMS=<path to gems-2.1.1>
PATCH=<path to patches>
cd $GEMS
mkdir simics_40_workspace
(assume simics is installed at: /home/user/virtutech/simics-4.0)
/home/user/virtutech/simics-4.0/simics-4.0.62/bin/workspace-setup simics_40_workspace
ln -s simics_40_workspace simics
patch -p1 < $PATCH/flatten.patch
vim scripts/makesymlinks.sh
replace line 14
#cd serengeti
(because there is no directory named "serengeti" under $GEMS/simics_40_workspace/targets)
with  
cd sample (or any directory in $GEMS/simics_40_workspace/targets)
cd simics_40_workspace
../scripts/makesymlinks.sh (this step must be executed under the simics_40_workspace dir)
cd ..  (go back to $GEMS)
vim common/Makefile.simics_version
line 9:
SIMICS_VERSION := 4.0
line 26:
SIMICS_INCLUDE_ROOT := /home/user/virtutech/simics-4.0/simics-model-builder-4.0.16/src/include

And now you should be able to compile ruby successfully
(Maybe you have to modify the setting of compilers,
please check $CC_VERSION and $CC variables in $GEMS/common/Makefile.common)

Compile ruby:
cd ruby
make PROTOCOL=MSI_MOSI_CMP_directory -j2  (or other protocols supported by GEMS)
=================================

The procedure above is just for my case, you have to change something for simics-4.2.

Best Regards,
Yu-wen Huang

2011/3/23 <wangshuz@xxxxxxxxxxxxxxxxx>

Hello,

 

I installed gems-release2.1.1.tar.gz, and follow the  http://www.cs.wisc.edu/gems/GEMS-Ubuntu.pdf 

When I did the step 6 " "Edit $GEMS/scripts/makesymlinks.sh to include the correct path to $SIMICS_INSTALL",I can't find import file in

simics 4.2. I mean the $SIMICS_INSTALL/import path dosen't exit, so all the link files are broken.

 

I appreciate any clue to overcome this problem.

 

Regards,

Shu Wang


_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.



[← Prev in Thread] Current Thread [Next in Thread→]
  • Re: [Gems-users] Help GEMS-2.1.1 and Simics 4.2, Yu-Wen Huang <=