Quantcast
Channel: SystemC Language Forum RSS Feed
Viewing all articles
Browse latest Browse all 595

running sc_run two times

$
0
0
Hi,
 
int main(int argc, char* argv[])
{
	int a;

	a = sc_run(argc, argv);
	a = sc_run(argc, argv);
	return a;
}

I'd like to run sc_run more than one times. Is that possible? 

After the second run the a is 1, this is possible an error code.
 
 

Viewing all articles
Browse latest Browse all 595

Trending Articles