need setting LD_LIBRARY_PATH manually before running systemC models
Hi, I am working on Assertion Based Dynamic Verification of SystemC models. To expose some states of the kernel to the runtime monitors I am doing some minimal modification to the SystemC-2.3.0...
View ArticleSystemC for bare metal
Hello, Is it possible to compile SystemC for any Processor for bare metal without the needed user space with threading of an OS? So in other words is it possible to include the pthreads into a bare...
View Articlecoredump using kill() in SystemC 2.3 with clang
When using clang++ (version 3.1 under cygwin/Windows) and SystemC 2.3, I get a coredump when killing a dynamically spawned process. The message is: terminate called after throwing an instance of...
View ArticleSystemC/TLM Debian packages
Unfortunately SystemC is not in the Debian repository, so no deb package, so no easy way to install on most Linux systems. Reason for this seem to be licensing problems ("choice of venue" clause)....
View ArticleUser defined systemc port
Hello guys, I'd like to have an input port whose type is user defined. In the code below, I'm trying to use the user defined class mem_req_c as the input port type. SC_MODULE(req_buffer_m) {...
View ArticleBinary string to sc_bv
I am trying a convert a string to a bit vector but unable to do so.Aim is to directly store the string as bit vector into Memory.Part of code://<required libs declared>//..//string...
View ArticleQuickThreads for ARM
Hello as apfitch did on his blog Half Fact http://apfitch.wordpress.com/2012/08/30/systemc-on-a-raspberry-pi/, I tried SystemC on an ARM platform. It works reasonably based on pthreads making it...
View ArticleEnumeration tracing
I'm trying to keep track of an enumeration... the code is pretty simple: public: enum req_type_t { DMA_WRITE, DMA_READ, LAT_WRITE, LAT_READ,...
View ArticleAssigning value to parametrized signals
Consider the following signal: sc_signal<sc_lv<size> > aux; Suppose "size" is something passed to the module through the use of template parametrization. How can I set the value of...
View ArticleInstantiating N submodules (N is a template parameter)
I'll give a brief example of what I intend to to: template <int N> SC_MODULE(request_scheduler_m) { subblock subblock[N]; void proc(); SC_CTOR(request_scheduler_m) {...
View ArticleManchester decoder
Hi All, I need a manchester decoder implementation in SystemC, could you provide a link where i can see some examples..Thanks! Greetings, Joe
View Articlebenifits of sc_export over sc_port
in my understanding, in sc_export channel is pulled inside the module, what is the advantage of sc_export in this case?
View ArticleHow to extract port connectivity
Hello, I would like to determine port connectivity after elaboration. For example, I want to put code inside an SC_MODULE that would find the names of other ports that are connect to this module....
View ArticleError while installing systemc-2.3.0
Hello I am installing systemc-2.3.0 package by following the steps given in INSTALL file in the package. I am getting following error after "make" command. Making all in srcmake[1]: Entering directory...
View Articlesc_signal v/s sc_buffer
Hello All, It would be really appreciable if anyone could authenticate my learning on difference of sc_signal and sc_buffer? I have found many differences mentioned below , please check and add if...
View ArticleSegmentation Fault
What is the meaning of segmentation fault?What is the reason of this fault?
View ArticleSegmentation Fault
What is the meaning of segmentation fault?What is the reason of this fault?
View ArticleSystem C wrapper for Java?
Has anyone built a SystemC wrapper for Java code so that the development can be done in Java, but fit into a SystemC IP deliverable?
View ArticleApproach for SOC Modeling
Hello All, I am wondering for the approach that should be followed to model an SOC? I know this is the huge topic. But my question is? For an instance, I want to model an SOC for a Hearing aid...
View Articlesc_int vs sc_fixed behaviour
I found that sc_fixed's rounding behaviour is not consistent with my understanding. For example: sc_fixed<10,10,SC_TRN,SC_WRAP> a; sc_int<10> b; I expect a and b should behave the same...
View Article