Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > SystemC + VHDL cosim, hierarchy probing, etc...

Reply
Thread Tools

SystemC + VHDL cosim, hierarchy probing, etc...

 
 
jjohnson@cs.ucf.edu
Guest
Posts: n/a
 
      12-16-2004

Does anyone have any experiences to share regarding SystemC and VHDL in
a mixed-language simulation? (ModelSim is my simulator, but all
relevant comments are welcome.)

We don't have a SystemC license yet for ModelSim, but wonder if adding
SystemC to our mostly-VHDL simulation/synthesis environment will buy us
much.

(We *eventually* want to model FPGAs and ASICs along with an external
uP running real code, but the first goal is just to create faster, more
powerful testbenches for single FPGAs).

Does SystemC allow "easy" monitoring/driving of low-level signals (deep
in the hierarchy) from a top-level testbench?

(By "easy", I mean something like a hierarchical instance name
references to ports and signals, like DUT/CORE/U1/DEMOD/IQout ala
verilog), not the hoops VHDL makes you jump through. 8-P [This is
almost reason enough for me to finally abandon VHDL...)

If SystemC allows the hierarchical name references, can those descend
into the VHDL hierarchy as well? (In some or all simulators?)
Thanks very much,

mj

 
Reply With Quote
 
 
 
 
Alan Fitch
Guest
Posts: n/a
 
      12-17-2004

<> wrote in message
news: oups.com...
>
> Does anyone have any experiences to share regarding SystemC and VHDL

in
> a mixed-language simulation? (ModelSim is my simulator, but all
> relevant comments are welcome.)
>
> We don't have a SystemC license yet for ModelSim, but wonder if

adding
> SystemC to our mostly-VHDL simulation/synthesis environment will buy

us
> much.
>
> (We *eventually* want to model FPGAs and ASICs along with an

external
> uP running real code, but the first goal is just to create faster,

more
> powerful testbenches for single FPGAs).
>
> Does SystemC allow "easy" monitoring/driving of low-level signals

(deep
> in the hierarchy) from a top-level testbench?
>
> (By "easy", I mean something like a hierarchical instance name
> references to ports and signals, like DUT/CORE/U1/DEMOD/IQout ala
> verilog), not the hoops VHDL makes you jump through. 8-P [This is
> almost reason enough for me to finally abandon VHDL...)
>
> If SystemC allows the hierarchical name references, can those

descend
> into the VHDL hierarchy as well? (In some or all simulators?)
> Thanks very much,
>
> mj
>



A couple of simulators support "out of module references", for
instance
ncsim. This allows you to directly access hierarchical names in either
VHDL or Verilog.

There is also an hdl connection API in the SystemC Verification
Library,
which Modelsim supports (as do other simulators).

And of course in Modelsim, there is nothing to stop you using the PLI
in C and linking that to SystemC code,

regards
Alan

--
Alan Fitch
Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * Perl * Tcl/Tk * Verification * Project
Services

Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24
1AW, UK
Tel: +44 (0)1425 471223 mail:

Fax: +44 (0)1425 471573 Web:
http://www.doulos.com

The contents of this message may contain personal views which are not
the
views of Doulos Ltd., unless specifically stated.

 
Reply With Quote
 
 
 
 
Jim Lewis
Guest
Posts: n/a
 
      12-20-2004
wrote:

> Does anyone have any experiences to share regarding SystemC and VHDL in
> a mixed-language simulation? (ModelSim is my simulator, but all
> relevant comments are welcome.)
>
> We don't have a SystemC license yet for ModelSim, but wonder if adding
> SystemC to our mostly-VHDL simulation/synthesis environment will buy us
> much.
>
> (We *eventually* want to model FPGAs and ASICs along with an external
> uP running real code, but the first goal is just to create faster, more
> powerful testbenches for single FPGAs).
>
> Does SystemC allow "easy" monitoring/driving of low-level signals (deep
> in the hierarchy) from a top-level testbench?
>
> (By "easy", I mean something like a hierarchical instance name
> references to ports and signals, like DUT/CORE/U1/DEMOD/IQout ala
> verilog), not the hoops VHDL makes you jump through. 8-P [This is
> almost reason enough for me to finally abandon VHDL...)

Most simulators have a package that allows a not so hard method
to access internal signals. In ModelSim it is called SignalSpy.
In Cadence it is NCMirror. Both of these packages have been
donated to IEEE and are being used as the basis for a standard
method along these lines.

I have found that VHDL does have enough language features to
create a powerful transaction based testbench environment.
It just takes a little work - just like it would take in other
programming languages. For some hints, see the testbench papers
on our website: http://www.synthworks.com/papers

The big advantage to "C" at this point, is the standard
libraries that are available. This is one point that needs
to be further developed and standardized in VHDL - some of
this work is in process. Note thought that the standards
groups are looking for volunteers in this area.

Cheers,
Jim
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
Jim Lewis
Director of Training private.php?do=newpm&u=
SynthWorks Design Inc. http://www.SynthWorks.com
1-503-590-4787

Expert VHDL Training for Hardware Design and Verification
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Co simulation of SystemC files with VHDL testbench doromdor VHDL 0 12-07-2009 12:06 PM
SCLive 3.0 With Verilog, VHDL, SystemC kernels available. dcabanis VHDL 0 10-22-2009 02:11 PM
VHDL / SystemC Cosimulation problem manu VHDL 8 03-29-2007 07:03 AM
C-Systemc-VHDL problem in Modelsim Mr. Peterfolk VHDL 3 01-25-2007 06:53 AM
Problem during mixed VHDL SystemC simulation with Modelsim 6.2a Steven Derrien VHDL 2 07-13-2006 09:50 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57