Quantcast
Channel: SystemC Language Forum RSS Feed
Browsing all 595 articles
Browse latest View live

Problem while trying to build systemc.lib

Dear all,    I am new in the systemC world and I am trying to find a way through the set up. I would like to run systemC on Visual Studio 2013 Express.    -Initially I download the systemc2.3.0 -Then I...

View Article


role of dynamic processes

Why we use dynamic processes, exact role of dynamic processes? In place of these could we use simply static processes?

View Article


Problem with sc_create_vcd_trace_file

Hi to everybody,   I am new to the SystemC world and I have some difficulties. I am trying to create a vcd file where I can see all my signals. The program compiles without any errors however the vcd...

View Article

SystemC object instanciation in C++ class

Hello,   I am trying to develop a service class allowing a user to interact with a SystemC model. I am in trouble during my SystemC object instanciation in the service class. Do you see any errors in...

View Article

Error: (E519) wait() is only allowed in SC_THREADs and SC_CTHREADs

Hello everyone,   I have a runtime error when trying to simulate the top level of a system containing 2 sc_threads. An example of my code architecture is presented hereunder, do you see any problem?...

View Article


Segmentation fault after pointer content copy

Hello,   I have a strange beahavior of a systemC program caused by a debug function. This function (called memItemExamine) allows to read a memory cell in a sub-module (memDev in the example) from the...

View Article

Method Process

Hello,    In system C, A method is called when ever the event in the sensitivity list changes. Like always block in Verilog. Triggering event in sensitive list can be either edge sensitive or level...

View Article

What is the structure of a signal?

Hello to everybody,    I would like to know some more information about signals offered by SystemC. How does the signal's structure look like? Is it allocated as an array of data ? Is it just a...

View Article


Exception generated in SC_THREAD, catched out of it

Hi,   I have some problems with exceptions thrown inside systemC modules and catched in a classical C++ class, parent of the systemC one. The codes shown here only illustrate the structure of my...

View Article


systemc model of d-flip-flop

1) I will be thankful if i could get some support to resolve error in the attachment as i have tried to implement a pre-defined example.   2) for what time  wait() statement is used in method tb_input...

View Article

Image may be NSFW.
Clik here to view.

stack systemc model ( seek support in error handling )

1) I followed following steps to execute and to debug but could not see use of debugger a) g++ -I. -I$SYSTEMC_HOME/include -L. -L$SYSTEMC_HOME/lib-linux -o out stack_class.cpp -lsystemc -lm gdb out c)...

View Article

Any doc in support of systemC models ?

Hello ,   I am assigned a task to make modelling of a controller and i am preparing a  doc in support of it ..Which wouild be later used for  architecture analysis ... What what this doc be having...

View Article

integrate driver code with systemC model ??

hello  ,   I am making a controller which has an pre-existing driver code and  make it compatible with it ... how can integrate the both ???

View Article


finding sc_event_or_list trigger

Hi!   If I have a sc_event_or_list, and then do a wait on it, is there some way to find out which of the memebers of the sc_event_or_list it was that released the wait?     for instance...

View Article

Tracing internal signals declared in sc_module using sc_trace

I have a sample systemc program wherein temp is declared as a sc_signal and the rest of the signals are declared as input/output ports. SC_MODULE(clk_dut) { sc_in clk_in; sc_in reset; sc_out clk_out;...

View Article


Tri-State output port

Hi, I have a simple tri-state output signalsc_out<sc_logic> ctrlout; If I write to it directly compilation fails:ctrlout.write('Z'); // fails The same applies to using a variable:sc_logic...

View Article

Error when trying Clock divider or multiplier circuit using sc_clock

My intention is to devise a clock multiplier or divider circuit based on a reference clock.   //CLOCK DUT //clk_dut.h #include "systemc.h" SC_MODULE(clk_dut)  {   void gen()   {   double ref_clk =100;...

View Article


Multi ports and tagged sockets

In multi ports   we can bind no of initiators to single target socket   init_1 ---- init_2 ----    ------- target_socket  init_3 ----   in tagged sockets what i understood no of interface method calls...

View Article

any flash model available ??

hello ,    I am working on modelling of flash controller ..Are there any flash model available which  which i could use or any any other way i could check my flash controller ????

View Article

Dynamically loading a shared library/object (systemc.so)

Hi,   I have been trying to dynamically load the systemc shared object "systemc.so", but so far without success. Intention is to virtually simulate the systemc kernel within another application.  The...

View Article
Browsing all 595 articles
Browse latest View live