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

Can we write RTL(Register Transfer Level) using SystemC?

Hi ,   Recently I have studied that SystemC can be used To model High level functional models to detailed clock cycle accurate RTL models.   If any company done like this then the they can save the...

View Article


Modeling of Timer in Systemc

Hello All,   I need some strong suggestion regarding modeling of TIMER. I am new in systemc.   Want to know what are the things a best model should consist of and how its modeling should be done ?...

View Article


Problem in TLM READ command

Hi all,   I'm getting problem in TLM read command .Please check the code once is am doing right ?Then why it's not reading correct value's?     In read function.....i'm going through b_transport.......

View Article

sensitivity list in systemc

Hi   I am thinking of moving from verilog to systemc for hardware design. I have a question about sensitivity list: When I am implementing a logic cloud (not clocked) in verilog, I use the "always @*...

View Article

SystemC - Inconsistent result

Hello all,   I'm simulating MOESI protocol for L1 caches in SystemC. I'm getting different results for the same source code when running in SystemC 2.3.0 and SystemC 2.3.1 versions in different...

View Article


All SC_METHOD() not running parallely

Hi All,   I am a novice in systemC. I am having some doubts in using SC_METHOD().   I am building a network simulator in systemC. And from each node there are about four channels. I want the four...

View Article

make check failure while installing SystemC

Hi,   I am running cygwin64 on windows 8.1 machine. I am running into below failure while running "make check" while installing SystemC on my machine. Can some one help me?   PASS: rsa/test.sh...

View Article

Modeling packets age using sc_time_stamp()

The time at which a packet is generated is stored in the header of the packet. The header allocates only 32 bits for this timestamp. For any variable of type sc_time T_start,...

View Article


how to wait on multiple timed events and determine the event

I am fairly new to SystemC and am looking for a better way to solve my problem.   In my simulation, I have a set of "resources".  I also have a process that accepts requests (using a sc_fifo) and if...

View Article


Error <E533>

Hi   I have two modules and they look as follows:     class Derived: public Base,public sc_module { ... .... ...   Derived(sc_module_name  name):sc_module(name){} };     SC_MODULE(Mysystem) { .......

View Article

Advise on Multiple Driver problem

Hi all     I am trying to build a Statemachinefor different tasks that is given as input:   To be more specific, i have different states like Not_ready, ready, running which would do some operations...

View Article

TSSim - Simulation framework for MPEG or DVB transport streams

Hey there   We've developed a small simulation framework using SystemC to allow simulation of MPEG or DVB transport stream decoding. It is able to simulate the complete chain: receive -> demultiplex...

View Article

Is there any simple Makefile template for both SystemC and SCV examples?

I start to learn SystemC and SCV. But I don't have much experience on complex Makefile as the one provided in the install package by SCV.   It is too hard for me to understand who the files are really...

View Article


SC_FIXED and UVM ML Packer

Hi, I am trying to use SC_FIXED in a UVM ML environment, but the uvm_packer.h doesn't support sc_fixed.   virtual uvm_packer& operator << (bool a);   virtual uvm_packer& operator <<...

View Article

sc_event_or_list - identify notified events

Hallo,   I have a SC_THREAD which has a dynamic synchronization.  I use a sc_event_or_list as the wait-function argument. void notifyForGeneratedOutPix(void) { using namespace std; while (true) {...

View Article


Using a shared object file

Hi, I am new to systemc and I require systemc 2.2 for my project. After installation of systemc, I could see only libsystemc.a file in the lib-linux64 folder whereas I was expecting a .so file. Is this...

View Article

Architectural Exploration

What is SystemC ? Roughly I think it's a language or more specifically a library useful to create software representation (not synthesizable) of an hardware at an abstarction level higher than RTL (-...

View Article


segmentation fault in sc_core::sc_process_b::semantics

Hi,    I have a complex design that consists of  multiple static and dynamic (spawned) process. I am getting a segmentation fault in sc_core::sc_process_b::semantics function at run time (probably at...

View Article

connect 12 bit to 16 bit

Hi I want to design basic computer with systemc and I faced a problem in my code. The common bus of yhe basic computer is 16 bit and the address register is 12 bit. When i instantiate address register...

View Article

assign one bit of 8 bit form signal to one bit signal

Hi i define this signals sc_signal< sc_lv <8> > ctrl; sc_signal< sc_bit> ctrl_ac; and i want to assign bit 0 ctrl to ctrl_ac but i dont no how i can do it ctrl_ac = ctrl[0];  please...

View Article
Browsing all 595 articles
Browse latest View live