Error : no matching function for call to SC_start
Bonjours,I am new to systemC and i have ubuntu 12.04 and systemc 2.3I was trying to run this example code from this link but there is an error I cant resolve.Can you please help. This is the errors I...
View ArticleSystemC 2.3:valgrind error
Bonjours,I was trying to execute valgrind this example code.But, error message was displayed.Not SystemC 2.2 is error message.What is a cause?・Example code #include <systemc> using namespace...
View ArticleStrange VCD trace error with SystemC 2.2.0
Could some SystemC guru please help ? My questions are with respect to the source file attached at the end. Initially, INSTEAD OF ((vcd_trace_file*)fp)->sc_set_vcd_time_unit(1); I had...
View ArticleIs there any special way to start a clock - SystemC 2.3, 2.2?
Could some SystemC guru please help ? I have in the test harness for a simple master slave JK flip-flop the following clock: sc_core::sc_clock clk("clk", 2.0, sc_core::SC_PS, 0.5); ............
View ArticleHow to make feedback loops work in SystemC
Could some SystemC guru please shed some light on this ? How could I make feedback loops work in SystemC ? Consider the simple JK flip-flop in the attachment. If for each of the NAND gates, I try to...
View ArticleModule name
Hello,assume i have a module "mod" with the following constructor: mod(sc_module_name name, unsigned int id); How can i accessed the module name stored in the variable name to print it out?thanks.
View ArticleSystemC design guidelines
I need some expert idea on defining SystemC modules and classes. Are there any design guidelines on defining SystemC modules, channels and regular C++ classes for the following situations: 1. Define a...
View ArticleJPEG encoder on SystemC
Hello I do JPEG encoder on SystemC. This model should give data from every part of JPEG (DCT and other) at appropriate cycle. Like RTL but without inside structure of every blocks. 1. Will be this...
View ArticleSystemC Guides for Beginners
Personally, I recommend following documents for beginners. You can find them with google.1. A SystemC Primer J. BHASKER2. SystemC 2.0.1 Language Reference Manual Revision 1.03. SystemC Version 2.0...
View ArticleSystemC in Visual Studio 2012
Hi,I'm trying to install SystemC on Microsoft Visual Studio 2012. I downloaded SystemC 2.3.0 and did the steps in this...
View ArticleVCD File Timescale - VCD Trace set_time_unit()
Hello everyone, I have noticed that when using the sc_time_unit (X, SC_US), the timescale in the resulting file is missing. SC_NS, SC_MS work well for example. The time marks are set correctly, only...
View Article__SUNPRO_CC trouble
Hi everybody,I have some trouble understanding why sc_interface.h in systemc 2.3 contains: private: static sc_event m_never_notified; #if __SUNPRO_CC == 0x520 // Workaround for a bug in the Sun...
View ArticleExtract structural information from SystemC
Hi guys,I'm a student, but experienced in c++, however not that much in SystemC. I'm trying to use SystemC to extract information about digital systems.I mean, given a model in systemC, I'd like to...
View ArticleMutex unlock delay in SystemC 2.2.0
Hi,I am creating a RTL simulation model of a chip which involves arbitrating 2 common channels among multiple cores. I have implemented the channels using 1 mutex (sc_mutex) each, one of which any core...
View ArticleDatatypes - Interface SystemC - VHDL
HiI'm working in a project where I must connect a testbench SystemC with a Hardware described in VHDL.So in VHDL side I havea type: TX_LEN_ARRAY is array (0 to 16-1) of std_logic_vector(16-1 downto 0);...
View ArticleTrouble with this addition operation...
I have two sc_bv<256> objects and am trying to add a range selection of each and store the result in a sc_bv<128>. Here is the code sc_bv<256> wdata; sc_bv<256> rdata; // wdata...
View ArticleRestarting Simulation for Batch Runs
I'm attempting to do some performance analysis of a network-on-a-chip I've created in SystemC. To do this, I want to automate multiple simulation runs so that I can find max/min/mean/variance of the...
View ArticleOut of bounds error. SystemC simulation with Modelsim
HiWhen I simulate my SystemC project in Modelsim I get this error: Error: (vsim-6596) Out of bounds: # In process: sc_main/hermes_2d/thread_p_2 @ 872800 ns # ** Fatal: Fatal SystemC error detected,...
View ArticleWhy sc_object menber function trace() deprecated?
Hi,Would you teach?Example, I want to trace sc_in/out/inout and sc_signal of all hierarchy. void all_trace(sc_trace_file *tf, std::vector<sc_object*>& children){ for...
View ArticleWondering about SystemC coding conventions
I am wondering if there is a preferred (official or unofficial) coding and style convention in the SystemC community? I'm talking about things like variable and class names, member data prefixes,...
View Article