Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ModelSim SE 6.0 and systemC

Status
Not open for further replies.

bibo1978

Full Member level 4
Joined
May 1, 2004
Messages
210
Helped
12
Reputation
24
Reaction score
6
Trophy points
1,298
Activity points
2,548
compiler c++ modelsim

I want some hints on how to use modelsim SE 6.0 to compile systemC programs
 

gcc for modelsim

Hi bibo1978,

You can find detail steps in the reference/Manual of M0delsim Se 6.0.
 

modelsim se 5.8 windows systemc

surely,it support systemC
 

wadaye said:
Hi bibo1978,

You can find detail steps in the reference/Manual of M0delsim Se 6.0.

r u wang1 at qqt??
 

i want to know too.

Added after 4 minutes:

does this ver6.0 support systemc? other's version?i never don't use it.
 

Yes the 6.0 version do support to system c both windows as well as linux version,
Believe linux 5.8 version also supports System C.
 

Check following dir in ur modelsim installation
modeltech/examples/systemc

tonns of SystemC examples!
 

hi,
In modelsim tutorials you will find lots things.

with regards,
kul
 

see modelsim tutorial doc, you will get it!
 

I'm studing SystemC with ModelSimSE 6.0b.

To run your project:
- Create your files (*.cpp and *.h) with editor
- Using command line:
sccom -g file1.cpp file2.cpp // list of files to compile (you have to compile cpp-files)
sccom -link // linking your project
view * // open all debugging windows
vsim top // start (top module in the hierarchy)
run 500000 ns // and run simulation
- Using graphical user interface (GUI) of ModelSim:
do the same stepps, using insets ...compile
...simulate
...view

If you have installed ModelSim, in the subdirectory ..\examples\systemc\sc you can find a file 'run.do' (tcl script file) with contains all this sequence of operations. You can simply write 'do run.do' and enjoy!

Speaking about "tonns of SystemC examples! (said by nand_gatesin his message)" all projects in directory example contains different versions of the same design - Ring buffer. You can see, the number of systemc examples is not so vast.
 

hi,
go through the modelsim6.0 reference manual you can find this manual in help option of menu.

with regards,
srik.
 

I don't believe that ModelSim gives more than bare GCC to the SystemC developer .. I have tried many development environments for SystemC, like : Visual C++, ModelSim, Synopsis System Studio, GCC on linux and GCC on Cygwin .. and finally I can say that GCC is the best .. easiest .. and less noisy ..

If you are Windows user, All what u want to do are :
1- Compile and Simulate -> GCC under Cygwin offers that ..
2- View Waveform -> u can use any waveform viewer ( like gtkwave , also under cygwin )
3- Sure if you need to do some scripts, Cygwin as well will be a good environment.
4- If you need a debugger, DDD is real good one .. also Cygwin
5- If you want to build a greaphical interface for your SystemC things, TCL is a good option ..

So, I recommend GCC/Cygwin .. simply the GCC is the basic compiler behind all those non-free tools.
 

h*****p://www.model.com/support/release_notes.asp*********


yes u can run systemC..but before running u have to download the latest version..check i am sending the link ..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top