Date: | Wed, 14 Mar 2007 21:09:33 -0700 (PDT) |
---|---|
From: | "Dave Z." <zhu_dave@xxxxxxxxx> |
Subject: | Re: [Gems-users] adding a new component |
Hi Hongxia, Yes, I defined the component's constructor as XXX(AbstractChip *chip_ptr). I got the error during run-time when I called the following: XXX* x_ptr = g_system_ptr->getChip(SIMICS_current_processor_number())->getXXX(SIMICS_current_processor_number()); Thanks, Dave ----- Original Message ---- From: hongxia sun <sunhx.seraph@xxxxxxxxx> To: Gems Users <gems-users@xxxxxxxxxxx> Sent: Wednesday, March 14, 2007 6:40:41 PM Subject: Re: [Gems-users] adding a new component Hi Dave,
How did you define your component? When did you get the error? Compiling time or running time?
You can try to define your component's constructor as following:
XXX(AbstractChip *chip_ptr);
XXX(AbstractChip *chip_ptr, int version);
In fact, this error also came up when I added a new component to Ruby. But I cannot remember exactly how to solve it. Please try the about method.
Good luck!
Hongxia SUN
2007/3/15, Dave Z. <zhu_dave@xxxxxxxxx>:
_______________________________________________ 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. Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] adding a new component, hongxia sun |
---|---|
Next by Date: | Re: [Gems-users] adding a new component, hongxia sun |
Previous by Thread: | Re: [Gems-users] adding a new component, hongxia sun |
Next by Thread: | Re: [Gems-users] adding a new component, hongxia sun |
Indexes: | [Date] [Thread] |