sc_fxcast_switch in class
I am trying to implement float and fixed and point computation using the same code using sc_fixed<> and type casting sc_fxcast_switch(). For this, I created a class template and added the type...
View ArticleSystemC Model Verification Enviornment
Hello All, I would like to understand that as per the HDL's there HVL's and further UVM,OVM for the verification of RTL design. Does for SystemC model verification there also exits certain...
View Articlesc_lv with a variable width
Hello, How can i plz define an sc_lv with a variable width ? Thank you for your help
View Articlesystemc data types without sim kernel?
Is it possible to use only systemc data types without including the simulation kernel? Thanks Sam
View ArticleHas any one ever met problems with 'ld' of 'binutils-2.22'
I have met a few cases that can pass simulation with 'binutils-2.17' and 'binutils-2.20.1'. But failed with 'binutils-2.22'. The gcc version is 4.6.3. It seems that 'binutils-2.22' must be used with...
View ArticleWhy SystemC and who uses it ???
Hello All, I know it sounds very odd "Why SystemC and who uses it ???". But yes its true, I really want to know this. Since I have heard a lot for SystemC, do understand it, learned and explored...
View ArticleIncomplete core dump
I have a systemc model that is crashing (I instantiate several submodules, its hard to find exactly where the problem is just by looking at the code). The core is being dumped but it is "incomplete"....
View ArticleEclipse Windows with SystemC 2.3.0
HI The issue is most probably related to earlier post: SystemC in Visual Studio 2012 I am working on x64 Windows on 64-bit intel core 2 duo processor For development I have Visual Studio 2010...
View ArticleOSCI Standards
Hi everybody there , I have a "stupid" request i had downloaded a tutorial that request to go under “Downloads->OSCI Standards in the systemc website but when i got there i can't find OSCI...
View ArticleSchool for SystemC, SoC Architecture in India
Hello Everyone, Please suggest me any school, institute, company etc which could provide the training, project etc for providing vision, good practical fundamentals in SoC Architecture, SystemC-...
View Articleuse of events vs flags
To make dependency of number of things on each other I can use Events and flags. Like b/w modules we should use events and in single module to make dependent processes to each other we would use...
View Articledynamic variable size ???
Hello all, i wish to have a variable whose size i can decide on the fly or dynamically .... could anyone help me this using systemC ... could anyone help me understand "sc_fxval " ?? Thanks Mohit
View Articletlm_generic_payload
Hi guys, 1)tlm_generic_payload *trans; in the above line we are making object of payload. but instead of this trans is having some meaning in TLM? please brief the idea 2)what is the...
View Articlecalling systemc wih mexFunction
Hi, We have been experimenting with wrapping SystemC sim with mexFunction so that it can be called within Matlab. What we find is that repeat calling of the mexFunction causes memory leak as if...
View ArticleDifference Between wait (SC_ZERO_TIME_STAMP()) and wait (0,SC_NS)
Hello Everyone, I am new to SystemC , please help to understand the difference between wait (SC_ZERO_TIME_STAMP()) and wait (0,SC_NS) ? Thanks and Regards, Deepika Rajput
View Articlemissing proxy to automatically cast an sc_bv element to a bool?
Hi all, I'm using a bit-select of a sc_bv in an expression, something like this: sc_bv<8> mybits; ... if (mybits[0].to_bool()) // do something Sure this works, but I'm not so happy with...
View ArticleBlocking call in SystemC METHOD kind process
Can I use blocking system call of kernel, In systemC METHOD process, More specifically suppose I wanted to use mutex lock call on unix system. pthread_mutex_lock is a blocking call, and I am using it...
View ArticleProblem with CTHREAD methods
I have a design where a producer and a consumer are connected together through a simple packet interface. The consumer thread is just executed once. I did not understand what is wrong with it. Here is...
View Article