Re: [Gems-users] multiple protocols co-exist in simics 3.0?


Date: Mon, 07 Apr 2008 08:11:49 -0500
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] multiple protocols co-exist in simics 3.0?
This is an oversight. Ruby is just a library (.so) and it can be loaded from any location, so long as Simics's SIMICS_EXTRA_LIB environment variable specifies the path. If you'd like to have several compiled protocols laying around, just place each ruby-v9.so in its own directory and set SIMICS_EXTRA_LIB appropriately for the protocol you want.

Regards,
Dan

Huan Fang wrote:
Hi everyone,
As said in QuickStart, Gems allows multiple protocols co-exist in simics tree, which is accomplished by the movemodule target. But in Simics 3.0, it seems ruby.so only exsits in simics/x86-linux/lib instead of /home/$(DESTINATION)/modules. In ruby/Makefile:

movemodule:
ifeq ($(SIMICS_VERSION),2.2.X)
$(GEMS_ROOT)/scripts/prepare_simics_home.sh $(SIMICS_ROOT)/home/$(DESTINATION) $(HOST_TYPE) $(MV) $(SIMICS_ROOT)/$(HOST_TYPE)/lib/ruby.so $(SIMICS_ROOT)/home/$(DESTINATION)/modules/ruby-v9.so $(MV) $(SIMICS_ROOT)/$(HOST_TYPE)/lib/python/mod_ruby_commands.py $(SIMICS_ROOT)/home/$(DESTINATION)/modules/python
else
ifeq ($(SIMICS_VERSION),3.0)
$(GEMS_ROOT)/scripts/prepare_simics_home.sh $(SIMICS_EXEC_ROOT)/home/$(DESTINATION) $(HOST_TYPE)
else
@echo "Unrecognized value for SIMICS_VERSION: see common/Makefile.common"
    exit 1
endif
endif

Regards,
Huan
_______________________________________________
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.



--
http://www.cs.wisc.edu/~gibson [esc]:wq!

[← Prev in Thread] Current Thread [Next in Thread→]