Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • latest/src/sc_clock.cc

    r27 r1  
    3535 */
    3636
    37 #include "sc_clock.h"
    38 #include <cassert>
    39 #ifdef HAVE_CONFIG_H
    40 #include "config.h"
    41 #endif
     37#include"sc_clock.h"
     38#include"assert.h"
    4239
    4340using namespace std;
     
    7269{
    7370        init ();
    74   assert(period_     == 1);
    75   assert(duty_cycle_ == 0.5);
    76   assert(start_time_ == SC_ZERO_TIME);
     71  ASSERT(period_     == 1);
     72  ASSERT(duty_cycle_ == 0.5);
     73  ASSERT(start_time_ == SC_ZERO_TIME);
    7774  posedge_first = posedge_first_;
    7875}
     
    8582{
    8683        init ();
    87   assert(period_     == 1);
    88   assert(duty_cycle_ == 0.5);
    89   assert(start_time_ == SC_ZERO_TIME);
     84  ASSERT(period_     == 1);
     85  ASSERT(duty_cycle_ == 0.5);
     86  ASSERT(start_time_ == SC_ZERO_TIME);
    9087  posedge_first = posedge_first_;
    9188}
Note: See TracChangeset for help on using the changeset viewer.