<div>Hi Dave,</div>
<div>&nbsp;</div>
<div>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.</div>
<div>&nbsp;</div>
<div>Good luck!</div>
<div>&nbsp;</div>
<div>Hongxia SUN<br><br>&nbsp;</div>
<div><span class="gmail_quote">2007/3/15, Dave Z. &lt;<a href="mailto:zhu_dave@yahoo.com">zhu_dave@yahoo.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello,<br><br>I&#39;m trying to add a new component to each chip in the system. I&#39;ve created a C++ file in $GEMS/ruby/system/ and modified SLICC files as necessary. I&#39;ve defined:
<br><br>Vector &lt; XXX * &gt; m_L1Cache_XXX_vec in AbstractChip.h<br><br>to be able to do the following:<br><br>XXX* x_ptr = g_system_ptr-&gt;getChip(...)-&gt;getXXX();<br><br>Within this component I&#39;d like to be able to access the sequencer as well (I don&#39;t know if this changes anything). I&#39;m getting &#39;m_size != 0&#39; assertion, even though the vector size is set to 0 just like the sequencer vector. I&#39;m probably overlooking something. Could you please show me some pointers?
<br><br>Thanks,<br><br>Dave<br><br><br><br><br><br><br>____________________________________________________________________________________<br>Food fight? Enjoy some healthy debate<br>in the Yahoo! Answers Food &amp; Drink Q&amp;A.
<br><a href="http://answers.yahoo.com/dir/?link=list&amp;sid=396545367">http://answers.yahoo.com/dir/?link=list&amp;sid=396545367</a><br><br>_______________________________________________<br>Gems-users mailing list<br><a href="mailto:Gems-users@cs.wisc.edu">
Gems-users@cs.wisc.edu</a><br><a href="https://lists.cs.wisc.edu/mailman/listinfo/gems-users">https://lists.cs.wisc.edu/mailman/listinfo/gems-users</a><br>Use Google to search the GEMS Users mailing list by adding &quot;site:
<a href="https://lists.cs.wisc.edu/archive/gems-users/">https://lists.cs.wisc.edu/archive/gems-users/</a>&quot; to your search.<br><br></blockquote></div><br>