Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
920 Views

SystemC Simulation using Modelsim Altera web Edition 6.3g_p1

Dear sir, 

 

I am using Modelsim Altera web edition 6.3g_p1. We would like to use it for systemC based designs. When we try to do the simulation of a simple system C file (following code), it compiles the file but along with successful compilation message , it gives the following message: 

 

# couldn't execute "C:\altera\81\modelsim_ae\win32aloem\sccom": no such file or directory# Compile of new11.cpp was successful. 

 

SystemC Code: 

# include "systemc.h" 

 

SC_MODULE(dff) { 

sc_in<bool > clk; 

sc_in<sc_logic > din; 

sc_out<sc_logic > dout; 

 

void p1() { 

if (clk.posedge()) { 

dout=din; 

 

SC_CTOR(dff) { 

SC_METHOD(p1); 

sensitive(clk); 

 

}; 

 

 

Now I would like to know the following: 

 

 

 

1. Is the Modelsim version Modelsim Altera web edition 6.3g_p1 can be used for simulating systemC files? 

 

2. If so, how to simulate the systemC file using modelsim? 

 

3. How to include it in work library for simulation or any other command needed for execution? 

 

4. How to resolve the error message created while doing compilation? 

 

Thanks and regards, 

 

R.Sundararaman
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
67 Views

Got the same issue with modelsim 10.1b license version. :( 

 

 

Regards. 

Hitesh
Reply