Runtime warnings
Hello everyone, I've built a little system in SystemC, which compiles without errors. But when I run the simulation, I get (besides a seg fault, which I will debug) the warnings: Warning: (W505) object...
View ArticleCompiling SystemC 2.3.1 on Debian 8.5
Hello all, I just try to install the systemC 2.3.1 library on a debian system (Version 8.5 64 Bit) which is running on a virtual box. The configure process seems to be ok, but I got several errors...
View ArticleError: (E513) an sc_module_name parameter for your constructor is required
Hi all, I have a problem with my assignment. I have "General_Register" class, this class has constructor which will receive arguments: General_Reg(sc_module_name reg_Name_, sc_uint<N>...
View ArticleOutput of systemC
Hi all, Suppose I have a Module which has 2 processes (SC_CTHREAD) T1, T2, and a shared signal as the follows: sc_signal<int> a; void T1() { wait(); while(true) { a = 1;...
View ArticleMemory footprint and unique names for sc_objectS
Hi all, In the context of a very large hardware design simulated in SystemC, we faced some issues with the large footprint of our simulator. After deep and long memory profiling we identified a...
View ArticleHow can I control counters within a for loop with a control signal in a...
Hello, I'm writing a module in SystemC which basically works as follows: it receives a string of bytes through a port p_in and a control signal through the port h. The module must save the bytes within...
View ArticleProblem to copy a matrix within other one
Hello, I'm coding an SC_THREAD where I receive a flux of pixels which is saved within a buffer called image_buffer. This buffer is of size 3 lines x 720 columns. What I'm trying to do is that when the...
View ArticleA question about SC_METHOD and SC_THREAD
Hi all, I am a novice in systemC. When I learn about systemC from examples, I find that SC_MODULE will be used for combination logic and SC_THREAD will be used for sequential logic. Why is it? Can you...
View ArticleSC_REPORT_* Confusion
I am a bit confused about the correct usage of the SC_REPORT_* macros. In "sysc/kernel/sc_simcontext.cpp" we have: SC_REPORT_INFO("/OSCI/SystemC","Simulation stopped by user."); The above is helpful...
View Articlebug in sc_reset::reconcile_resets()
I didn't find an efficient bug report entrance so I decided to post it here to see whether people think this is a bug or not. I'm trying to use Ralph's solution to reset the sim context (see...
View ArticleSystemC clock time period
Hi All, How to know the time period of clock in design module at ZERO simulation time i.e at end of elaboration .Is their any API is available to know it ?? Thanks & Regards Pruthvi Reddy
View Articlehow to make my signal accept many writers
Hi, I have some situations in my models where I have to write a signal from different drivers. To avoid 'multiple drivers to a signal' error I add SC_MANY_WRITERS flag. Is there any way to allow...
View ArticleSegmentation fault whe using delayed sc_vector initialization
I am trying to code a very generic module that takes the number of elements of a sc_vector of sc_in from an argument. This module looks like: transformation_arbiter.h using namespace sc_core; using...
View ArticleProcessing core design using systemc
Dear all, can any one give me some guidance...I want to design a processing core like any general purpose processor and want it to execute real time program code...like it will have its own instruction...
View ArticleWeird SystemC Context
Hi, I have some models built against SystemC-2.3.1. During simulation, I get an error telling me "in SC_METHODS use next_trigger() instead". I set a breakpoint there, and check cpi->kind. It's...
View ArticleError: (E100) port specified outside of module
Hi all, I have a problem with my project Error: (E100) port specified outside of module: port 'RXDi' (sc_port_base) In file: ..\..\src\sysc\communication\sc_port.cpp:231 this is my codes #include...
View ArticleHow can I pass definition in command line into sc_main
I have got an error when I was running a test. My bench has been constructed by system C on cadence incisive 14.20. The run command is like this: irun -sysc -uvmtop "SC:top" -top dut -f list.f...
View Articlewhy could "sc_signal_resolved" not be resolved (eclipse IDE, ubuntu)
I am new to systemc in ubuntu 14.04 and I am trying to setup up eclipse for a systemc small project. I followed the the provided README in systemc-2.3.1 and the INSTALL to install the library. I then...
View Articleport concatenation during instantiation inside constructor
Hi, I have three modules A,B and C. I want to integrate these three modules inside TOP module constructor. Now module A has one port sc_out<<sc_uint<2> > out; module B has one...
View Articledelay data on sc_in with clock
Hi, I have a module. My module has two port: sc_in_clk SCKi sc_in<sc_bv<12>> RXDi and has a process:...
View Article