How to handle single-cycle inter-thread depedencies?
I hope this description makes sense. In the model I'm working on (which is a port of an existing model in SystemVerilog), there are two threads (rx and tx) that modify some shared flags. I am working...
View Articleundefined reference to _sc_main.
Hello, I am trying to build my first Hello World project in systemc, under cygwin. I get build error: undefined reference to _sc_main. Please help me how to resolve this problem. I installed...
View Articlesc_int<N>
I get following message when I debug and print a variable of type sc_dt::sc_int<N> &"print integer\n" ~"$4 = {<sc_dt::sc_int_base> = {<No data fields>}, <No data fields>}" I...
View Articlerandomization ???
hello all, How to randomize in SystemC with a different seed generator a 32 bit sequence ??? we wish to a secure randomization algo ..... thanks Mohit Negi
View ArticleHow to terminate unused ports of modules in the port binding?
Hello, does anyone know how to terminate unused ports of modules in the port binding? Like, sc_in<int> ,,,. Much thanks in advance.
View Articlesc_event_or_list compile error in systemC 2.3
I'm using the follwing function. but there is a compile error in systemC 2.3. How to fix it? struct M: sc_module{ sc_port<i_f, 0> p; // Multiport sc_event_or_list& all_events() {...
View ArticleSetup and Hold Time checks in SystemC
Hi, I need to make a timing checks for the input signals of a module (e.g., check set-up and hold times are not violated, check Pulse width). Is there any method which would let me do this. If further...
View Articleconstant to character converter
Hello, Please explain me the meaning of following line: const char * function() const {return "Hello world";} in systemC Thanks with Regards Amit Kumar
View ArticleHow to change the word length of "sc_fix" dynamically? Any examples?
Hello, please let me ask a trivial question. How to change the integer bit length of "sc_fix" variable dynamically after its initialization? As far as I know "sc_fix" variable can be configured...
View Articleeclipse Waveform Viewer for systemc development
Hi everybody, i pretty much like eclipse, but unfortunately there had not been any eclipse based tool that allows to look into the vcd files from systemc output. So i started last year to change...
View ArticleSystemC install clang
How to do install SystemC in clang? I tried to configure error... > $ ./configure CC=clang CXX=clang++ > : > : > > configure: error: "sorry...compiler not supported" configure...
View Articlegcc 4.6.0 warning messages for SystemC 2.2.0
Hi I know people are aware of 2.2.0 compiler warnings, etc for recent gcc versions such as 4.6 or greater and that these have been addressed in SystemC 2.3.0 However, because various HLS synthesis...
View Articlesystemc on netbeans
Hi, everybody. I'm needing use netbeans IDE to develop systemC projects on windows 7. I installed the netbeans 7.3 and the cygwin with gcc 4.8. the systemC already be installed and working normally in...
View Articlemultiple event notifications
Hello All, Following is the rule in LRM of systemC: An earlier notification will always override one scheduled to occur later, and an immediate notification is always earlier than any delta-cycle...
View Articlesc_trace for all sc_signal,sc_in, sc_out
Hi, I have a query regarding sc_trace. Is it possible to have directly get all the signals and ports dumped into the VCD file. I am trying something like this in sc_main: Top top1("top1");...
View Articlestatic and dynamic sensitivity
Hello all, Could somebody explain the difference between dynamic and static sensitivities of processes in SystemC with some example. Thanks Regards Amit Kumar
View ArticleHow to output float from sc_fixed type class, using sc_trace?
How to output "float (double)" from sc_fixed type class using sc_trace? I have an existing model (all in floating point design, using "sc_signal<double>"), and am trying to convert it to its...
View Articlesystemc examples ??
/***************************************************************************** The following code is derived, directly or indirectly, from the SystemC source code Copyright (c) 1996-2006 by all...
View ArticleSystemC simulation Kernel scheduling
Hello All, Please elaborate the systemc simulation kernel scheduling wrt to following example: Process P1 instruction 1 instruction 2 x.notify(); instruction 3...
View Articlestatic and dynamic processes
Hello all, What is the difference between static and dynamic processes? Regards Amit
View Article