Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - Problem with waveform viewer- GTKWAVE Message Thread: Previous | Next
  • To: systemc-forum@xxxxxxxxxxxxxxxxx
  • From: sr raksha <s_r_raksha@xxxxxxxxx>
  • Date: Wed, 13 Jan 2010 10:44:06 -0800 (PST)
Send Email to systemc-forum@lists.systemc.org:
Send new message
Reply to this message
I have a adder module with trace code which forms a VCD file. 
 
int
{
sc_signal <bool> t_a,t_b,t_cin,t_sum,t_cout;
sc_trace_file *tf;
tf = sc_create_vcd_trace_file("adder_trial_13jan");
full_adder f1("FAWHA");
f1<< t_a << t_b << t_cin << t_sum << t_cout;
driver d1("Generate Waveforms");
d1.d_a(t_a);
d1.d_b(t_b);
d1.d_cin(t_cin);
monitor m1("monitorWaveforms");
m1<< t_a << t_b << t_cin << t_sum << t_cout;
sc_trace(tf,t_a,"t_a");
sc_trace(tf,t_b,"t_b");
sc_trace(tf,t_cin,"t_cin");
sc_trace(tf,t_cin,"t_sum");
sc_trace(tf,t_cin,"t_cout");
sc_start(100,SC_NS);
sc_close_vcd_trace_file(tf);
return(0);
}
 
When I run GTKWAVE. It gives me an error.
It says "No symbols in VCD file....is it malformed? exiting!"
 
Attached is the VCD file with this email.
 
Has anyone come across this error? how can I solve this?
 
Thanks,
Rakshasc_main(int argc, char* argv[])


      

Attachment: adder_trial_13jan.vcd
Description: Binary data


By Date: Previous | Next Current Thread By Thread: Previous | Next