<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>Trusster Forums &#187; Tag: teal - Recent Posts</title>
<link>http://forums.trusster.com/</link>
<description>Trusster Forums &#187; Tag: teal - Recent Posts</description>
<language>en</language>
<pubDate>Thu, 09 Sep 2010 10:25:08 +0000</pubDate>

<item>
<title>germanattanasio on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-42</link>
<pubDate>Sun, 18 Jul 2010 20:30:17 +0000</pubDate>
<dc:creator>germanattanasio</dc:creator>
<guid isPermaLink="false">42@http://forums.trusster.com/</guid>
<description>&#60;p&#62;In order to fix &#34;should have been declared inside ‘teal’&#34; on Ubuntu.&#60;br /&#62;
I had to:&#60;br /&#62;
  0. Checkout the code from subversion repositories.&#60;br /&#62;
  1. Install gcc-4.1 and g++-4.1 from Synaptic.&#60;br /&#62;
  2. change &#60;code&#62;SYS_ARCH_CC&#60;/code&#62; to use gcc-4.1.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.trusster.com/truss/howto-configure-svn-for-read-only-access/&#34; rel=&#34;nofollow&#34;&#62;http://www.trusster.com/truss/howto-configure-svn-for-read-only-access/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Mike Mintz on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-41</link>
<pubDate>Mon, 28 Jun 2010 14:52:37 +0000</pubDate>
<dc:creator>Mike Mintz</dc:creator>
<guid isPermaLink="false">41@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;There are actually two patches:&#60;/p&#62;
&#60;p&#62;*** teal_reg.h.new	2010-06-28 14:47:39.000000000 -0400&#60;br /&#62;
--- teal_reg.h	2006-05-18 08:34:00.000000000 -0400&#60;br /&#62;
*************** EVEN IF ADVISED OF THE POSSIBILITY OF SU&#60;br /&#62;
*** 110,117 ****&#60;br /&#62;
      char to_int (uint32 b) const;    //extract one bit (WARNING: Drops X/Z, see operator(uint32))&#60;/p&#62;
