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

error: no match for 'operator=' in 'u_adder.adder::p_in = 13'

...

View Article


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 Article


what 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 Article

How 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 Article

Practical 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 Article


primitive 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 Article

should 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 Article

Multi-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 Article


Is 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 Article


Which 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 Article

..

...

View Article

Context 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 Article

array 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 Article


creation 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 Article

end_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 Article


sc_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 Article

SystemC 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 Article


Segfault 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 Article

Could 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 Article

error: ‘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
Browsing all 595 articles
Browse latest View live