Modifications applied to SystemC
[SystemC related code]


Files

file  pinapa-bypass.h
 Bypass the SystemC simulator.
file  pinapa-sensitive.h
 Complement for SystemC sc_sensitive.h.
file  sc_interface.h
 SystemC interfaces

Added decoration to sc_interface, and Pinapa related include.

file  sc_port.h
 SystemC port base classes.

Added a function get_interface_not_const() Added a friend keyword.

file  sc_signal.h
 SystemC signal

Added some code to manage initialisation.

file  sc_signal_ifs.h
 SystemC signal interfaces

Added some code to manage initialisation.

file  sc_signal_ports.h
 SystemC ports for signals

Removed a reference (&) in the arguments of the write method.

file  sc_module.h
 SystemC modules

Added some awful macro hack to get back the name of modules.

file  sc_object.cpp
 SystemC objects

Added:

  • Updates parent field (backward compatibility)
  • Initialisation of the field pinapa_decoration.

file  sc_object.h
 SystemC objects

Added

  • a friend keyword.
  • a pointer to the parent.
  • the field sc_object::pinapa_decoration.

file  sc_process_b.h
 SystemC process: base class

Pointers to keep the name of the process and of the module, and a link to GCC's body.

file  sc_process_table.h
 SystemC process table

File added. (Source comes sc_simcontext.cpp).

file  sc_sensitive.h
 Sensitivity list for a SystemC process.

By default, SystemC was keeping the list of sensitivity in ports. When an event was triggered in a signal, the corresponding process was waken up. This is a link port --> process.

file  sc_simcontext.cpp
 SystemC simulation context.

  • Moved some code to sc_process_table $$ FSR
  • Replaced the body of sc_start by pinapa::parser_start()
  • One message in addition to the copyright.

file  sc_simcontext.h
 SystemC simulation context

Just a friend keyword added.

file  systemc.h
 SystemC main include file

Added a include.


Detailed Description

The SystemC library has been written to be used for simulation. Internal data is hidden, and some information is lost. For this reason, the library itself has been slightly modified to be useable by the additional code of the front-end.

Compiling the modified version of SystemC.

First, you have to set the right path in the file make/Makefile.config. Then, run

  make sc-patch && make sc-configure && make sc-make.
  

Be warned that SystemC uses automake and aclocal version 1.4. You should have them installed, and in front of your $PATH to be able to compile it.

Generated by
Matthieu Moy <Matthieu.Moy@st.com>
Back to Pinapa Home Page