Re: [Gems-users] adding a new component


Date: Thu, 15 Mar 2007 09:14:06 +0800
From: "hongxia sun" <sunhx.seraph@xxxxxxxxx>
Subject: Re: [Gems-users] adding a new component
Hi Dave,
 
I think it should be enough. And where would you like to access the sequencer? Maybe in SLICC files, it is much more easy to do this.
 
Good luck!
 
Hongxia SUN

 
2007/3/15, Dave Z. <zhu_dave@xxxxxxxxx>:
Hello,

I'm trying to add a new component to each chip in the system. I've created a C++ file in $GEMS/ruby/system/ and modified SLICC files as necessary. I've defined:

Vector < XXX * > m_L1Cache_XXX_vec in AbstractChip.h

to be able to do the following:

XXX* x_ptr = g_system_ptr->getChip(...)->getXXX();

Within this component I'd like to be able to access the sequencer as well (I don't know if this changes anything). I'm getting 'm_size != 0' assertion, even though the vector size is set to 0 just like the sequencer vector. I'm probably overlooking something. Could you please show me some pointers?

Thanks,

Dave






____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

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