systemC : sc_time_stamp() comparing with an other variable
<p>I have  a problem with usinf <code>sc_time_stamp()</code></p>

<p>I want to do an operation (write the sentence below) just at the <code>time = 20</code> </p>

<p>so:</p>

<p><code>1t1 = sc_time_stamp();
if (t1.to_string() ==  "20" ) { cout&lt;&lt;"Current time is "&lt;&lt; t1 &lt;&lt; endl; }1</code></p>

<p>but it does not work.</p>