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

sc_port get_interface() method

Hello   1. In IEEE doc @112, I see the following Because the time at which deferred port binding is completed is implementation defined, it is implementation defined whether get_interface returns a...

View Article


quickthreads vs fibers (linux vs windows) performace

I've noticed that SystemC uses different thread libraries depending on OS: quickthreads on linux and fibers on Windows. Which one is faster? Did someone benchmarked wait-heavy SystemC simulations on...

View Article


Compiling SystemC 2.3.1 on Fedora 23

Hello!   I'm currently trying to compile SystemC 2.3.1 on Fedora 23. My basic procedure is: First, invoke ./configure, then make. Unfortunately, I run into an error there, for which I cannot find any...

View Article

Image may be NSFW.
Clik here to view.

Problem with the case statement

Hello there,  Am trying to implement binary to gray converter using simple case statements. When I try to execute, only the first statement of the switch case is being executed.    Here's my gtb.cpp...

View Article

Dynamic communication path in SystemC/TLM

Hi,   To create a dynamic process we have to use sc_spawn function, I want to know if it is possible to create a dynamic port ? else, how we can create a dynamic communication path between two...

View Article


-D_GLIBCXX_DEBUG makes systemc-2.3.0 crash

Hi,   Sorry for posting that here as I guess this is not the usual bug report tool, and also sorry if this is a duplicate. I have tried to look for this issue on the forum, but could not find....

View Article

sc_signal & Operator

Hi,   I want to pass a sc_signal (the reference of one) of any type to a class as a CTOR-argument. Since i found out, that the &-Operator of the class sc_signal<T> is overloaded, so i don't...

View Article

sc_fxnum_observer

Hi,   Can someone show me how to use sc_fxnum_observer class to watch for saturation, roll over etc in objects like sc_fixed?   Thanks, Sam

View Article


How can I derive a SystemC class from another SystemC class?

Is it possible to define a SC class as a derivative of another SC class? For example, a simple D-Flipflop (latch) implementation will have d and clk inputs and a q output. I want to define an...

View Article


Where are code examples from "System Design with SystemC" book?

Can someone please point to where I could find the example code from the book "System Design with SystemC"  by Thorsten Grötker , Stan Liao et al Kluwer, 2002?    This book mentions the example code is...

View Article

Process doesn't get triggered

Hello, I simply don't get why the process axi_run() doesn't get triggered a second time. Here are all relevant(hopefully) code snippets: template<class T, unsigned int BUSWIDTH>...

View Article

SCBuilder SystemC IDE

Hi all, I have written a simple Windows SystemC IDE called SCBuilder.http://www.ht-lab.com/scbuilder.htm The basic idea is to have a dedicated SystemC IDE which allows the user to create...

View Article

SwitchToFiber called on NULL-pointer

Hello! I'm using Visual Studio 2015 to simulate my design. When it reaches a specific size, it throws an exception due to dereferencing a NULL-pointer inside SwitchToFiber. Is there a way to tweak the...

View Article


Image may be NSFW.
Clik here to view.

Skipping this library for "sccom-link"

 Hello Sir,   I am new to the integration of SystemC and UVM components using UVMC library from Mentor. I have compiled the separate library for uvm and uvmc connect library. But with the same target....

View Article

Newbie sc_signal<class T> creation problem

Hi, I'm a newbie with systemc and using it for design. I want to implement a class representing a generic register file which requires a mandatory parameter NUM_REGS in its constructor. I want to then...

View Article


Selling tool written in SystemC 2.2.0

Hi everyone,   During the past years I've developed a very nice simulator in SystemC 2.2.0 and now, since I've some clients interested in using the tool, I would like to sell it.   Basically the idea...

View Article

how to get full hierarchical instance name inside systemc module?

Hi,   In my design I have one module instantiated 3 level down the hierarchy from sc_main. And I want to get the full hierarchical path inside that module as I have to generate different files based on...

View Article


Is dynamic and Static process scheduling differs?

Hi All,   I have below doubts could you please help;   We have two process 1. one with static sensitivity (a,b,c are input ports)   SC_METHOD(P1); sensitivity<<a<<b<<c;   2.second...

View Article

thread

hi,      In systemc is in possible to invoke the same function using multiple threads ? like in c++:   std::thread th1 (print_block,50,); std::thread th2 (print_block,50,);

View Article

error in systemc.h 118:16 error std::gets is not declared using std::gets

hi , I have updated my gcc compiler to 4.9 version . now when I compile my system C model with g++14 compiler option enabled ,it is giving this error in systemC header file systemc.h 118:16 error...

View Article
Browsing all 595 articles
Browse latest View live