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

suspend/resume vs wait(e)

hello all , i am just started to use sc_process_handler and the suspend/wait  usuage is somewhat similar to wait(e) (ignoring its implementation w.r.t schedular) ... as i see that from the usuage point...

View Article


sc_process suspend/resume and disable/enable confusion

for suspend/resume #include "systemc.h" class test : public sc_module { public : sc_process_handle t ; SC_HAS_PROCESS(test); test(sc_module_name){ SC_THREAD(run); t = sc_get_current_process_handle();...

View Article


SystemC supporting several instances of a simulation in one application

We have some different use-cases where SystemC models have to be created dynamically during application life time. According to our understanding, this is not officially supported.   Our workaround is...

View Article

Problem in install SystemC 2.3.0 on Ubuntu 14.04

hello,   I want install SystemC 2.3.0 in my Ubuntu 14.04 (64 bit),and enter these below commands:   mkdir objdir -> cd objdir -> export CXX=g++ -> ../configure -> make   when i enter "make"...

View Article

sc_vector and sc_event_queue

Hello,   I am trying to use the following structure to set up a set of event queues: sc_vector<sc_event_queue> event_lists; and then have the following structure within my module...

View Article


error107

while running a systemC program I get an error  Error: <E107> bind interface to port failed: type mismatch on port 4 of module 'communication_interface'   What does this mean?

View Article

Difference between these simulators

Difference between these simulators Hi all. What are the difference between these simulators (OSU Abakus 1.0 ,OSU SystemC and OSCI SystemC) and how I can download it ? Thank you.  

View Article

Why is length() not a static method on the sc integer types?

Hello all,   I am writing some template code which manipulates some SystemC values, and I came across a place where I am having problems deducing the bit-width of an sc_uint.  In looking over the...

View Article


Complete systemc API documentation

Respected Friends and Elders, could anybody tell me from where I can find the complete API documentation of systemc libraries??

View Article


wait(e1||e2) issue ??

hello ,   I have a problem here where i am using wait(e1||e2) now when it comes out of this wait statement i have to perform some functionality when e1 is triggerred and some functionality when  e2...

View Article

sc_signal not updating to its new_value

Dear All,   I created a class BusAssembly, which basically contains a matrix of sc_uint<>, and I provided it with operator= , ==, >> and sc_trace.   In a simple sc_main I defined some...

View Article

SystemC vcd trace file cannot display the waveform

Hi All,  I am starting the practical implementation of systemc code for 4 bit counter using d flip flop. It works properly as it is, But the problem is with the vcd trace file. The main module produces...

View Article

UVM-SystemC Availalability

Hi, I am aware that there is a proposed LRM and proof of concept implementation of UVM-SystemC. However, I cannot find any downloads on Accelera website - is it only available to Accelera Members, or...

View Article


sc_report_handler

Hi,   Do you know where I can find some examples about the sc_report_handler ? I would like to know the possibilities offered by this class.   Thanks, Mathieu

View Article

Float number to bitfield

Hello,     firstly I would like to tell that I am totally new in SystemC, but have some experience in VHDL (6 months I have been designing and learning in it). Now I have jumped from VHDL to designing...

View Article


Issue regarding Linux centos 6.5 i686 architecture

Hi all,   I'm facing problem in Centos i686 architecture .I'm installed Systemc-2.3.1 according to i686 architecture .It's compiling fine but while running it's giving segmentation Fault (core dumped)...

View Article

Combining SystemC with SystemC AMS

I have a question which probably is quite stupid. I developed a Software in the Loop framework in SytemC. This framework is supposed to call in specific discrete time instants some modules to execute....

View Article


Method to write to struct elements

Hi All, A basic C++ question, how can I add a method to the class below so that I can write to individual elements? sc_signal<class des_struct> xyz,abc; abc.write(xyz.read());  // works fine...

View Article

Image may be NSFW.
Clik here to view.

sc_signal event

Hi Guys,   Is there a way to cancel the event which results when we write on a signal. In the following code every time when I am writing on a signal, I also cancel the event on the next line but still...

View Article

Image may be NSFW.
Clik here to view.

sc_event_and_list/sc_event_or_list usage ??

Hello , i have a scenario like this thread1 { while(1)     e1.notify(); }   thread2{ while(1){    wait(e1); } }   know thread 1 leaves control after two loop i.e after two event notify now i want...

View Article
Browsing all 595 articles
Browse latest View live