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/global_functions.cc

    r1 r4  
    357357
    358358void
    359 sc_start(double d_val) 
     359sc_start(double d_val)
    360360{
    361361        sc_cycle (d_val);
     
    368368}
    369369
     370void
     371sc_start()
     372{
     373        sc_cycle (-1);
     374#ifdef DUMP_SIGNAL_STATS
     375        print_registers_writing_stats (cerr);
     376#endif
     377#ifdef DUMP_SCHEDULE_STATS
     378        print_schedule_stats (cerr);
     379#endif
     380}
     381
    370382void
    371383sc_start (double       d_val,
     
    378390sc_start( const sc_time& duration )
    379391{
    380         sc_start ((double)duration);
     392        sc_cycle ((double)duration);
     393#ifdef DUMP_SIGNAL_STATS
     394        print_registers_writing_stats (cerr);
     395#endif
     396#ifdef DUMP_SCHEDULE_STATS
     397        print_schedule_stats (cerr);
     398#endif
    381399}
    382400
Note: See TracChangeset for help on using the changeset viewer.