where am i check in code which error : port not bound?
Hi. If port not bound code error happened, where am i check in this code which error : port not bound? so confused.
View Articlewhat is sc_initialize()?
Hi As i know, sc_initialize() is just work for systemc scheduler initialize. But i 'm not sure about what for use exactly? Would you please let me know what (why/when) i have to use this?
View ArticleHow to pass modified Template argument to sub module?
I have a top level module with template like this: template <int TOP_DEPTH=10> SC_MODULE(my_top){} And I have several sub modules like this: template <int DEPTH=10>...
View ArticlePractical Use of SystemC
I need to develop a SystemC model for a new (nonexisting) bus architecture, change it whenever needed and investigate its performance with every change. I do not know how to start on that, there is no...
View Articleprimitive channel vs hierachical channel
Hi As i know, there are primitive channel and hierachical channel in systemC. But i'm not sure about should i know both of things? If you can, could you please let me know what thing is used for...
View Articleshould i make by class structure form for user define channel?
should i make by class structure form for user define channel? If no, where i reference that?
View ArticleMulti-threading and SystemC
Hello everyone, I was wondering if I could run in parallel a number of processes from different modules using multi-threading in SystemC. Take into account that these processes make use of SystemC...
View ArticleIs there any way how to make break point in cpp?
Hi I want make break point into systemC OSCI code. I already know about i can use break point in visual c++. But i need that in linux. Is there any way how to make break point in systemC osci code in...
View ArticleWhich one i use for verification both of systemC and UVM ?
Hi I willing to start verification. But i'm not sure which i have to use method whether systemC scv or UVM. Does anyone advice about what am i use and start from systemc or uvm for verification?
View ArticleContext switching
hello , I have a systemC model where i using two independent func ...these function have priority processing .. so i case a higher priority requests comes context swtiching happens with resp to current...
View Articlearray of sc_vector : binding and assembling help
Hi, So I have a submodule having an array of boolean input ports. Now in the top module, I define an sc_vector of the submodule type. Also, I define an array of sc_vector signals to be bound to....
View Articlecreation of dll of systemc
I want to create a .dll during the build of systemc through visual studio 2010 but it reports an error sc_main_main.obj : error LNK2019: unresolved external symbol _sc_main referenced in function...
View Articleend_of_simulation is not triggered
Hi All: I got a given SystemC code running without end_of_simulation called. And I know "end_of_simulation" won't be called if sc_stop is not called. I debug into the code and see following...
View Articlesc_cor_qt::stack_protect
Hello all, I've recently created a vary large model and I have encounted an assertion violation in sc_cor_qt::stack_protect. The mprotect system call returns a -1 value, triggering the assertion....
View ArticleSystemC basics
Hi, I am currently migrating from C++ to system C. I have nested functions in C++ and i need to replicate same behaviour in system C. how can i do that. Below is the mimic of the behavior of the model...
View ArticleSegfault when sc_vector deallocates memory
I am trying to use an sc_vector of modules with a custom creator to pass constructor arguments. It seems to work and run through the entire program, but at exit causes a segfault. GDB shows that this...
View ArticleCould I initialize sc_vector when I defining it?
I try to define a sc_vector like this in SC_MODULE sc_vector<sc_signal<sc_uint<C_WIDTH> > > sDin("sDin", C_SIZE); Then I got this error: expected identifier before string...
View Articleerror: ‘process’ is not a member of ‘host_cntrl::SC_CURRENT_USER_MODULE’
hello all , Getting this error while compiling my system C moduole ... Could anyone explain me what this is ??
View Article