Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
12581 Discussions

SystemC Simulation using Modelsim Altera web Edition 6.3g_p1

Altera_Forum
Honored Contributor II
1,363 Views

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 II
510 Views

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

 

 

Regards. 

Hitesh
0 Kudos
Reply