Changeset 4 for sources/src/systemc.h


Ignore:
Timestamp:
Mar 10, 2008, 12:37:25 PM (16 years ago)
Author:
nipo
Message:

Towards SystemC-2.2 LRM:

  • Implement sc_time with units
  • Have a systemc header with no namespace pollution
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/systemc.h

    r1 r4  
    3838#define __SYSTEMC_H__
    3939
    40 #define SYSTEMCASS_SPECIFIC
    41 //#define SOCVIEW // we can't define SOCVIEW macro because we don't support
    42 //some features like "debug" function
    43 #define STATESAVER_SYSTEM
    44 #define NONAME_RENAME
    45 #define PORT_DEPENDANCIES_ENABLED
     40#include <systemc>
    4641
    47 #include"sc_fwd.h"
    4842
    49 #include"global_functions.h"
    50 #include"sc_nbdefs.h"
    51 #include"sc_ver_ext.h"
    52 #include"sc_module_name.h"
    53 #include"sc_module_ext.h"
    54 #include"sc_module_name.h"
    55 #include"module_hierarchy_ext.h"
    56 #include"serialization_ext.h"
    57 #include"sc_port_ext.h"
    58 #include"sc_signal.h"
    59 #include"sc_clock_ext.h"
    60 #include"sc_sensitive.h"
     43using sc_core::method_process_t;
     44using sc_core::sc_port_base;
     45using sc_core::sc_object;
     46using sc_core::sc_interface;
     47using sc_core::sc_module;
     48using sc_core::sc_module_name;
     49using sc_core::sc_event;
     50using sc_core::sc_event_finder;
     51using sc_core::sc_sensitive;
     52using sc_core::sc_sensitive_pos;
     53using sc_core::sc_sensitive_neg;
     54/////////////////////////////////////////////////
     55// Ports & Signals
     56//
     57using sc_core::sc_time;
     58using sc_core::sc_simulation_time;
     59using sc_core::sc_time_stamp;
    6160
    62 #include"sc_time.h"
    63 #include"sc_unit.h"
    64 #include"sc_trace_ext.h"
    65 #include"sc_vcd_trace.h"
    66 #include"sc_pat_trace.h"
    67 #include"endianness.h"
     61using sc_core::sc_in;
     62using sc_core::sc_inout;
     63using sc_core::sc_out;
     64using sc_core::sc_signal;
     65using sc_core::sc_port_b;
     66using sc_core::sc_signal_base;
     67using sc_core::sc_clock;
     68
     69using sc_core::sc_trace_file;
     70
     71using sc_core::method_process_list_t;
     72
     73using sc_dt::sc_bit;
     74using sc_dt::sc_bv;
     75using sc_dt::sc_logic;
     76using sc_dt::sc_lv;
     77using sc_dt::sc_unsigned;
     78using sc_dt::sc_signed;
     79//using sc_dt::sc_int_base;
     80using sc_dt::sc_int;
     81using sc_dt::sc_uint;
     82using sc_dt::sc_bigint;
     83using sc_dt::sc_biguint;
     84//using sc_dt::sc_uint_base;
    6885
    6986using std::ios;
Note: See TracChangeset for help on using the changeset viewer.