&#60;p&#62;      //logic&#60;br /&#62;
!     friend four_state ::teal::triple_equal (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
!     friend bool ::teal::operator== (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
      friend four_state operator&#38;lt; (const reg&#38;amp; lhs, const reg&#38;amp; rhs); //Should be bool?&#60;br /&#62;
      friend four_state reduce_xor (const reg&#38;amp;);&#60;/p&#62;
&#60;p&#62;--- 110,117 ----&#60;br /&#62;
      char to_int (uint32 b) const;    //extract one bit (WARNING: Drops X/Z, see operator(uint32))&#60;/p&#62;
&#60;p&#62;      //logic&#60;br /&#62;
!     friend four_state triple_equal (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
!     friend bool operator== (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
      friend four_state operator&#38;lt; (const reg&#38;amp; lhs, const reg&#38;amp; rhs); //Should be bool?&#60;br /&#62;
      friend four_state reduce_xor (const reg&#38;amp;);&#60;/p&#62;
&#60;p&#62;*************** EVEN IF ADVISED OF THE POSSIBILITY OF SU&#60;br /&#62;
*** 284,290 ****&#60;br /&#62;
      friend vout&#38;amp; operator&#38;lt;&#38;lt; (vout&#38;amp;, const vreg&#38;amp;);&#60;br /&#62;
    };&#60;br /&#62;
    vout&#38;amp; operator&#38;lt;&#38;lt; (vout&#38;amp;, const vreg&#38;amp;);&#60;br /&#62;
-&#60;br /&#62;
- reg::four_state triple_equal (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
- bool operator== (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
- reg::four_state operator&#38;lt; (const reg&#38;amp; lhs, const reg&#38;amp; rhs); //Should be bool?&#60;br /&#62;
--- 284,286 ----&#60;/p&#62;
&#60;p&#62;-and -&#60;br /&#62;
*** teal_vreg.cpp.new	2010-06-28 14:45:41.000000000 -0400&#60;br /&#62;
--- teal_vreg.cpp	2010-06-28 14:45:28.000000000 -0400&#60;br /&#62;
*************** void teal::vreg::connect_ () {&#60;br /&#62;
*** 143,149 ****&#60;/p&#62;
&#60;p&#62;  #if defined (vpi_2_0)&#60;br /&#62;
    if (! handle_) {&#60;br /&#62;
!     local_log &#38;lt;&#38;lt; teal_error &#38;lt;&#38;lt; &#34;Unable to get handle for \&#34;&#34; &#38;lt;&#38;lt; path_and_name_ &#38;lt;&#38;lt; &#34;\&#34; size:&#34; &#38;lt;&#38;lt; (int)path_and_name_.size () &#38;lt;&#38;lt; endm;&#60;br /&#62;
      vpi_control (vpiFinish);&#60;br /&#62;
    }&#60;/p&#62;
&#60;p&#62;--- 143,149 ----&#60;/p&#62;
&#60;p&#62;  #if defined (vpi_2_0)&#60;br /&#62;
    if (! handle_) {&#60;br /&#62;
!     local_log &#38;lt;&#38;lt; teal_error &#38;lt;&#38;lt; &#34;Unable to get handle for \&#34;&#34; &#38;lt;&#38;lt; path_and_name_ &#38;lt;&#38;lt; &#34;\&#34; size:&#34; &#38;lt;&#38;lt; path_and_name_.size () &#38;lt;&#38;lt; endm;&#60;br /&#62;
      vpi_control (vpiFinish);&#60;br /&#62;
    }
&#60;/p&#62;</description>
</item>
<item>
<title>shakthimaan on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-40</link>
<pubDate>Mon, 28 Jun 2010 11:25:57 +0000</pubDate>
<dc:creator>shakthimaan</dc:creator>
<guid isPermaLink="false">40@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Can you please let me know line 309 in which file? In teal_reg.cpp line 309 contains:&#60;/p&#62;
&#60;p&#62;  //now clean off any whole word parts, I am zero above assignment&#60;br /&#62;
  if (i &#38;lt; word_length_) {&#60;br /&#62;
    //work to do&#60;br /&#62;
    for (; i &#38;lt; word_length_; i++) {&#60;br /&#62;
      //  std::cout &#38;lt;&#38;lt; &#34;teal::reg::operator=() clearing word =&#34; &#38;lt;&#38;lt; i &#38;lt;&#38;lt; std::endl;&#60;br /&#62;
      teal_acc_vecval_[i].aval = 0;&#60;br /&#62;
      teal_acc_vecval_[i].bval = 0;&#60;br /&#62;
    }&#60;br /&#62;
  }&#60;/p&#62;
&#60;p&#62;In teal_reg.h the last line is only 286. If you could create a patch, with the required changes it will be easy to follow than replying with snippets. This is also the reason why I like mailing lists for easier discussions and follow-up. I am using teal_1_40b.tar.gz. Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>Mike Mintz on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-39</link>
<pubDate>Thu, 24 Jun 2010 16:06:38 +0000</pubDate>
<dc:creator>Mike Mintz</dc:creator>
<guid isPermaLink="false">39@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Humm, can I believe some revs of gcc want the declaration also in the teal scope.  Can you add the following starting at line 309?&#60;/p&#62;
&#60;p&#62;reg::four_state triple_equal (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
bool operator== (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
reg::four_state operator&#38;lt; (const reg&#38;amp; lhs, const reg&#38;amp; rhs);  &#60;/p&#62;
&#60;p&#62;Sorry about this.&#60;/p&#62;
&#60;p&#62;Take Care,&#60;br /&#62;
mike
&#60;/p&#62;</description>
</item>
<item>
<title>shakthimaan on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-38</link>
<pubDate>Thu, 24 Jun 2010 12:29:15 +0000</pubDate>
<dc:creator>shakthimaan</dc:creator>
<guid isPermaLink="false">38@http://forums.trusster.com/</guid>
<description>&#60;p&#62;I have the following in teal_reg.h and I still get the same error:&#60;/p&#62;
&#60;p&#62;//logic&#60;br /&#62;
friend four_state ::teal::triple_equal (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
friend bool ::teal::operator== (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
friend four_state ::teal::operator&#38;lt; (const reg&#38;amp; lhs, const reg&#38;amp; rhs); //Should be bool?&#60;br /&#62;
friend four_state reduce_xor (const reg&#38;amp;);&#60;/p&#62;
&#60;p&#62;./teal_reg.cpp:391: error: ‘bool teal::operator==(const teal::reg&#38;amp;, const teal::reg&#38;amp;)’ should have been declared inside ‘teal’&#60;br /&#62;
./teal_reg.cpp:398: error: ‘teal::reg::four_state teal::triple_equal(const teal::reg&#38;amp;, const teal::reg&#38;amp;)’ should have been declared inside ‘teal’&#60;br /&#62;
./teal_reg.cpp:428: error: ‘teal::reg::four_state teal::operator&#38;lt;(const teal::reg&#38;amp;, const teal::reg&#38;amp;)’ should have been declared inside ‘teal’
&#60;/p&#62;</description>
</item>
<item>
<title>admin on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-37</link>
<pubDate>Thu, 24 Jun 2010 11:47:39 +0000</pubDate>
<dc:creator>admin</dc:creator>
<guid isPermaLink="false">37@http://forums.trusster.com/</guid>
<description>&#60;p&#62;There's an article on the site describing how to get read-only access to the SVN repository. It can be found at &#60;a href=&#34;http://www.trusster.com/truss/howto-configure-svn-for-read-only-access/&#34; rel=&#34;nofollow&#34;&#62;http://www.trusster.com/truss/howto-configure-svn-for-read-only-access/&#60;/a&#62;  . If you have trouble, let me or Mike know.
&#60;/p&#62;</description>
</item>
<item>
<title>admin on "Mailing list"</title>
<link>http://forums.trusster.com/topic/mailing-list#post-36</link>
<pubDate>Thu, 24 Jun 2010 11:47:12 +0000</pubDate>
<dc:creator>admin</dc:creator>
<guid isPermaLink="false">36@http://forums.trusster.com/</guid>
<description>&#60;p&#62;There's an article on the site describing how to get read-only access to the SVN repository. It can be found at &#60;a href=&#34;http://www.trusster.com/truss/howto-configure-svn-for-read-only-access/&#34; rel=&#34;nofollow&#34;&#62;http://www.trusster.com/truss/howto-configure-svn-for-read-only-access/&#60;/a&#62; . If you have trouble, let me or Mike know.
&#60;/p&#62;</description>
</item>
<item>
<title>Mike Mintz on "Mailing list"</title>
<link>http://forums.trusster.com/topic/mailing-list#post-35</link>
<pubDate>Wed, 23 Jun 2010 09:52:43 +0000</pubDate>
<dc:creator>Mike Mintz</dc:creator>
<guid isPermaLink="false">35@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Great idea !  I will ask my IT person to do that.&#60;/p&#62;
&#60;p&#62;Can you ping me privately mike &#38;gt;&#38;lt; trusster &#38;gt;&#38;lt; com ? That way, we can send you the svn key.&#60;/p&#62;
&#60;p&#62;Take care,&#60;br /&#62;
Mike
&#60;/p&#62;</description>
</item>
<item>
<title>Mike Mintz on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-34</link>
<pubDate>Wed, 23 Jun 2010 09:51:08 +0000</pubDate>
<dc:creator>Mike Mintz</dc:creator>
<guid isPermaLink="false">34@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;start at line 117. &#60;/p&#62;
&#60;p&#62;Alternatively you could search for triple_equal&#60;/p&#62;
&#60;p&#62;Take Care,&#60;br /&#62;
Mike
&#60;/p&#62;</description>
</item>
<item>
<title>shakthimaan on "Mailing list"</title>
<link>http://forums.trusster.com/topic/mailing-list#post-33</link>
<pubDate>Tue, 22 Jun 2010 06:44:47 +0000</pubDate>
<dc:creator>shakthimaan</dc:creator>
<guid isPermaLink="false">33@http://forums.trusster.com/</guid>
<description>&#60;p&#62;I am trying to package Teal for Fedora.&#60;/p&#62;
&#60;p&#62;1. Can you please create a mailing list for discussions, and submission of patches?&#60;/p&#62;
&#60;p&#62;2. If you could also remove the login requirement, and provide an RSS feed for source code, it will be very helpful to keep track of new releases!&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>shakthimaan on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-32</link>
<pubDate>Tue, 22 Jun 2010 06:26:16 +0000</pubDate>
<dc:creator>shakthimaan</dc:creator>
<guid isPermaLink="false">32@http://forums.trusster.com/</guid>
<description>&#60;p&#62;I am now using teal_1_40b with gcc 4.4.4 on Fedora 13. Where should I include the following?&#60;/p&#62;
&#60;p&#62;Anyway, to fix it, add the global scope resolution operator on the function names:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;friend four_state ::teal::triple_equal (const reg&#38;amp; lhs, const reg&#38;amp; rhs);
friend bool ::teal::operator== (const reg&#38;amp; lhs, const reg&#38;amp; rhs);
friend four_state ::teal::operator&#38;lt; (const reg&#38;amp; lhs, const reg&#38;amp; rhs); //Should be bool?&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Mike Mintz on "Active HDL (Windows)"</title>
<link>http://forums.trusster.com/topic/active-hdl-windows#post-31</link>
<pubDate>Tue, 04 May 2010 08:33:20 +0000</pubDate>
<dc:creator>Mike Mintz</dc:creator>
<guid isPermaLink="false">31@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi Rolf,&#60;/p&#62;
&#60;p&#62;Thanks for trying Teal/Truss and working on these run time issues.  Yeah the synch and mutex code is just ugly.&#60;/p&#62;
&#60;p&#62;I have good contacts at Aldec and will get them to try teal on windows. I know they use teal on Linux in their regression suite.&#60;/p&#62;
&#60;p&#62;If you can get me a stack dump of the crash I will take a look.  &#60;/p&#62;
&#60;p&#62;As for truss, can you get me the error from the compiler. I agree that I made a bad assumption that pthread_t was an integral type.  You can see in the run_loop class (just below the thread class in truss_thread.h) that I use a bool to track the state.  &#60;/p&#62;
&#60;p&#62;As for the redundant code in stop(), the idea it to protect if you call stop() again. pthread does not handle a second cancel or join very well.&#60;/p&#62;
&#60;p&#62;Aldec is a proper simulator.&#60;/p&#62;
&#60;p&#62;It seem to me you are following the code quite well !  I have been coding c++ for 20 years now and would not consider myself an expert.&#60;/p&#62;
&#60;p&#62;I will get back to you when I hear from aldec.&#60;/p&#62;
&#60;p&#62;Take Care,&#60;br /&#62;
mike
&#60;/p&#62;</description>
</item>
<item>
<title>shimrod on "Active HDL (Windows)"</title>
<link>http://forums.trusster.com/topic/active-hdl-windows#post-30</link>
<pubDate>Tue, 04 May 2010 05:10:34 +0000</pubDate>
<dc:creator>shimrod</dc:creator>
<guid isPermaLink="false">30@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi &#60;/p&#62;
&#60;p&#62;Im trying to get teal (1.40b) and Truss to work with Active HDL 8.2 under windows XP, with pthreads.2 and the mingw gcc compiler that comes with the simulator.&#60;br /&#62;
I have managed to compile teal (PLI 1) and some of the tests passes. However the mutex_test crashes the simulator. I tried to play with the number of threads and up to 4 works. When I change the no of iterations to 1 I can create many (250) threads. So it seems to me that something with the mutex fails. &#60;/p&#62;
&#60;p&#62;Regarding Truss, I can't compile since the different implementation of pthread_t.&#60;br /&#62;
Truss seems to rely on the id being 0 after thread cancelled?&#60;br /&#62;
Also this seems redundant since teal::stop_Thread is calling both ptrhead_cancel and pthread_join.&#60;/p&#62;
&#60;p&#62;Anyone who has some ideas? Or should I give up and move to linux and a proper simulator?&#60;/p&#62;
&#60;p&#62;Im not an C++ (or C) expert and the code is quite complex to follow.&#60;/p&#62;
&#60;p&#62;Thanks and best regards&#60;br /&#62;
Rolf
&#60;/p&#62;</description>
</item>
<item>
<title>Mike Mintz on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-29</link>
<pubDate>Wed, 28 Apr 2010 10:24:17 +0000</pubDate>
<dc:creator>Mike Mintz</dc:creator>
<guid isPermaLink="false">29@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi Dave,&#60;/p&#62;
&#60;p&#62;I think it's this line:&#60;br /&#62;
    local_log &#38;lt;&#38;lt; teal_error &#38;lt;&#38;lt; &#34;Unable to get handle for \&#34;&#34; &#38;lt;&#38;lt; path_and_name_ &#38;lt;&#38;lt; &#34;\&#34; size:&#34; &#38;lt;&#38;lt; (unsigned)path_and_name_.size () &#38;lt;&#38;lt; endm;&#60;/p&#62;
&#60;p&#62;If so that would be my stupid hack to get 32 bit working with .size().&#60;/p&#62;
&#60;p&#62;Just remove the (unsigned) cast.&#60;/p&#62;
&#60;p&#62;I am happy that you are finding the book useful.&#60;/p&#62;
&#60;p&#62;Take Care,&#60;br /&#62;
mike&#60;/p&#62;
&#60;p&#62;-- The details --&#60;br /&#62;
The issue is that I did not do a signed uint64 operator&#38;lt;&#38;lt; for teal_vout.  You can change the size_t operator&#38;lt;&#38;lt;() to be the correct form:&#60;/p&#62;
&#60;p&#62;    virtual vout&#38;amp; operator&#38;lt;&#38;lt; (long long int x) {return operator&#38;lt;&#38;lt; ( (unsigned long long) x);}&#60;/p&#62;
&#60;p&#62;Sorry about that.
&#60;/p&#62;</description>
</item>
<item>
<title>daveW on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-28</link>
<pubDate>Tue, 27 Apr 2010 20:30:46 +0000</pubDate>
<dc:creator>daveW</dc:creator>
<guid isPermaLink="false">28@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Robert&#60;/p&#62;
&#60;p&#62;I hacked on this some the other night and boiled it down to line 150 (or within a few lines) in 'teal_vreg.cpp'.  Seems to be a problem with the call to 'path_and_name_.size ()'.  When commenting this out, I can successfully build the library.   &#60;/p&#62;
&#60;p&#62;Hey, I'm enjoying your book - HW verification with C++.&#60;br /&#62;
You guys are trailblazers.&#60;/p&#62;
&#60;p&#62;Dave
&#60;/p&#62;</description>
</item>
<item>
<title>daveW on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-27</link>
<pubDate>Mon, 26 Apr 2010 13:46:41 +0000</pubDate>
<dc:creator>daveW</dc:creator>
<guid isPermaLink="false">27@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Robert&#60;/p&#62;
&#60;p&#62;OK - that should work.  Again the error appears to be related to one file - 'teal_vreg.cpp'.  Remove this file in the 'makefile' and it builds successfully.&#60;br /&#62;
Thank you for your quick response. &#60;/p&#62;
&#60;p&#62;Dave
&#60;/p&#62;</description>
</item>
<item>
<title>Robert Ekendahl on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-26</link>
<pubDate>Mon, 26 Apr 2010 12:03:35 +0000</pubDate>
<dc:creator>Robert Ekendahl</dc:creator>
<guid isPermaLink="false">26@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Dave,&#60;/p&#62;
&#60;p&#62;Mike's on vacation and I must confess I don't have teal for c++ running currently  on any of my computers. I'm sure Mike will be able to help you as soon as he gets back later this week.&#60;/p&#62;
&#60;p&#62;/Robert
&#60;/p&#62;</description>
</item>
<item>
<title>daveW on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-25</link>
<pubDate>Mon, 26 Apr 2010 11:54:23 +0000</pubDate>
<dc:creator>daveW</dc:creator>
<guid isPermaLink="false">25@http://forums.trusster.com/</guid>
<description>&#60;p&#62;All&#60;/p&#62;
&#60;p&#62;I'm having one file fail on a Teal build on SUSE 10.2 with gcc 4.1.2.  The build will work if I remove 'teal_vreg.cpp'. &#60;/p&#62;
&#60;p&#62;Here is some of the error message...using 'make -d'.  It is ugly.. and I'm seeking some help.&#60;/p&#62;
&#60;p&#62;:char_traits&#38;lt;char&#38;gt;, _Alloc = std::allocator&#38;lt;char&#38;gt;]()’&#60;br /&#62;
./teal_vout.h:131: note: candidates are: virtual teal::vout&#38;amp;teal::vout::operator&#38;lt;&#38;lt;(char)&#60;br /&#62;
./teal_vout.h:132: note:     virtual teal::vout&#38;amp; teal::vout::operator&#38;lt;&#38;lt;(int)&#60;br /&#62;
./teal_vout.h:133: note:     virtual teal::vout&#38;amp; teal::vout::operator&#38;lt;&#38;lt;(unsigned int)&#60;br /&#62;
./teal_vout.h:134: note:     virtual teal::vout&#38;amp; teal::vout::operator&#38;lt;&#38;lt;(long int)&#60;br /&#62;
./teal_vout.h:135: note:     virtual teal::vout&#38;amp; teal::vout::operator&#38;lt;&#38;lt;(long long unsigned int)&#60;br /&#62;
./teal_vout.h:136: note:     virtual teal::vout&#38;amp; teal::vout::operator&#38;lt;&#38;lt;(const std::string&#38;amp;) &#38;lt;near match&#38;gt;&#60;br /&#62;
./teal_vout.h:137: note:     virtual teal::vout&#38;amp; teal::vout::operator&#38;lt;&#38;lt;(double)&#60;br /&#62;
./teal_vout.h:159: note:     teal::vout&#38;amp; teal::vout::operator&#38;lt;&#38;lt;(teal::vout&#38;amp; (*)(teal::vout&#38;amp;)) &#38;lt;near match&#38;gt;&#60;br /&#62;
./teal_reg.h:191: note:   teal::vout&#38;amp; teal::operator&#38;lt;&#38;lt;(teal::vout&#38;amp;, teal::reg::four_state) &#38;lt;near match&#38;gt;&#60;br /&#62;
./teal_reg.h:188: note:   teal::vout&#38;amp; teal::operator&#38;lt;&#38;lt;(teal::vout&#38;amp;, const teal::reg&#38;amp;)&#60;br /&#62;
Reaping losing child 0x0064c140 PID 5951&#60;br /&#62;
make: *** [teal_vreg.o] Error 1&#60;br /&#62;
Removing child 0x0064c140 PID 5951 from chain.&#60;/p&#62;
&#60;p&#62;This is using a recent 1_40b Teal archive.  Scope resolution (&#34;teal:: &#34;) looks to be in place.&#60;/p&#62;
&#60;p&#62;cheers,&#60;/p&#62;
&#60;p&#62;Dave
&#60;/p&#62;</description>
</item>
<item>
<title>Mike Mintz on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-20</link>
<pubDate>Wed, 17 Mar 2010 14:56:45 +0000</pubDate>
<dc:creator>Mike Mintz</dc:creator>
<guid isPermaLink="false">20@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Sorry for the delay in a response. Our notification system is broken.&#60;/p&#62;
&#60;p&#62;I have seen this error &#34;should have been declared inside ‘teal’&#34;. It has to do with the newer gcc.  I actually think its a bug, because its not overleading the scope correctly.&#60;/p&#62;
&#60;p&#62;Anyway, to fix it, add the global scope resolution operator on the function names:&#60;br /&#62;
    friend four_state ::teal::triple_equal (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
    friend bool ::teal::operator== (const reg&#38;amp; lhs, const reg&#38;amp; rhs);&#60;br /&#62;
    friend four_state ::teal::operator&#38;lt; (const reg&#38;amp; lhs, const reg&#38;amp; rhs); //Should be bool?&#60;/p&#62;
&#60;p&#62;Take care,&#60;br /&#62;
Mike
&#60;/p&#62;</description>
</item>
<item>
<title>Mike Mintz on "error while compiling teal"</title>
<link>http://forums.trusster.com/topic/error-while-compiling-teal#post-19</link>
<pubDate>Wed, 17 Mar 2010 14:48:04 +0000</pubDate>
<dc:creator>Mike Mintz</dc:creator>
<guid isPermaLink="false">19@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Sorry for the delay in responding. &#60;/p&#62;
&#60;p&#62;Since teal_memory.cpp:95 and 364 are just a log lines, you can comment them out.&#60;/p&#62;
&#60;p&#62;Feel free to e-mail me directly at mike &#38;lt;&#38;gt; trusster &#38;lt;&#38;gt; com&#60;/p&#62;
&#60;p&#62;Again, I apologize for the delay.&#60;/p&#62;
&#60;p&#62;take Care,&#60;br /&#62;
mike
&#60;/p&#62;</description>
</item>
<item>
<title>jagan on "error while compiling teal"</title>
<link>http://forums.trusster.com/topic/error-while-compiling-teal#post-14</link>
<pubDate>Thu, 07 Jan 2010 14:41:20 +0000</pubDate>
<dc:creator>jagan</dc:creator>
<guid isPermaLink="false">14@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi Mike&#60;br /&#62;
I got the same error and and now I get the following error when compiling after making the change you suggested ((uint32)aval_start_ to (size_t)aval_start_) in teal_memory.cpp&#60;/p&#62;
&#60;p&#62;In file included from ./teal.h:137,&#60;br /&#62;
                 from ./teal_memory.cpp:32:&#60;br /&#62;
./teal_reg.h:95: warning: ‘typedef’ was ignored in this declaration&#60;br /&#62;
./teal_memory.cpp: In constructor ‘regular_memory_bank::regular_memory_bank(const std::string&#38;amp;)’:&#60;br /&#62;
./teal_memory.cpp:364: error: ambiguous overload for ‘operator&#38;lt;&#38;lt;’ in ‘((teal::vout*)((teal::vout*)((teal::vout*)((teal::vout*)((teal::vout*)((teal::vout*)teal::operator&#38;lt;&#38;lt; [with TP1 = const std::string&#38;amp;, TP2 = std::pair&#38;lt;int, int&#38;gt;](((teal::vout&#38;amp;)(&#38;amp;&#38;lt;unnamed&#38;gt;::local_log)), ((const teal::vmanip&#38;lt;const std::string&#38;amp;, std::pair&#38;lt;int, int&#38;gt; &#38;gt;&#38;amp;)((const teal::vmanip&#38;lt;const std::string&#38;amp;, std::pair&#38;lt;int, int&#38;gt; &#38;gt;*)(&#38;amp; teal::mark_start(((const std::string&#38;amp;)(&#38;amp; std::basic_string&#38;lt;char, std::char_traits&#38;lt;char&#38;gt;, std::allocator&#38;lt;char&#38;gt; &#38;gt;(((const char*)&#34;./teal_memory.cpp&#34;), ((const std::allocator&#38;lt;char&#38;gt;&#38;amp;)((const std::allocator&#38;lt;char&#38;gt;*)(&#38;amp; std::allocator&#38;lt;char&#38;gt;())))))), std::pair&#38;lt;int, int&#38;gt;(((const int&#38;amp;)((const int*)(&#38;amp;2055))), ((const int&#38;amp;)((const int*)(&#38;amp;363))))))))))-&#38;gt;teal::vout::operator&#38;lt;&#38;lt;(((const std::string&#38;amp;)(&#38;amp; std::basic_string&#38;lt;char, std::char_traits&#38;lt;char&#38;gt;, std::allocator&#38;lt;char&#38;gt; &#38;gt;(((const char*)&#34;Memory ctor: bytes_per_group_ &#34;), ((const std::allocator&#38;lt;char&#38;gt;&#38;amp;)((const std::allocator&#38;lt;char&#38;gt;*)(&#38;amp; std::allocator&#38;lt;char&#38;gt;()))))))))-&#38;gt;teal::vout::operator&#38;lt;&#38;lt;(((regular_memory_bank*)this)-&#38;gt;regular_memory_bank::bytes_per_group_))-&#38;gt;teal::vout::operator&#38;lt;&#38;lt;(((const std::string&#38;amp;)(&#38;amp; std::basic_string&#38;lt;char, std::char_traits&#38;lt;char&#38;gt;, std::allocator&#38;lt;char&#38;gt; &#38;gt;(((const char*)&#34; bit_length_ : &#34;), ((const std::allocator&#38;lt;char&#38;gt;&#38;amp;)((const std::allocator&#38;lt;char&#38;gt;*)(&#38;amp; std::allocator&#38;lt;char&#38;gt;()))))))))-&#38;gt;teal::vout::operator&#38;lt;&#38;lt;(((regular_memory_bank*)this)-&#38;gt;regular_memory_bank::bit_length_))-&#38;gt;teal::vout::operator&#38;lt;&#38;lt;(teal::hex))-&#38;gt;teal::vout::operator&#38;lt;&#38;lt;(((const std::string&#38;amp;)(&#38;amp; std::basic_string&#38;lt;char, std::char_traits&#38;lt;char&#38;gt;, std::allocator&#38;lt;char&#38;gt; &#38;gt;(((const char*)&#34; aval_start: &#34;), ((const std::allocator&#38;lt;char&#38;gt;&#38;amp;)((const std::allocator&#38;lt;char&#38;gt;*)(&#38;amp; std::allocator&#38;lt;char&#38;gt;()))))))) &#38;lt;&#38;lt; (size_t)((regular_memory_bank*)this)-&#38;gt;regular_memory_bank::aval_start_’&#60;br /&#62;
./teal_vout.h:131: note: candidates are: virtual teal::vout&#38;amp; teal::vout::operator&#38;lt;&#38;lt;(char)&#60;br /&#62;
./teal_vout.h:132: note:                 virtual teal::vout&#38;amp; teal::vout::operator&#38;lt;&#38;lt;(int)&#60;/p&#62;
&#60;p&#62;What can I do to get over this error. Also, do you have a different version/download for 64bit machines.?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>moogyd on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-13</link>
<pubDate>Tue, 05 Jan 2010 11:52:38 +0000</pubDate>
<dc:creator>moogyd</dc:creator>
<guid isPermaLink="false">13@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm not a C++ expert, but this problem can be fixed by editing the Makefiles to add the --friend_injection option gcc.&#60;/p&#62;
&#60;p&#62;Let me know if you manage to get everything running under Fodora - I am at a deadend under Ubuntu :-()&#60;/p&#62;
&#60;p&#62;Steven
&#60;/p&#62;</description>
</item>
<item>
<title>shakthimaan on "Teal build error Fedora"</title>
<link>http://forums.trusster.com/topic/teal-build-error-fedora#post-12</link>
<pubDate>Wed, 30 Dec 2009 02:46:34 +0000</pubDate>
<dc:creator>shakthimaan</dc:creator>
<guid isPermaLink="false">12@http://forums.trusster.com/</guid>
<description>&#60;p&#62;I am trying to build Teal (teal_1_40b.tar.gz) on Fedora 12 using gcc 4.4.2:&#60;/p&#62;
&#60;p&#62;$ export SIMULATOR_HOME=/usr&#60;/p&#62;
&#60;p&#62;$ ARCH=Linux make SIM=ivl&#60;br /&#62;
gcc -c -fPIC ./teal_reg.cpp -o ./teal_reg.o -Wall      -Dvpi_2_0 -DSIM=ivl -Divl -I. -I/usr/include -I/usr/pli_incs -I/usr/pli/interface&#60;br /&#62;
In file included from ./teal.h:136,&#60;br /&#62;
                 from ./teal_reg.cpp:32:&#60;br /&#62;
./teal_vout.h:149: warning: ‘typedef’ was ignored in this declaration&#60;br /&#62;
In file included from ./teal.h:137,&#60;br /&#62;
                 from ./teal_reg.cpp:32:&#60;br /&#62;
./teal_reg.h:95: warning: ‘typedef’ was ignored in this declaration&#60;br /&#62;
./teal_reg.cpp:391: error: ‘bool teal::operator==(const teal::reg&#38;amp;, const teal::reg&#38;amp;)’ should have been declared inside ‘teal’&#60;br /&#62;
./teal_reg.cpp:398: error: ‘teal::reg::four_state teal::triple_equal(const teal::reg&#38;amp;, const teal::reg&#38;amp;)’ should have been declared inside ‘teal’&#60;br /&#62;
./teal_reg.cpp:428: error: ‘teal::reg::four_state teal::operator&#38;lt;(const teal::reg&#38;amp;, const teal::reg&#38;amp;)’ should have been declared inside ‘teal’&#60;br /&#62;
make: *** [teal_reg.o] Error 1&#60;/p&#62;
&#60;p&#62;Has anyone been able to successfully build Teal on *nix? Please let me know how to proceed.
&#60;/p&#62;</description>
</item>
<item>
<title>Mike Mintz on "error while compiling teal"</title>
<link>http://forums.trusster.com/topic/error-while-compiling-teal#post-4</link>
<pubDate>Fri, 11 Sep 2009 10:04:57 +0000</pubDate>
<dc:creator>Mike Mintz</dc:creator>
<guid isPermaLink="false">4@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;My mistake. That's the usual 32 versus 64 bit issue.  Change:&#60;br /&#62;
(uint32)aval_start_ to (size_t)aval_start_&#60;/p&#62;
&#60;p&#62;Sorry about that,&#60;br /&#62;
Mike
&#60;/p&#62;</description>
</item>
<item>
<title>pramod on "error while compiling teal"</title>
<link>http://forums.trusster.com/topic/error-while-compiling-teal#post-3</link>
<pubDate>Thu, 10 Sep 2009 19:34:02 +0000</pubDate>
<dc:creator>pramod</dc:creator>
<guid isPermaLink="false">3@http://forums.trusster.com/</guid>
<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I am getting this error while compiling teal on a suse64 bit machine, please help.&#60;/p&#62;
&#60;p&#62;gcc -c -fPIC ./teal_memory.cpp -o ./teal_memory.o -Wall     -DSIM=vcs -Dvcs  -I. -I/usr/synopsys/A-2008.09/include -I/usr/synopsys/A-2008.09/pli_incs -I/usr/synopsys/A-2008.09/pli/interface&#60;br /&#62;
./teal_memory.cpp: In constructor âregular_memory_bank::regular_memory_bank(const std::string&#38;amp;)â:&#60;br /&#62;
./teal_memory.cpp:364: error: cast from âteal::uint8*â to âteal::uint32â loses precision
&#60;/p&#62;</description>
</item>

</channel>
</rss>
