How do you log results to an external text file in SystemC simulation with Modelsim?

Status
Not open for further replies.

ruwan2

Member level 5
Joined
Nov 29, 2011
Messages
90
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
2,141
Hi,

I try to write data to an external text file in SystemC, Modelsim. It fails in Modelsim, but it works well with Microsoft Visio Studio 10. After an exhaust trial, I suspect that Modelsim does not like fopen, fprintf in SystemC? I don't know.

How, I wonder whether Modelsim recommend to use its own log mode, but I don't find any clue on this topic.


How do you write results to an external file in SystemC with Modelsim?


Thanks,
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…