Ignore:
Timestamp:
May 4, 2009, 8:51:56 PM (15 years ago)
Author:
buchmann
Message:

SystemCASS now uses autoconf/automake to build the API. Regression tests still
use the old Makefiles.
(thanks to Nicolas Pouillon)

The library directory no longer is "lib-arch-system". The directory now is "lib-linux". Everyone needs to pay attention about SYSTEMCASS environment variable.

Changes:

  • system header includes
  • Add includes to config.h (generated by autoconf/automake)
  • test:
    • linux preprocessor macro instead of _WIN32
    • CONFIG_DEBUG instead of DEBUG

Removes:

  • Makefile
  • guess_endianness.cc
  • guess_os.sh
  • assert.h (we now use standard assert.h)
  • Options.def
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_port_ext.h

    r17 r27  
    1515
    1616// Define registers writing method
    17 #include<iostream>
    18 #include<cstdlib>
    19 #include"sc_fwd.h"
    20 #include"sc_nbdefs.h"
    21 //#include"sc_event_finder.h"
    22 #include"sc_event.h"
    23 #include"sc_object.h"
    24 #include"sc_interface.h"
    25 #include"internal_ext.h"
    26 #include"port_dependency_ext.h"
    27 #include"fsm_rules.h"
     17#include <iostream>
     18#include <cstdlib>
     19#include "sc_fwd.h"
     20#include "sc_nbdefs.h"
     21//#include "sc_event_finder.h"
     22#include "sc_event.h"
     23#include "sc_object.h"
     24#include "sc_interface.h"
     25#include "internal_ext.h"
     26#include "port_dependency_ext.h"
     27#include "fsm_rules.h"
    2828
    2929
     
    5454        ///////////////////// DEPRECATED
    5555// C ANSI-only since it is needed to link with extern "C"
    56 // this declaration is not in casc.h since the CHECK_FSM_RULES macro
     56// this declaration is not in casc.h since the CONFIG_CHECK_FSM_RULES macro
    5757// is not defined.
    5858
     
    184184                << " on signal " << name () << "\n";
    185185#endif
    186 #ifdef CHECK_FSM_RULES
     186#ifdef CONFIG_CHECK_FSM_RULES
    187187        if (casc_fsm_step == GEN_MOORE) {
    188188                std::cerr << "FSM rules error : trying to read on input port '"
     
    294294                << " on signal " << name () << "\n";
    295295#endif
    296 #ifdef CHECK_FSM_RULES
     296#ifdef CONFIG_CHECK_FSM_RULES
    297297        if (casc_fsm_step == GEN_MOORE) {
    298298                std::cerr << "FSM rules error : trying to read on input/output port "
     
    316316            << " on in/out port (writing into a signal) '" << name () << "'\n";
    317317#endif
    318 #ifdef CHECK_FSM_RULES
     318#ifdef CONFIG_CHECK_FSM_RULES
    319319        if ((casc_fsm_step != GEN_MOORE) && ( casc_fsm_step != GEN_MEALY)) {
    320320                std::cerr << "FSM rules error : trying to write on output port "
     
    325325#endif
    326326//      T& ref = *(T*)(get_pointer());
    327 #if defined(CHECK_MULTIWRITING2PORT)
     327#if defined(CONFIG_CHECK_MULTIWRITING2PORT)
    328328  check_multiwriting2port ();
    329329#endif
Note: See TracChangeset for help on using the changeset viewer.