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
|