Re: [Gems-users] Questions about load ruby in Simics and Power in opal


Date: Fri, 11 Jan 2008 11:01:15 +0800
From: "Cihat Basol" <cihatbas@xxxxxxxxxxxxxxx>
Subject: Re: [Gems-users] Questions about load ruby in Simics and Power in opal
Hi Yang,

I faced the exact same error. The thing is that in simics 3.0, SIM_hap_register_callback is obsolete. You can just go into ruby.c file and comment out the lines that includes that function. There are in fact 4 or 5 of those functions mostly about mmu. But I am not sure if it is the right thing to do. However, I haven't encountered any problem due to disabling those callback so far.

Thanks,
Cihat.


On Jan 11, 2008 5:49 AM, Guoqiang Yang <nkyangguoqiang@xxxxxxxxx> wrote:
Hi there,
I have two questions now, would anyone know these issues?
 
1. In fact I have posted this question two weeks ago, but didn't get any information, and I would like to post it a second time in case that some of you guys were on holidy at that time. 
 
I'm now using GEMS2.0. And I configured the simulation system using MOESI_CMP_directory protocol. And the system was configured as 4-processor 4-l2 banks and 4 memories. Now, I can run tester in ruby. But when I tried to load ruby into simics, the following error occured.
 
Error loading module 'ruby': Failed to load module 'ruby' ('/scratch/cerberus/guoyang/simulators/Gems/2.0GEMS/simics_3_workspace/x86-linux/lib/ruby.so'): "undefined symbol: SIM_hap_register_callback"
  
And I checked Gems1.4, there is no function call of SIM_hap_register_callback. Is there anyone know how to solve this problem or explain why would this happen?
 
2. I also noticed that there is a "power" directory in opal and I also found the wattch power in opal. My question is: is the power thing in opal the same as in Wattch, and does this piece of code work properly or tested properly?
 
Many thanks,
 
Guoqiang Yang

_______________________________________________
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→]