Changeset 27 for sources/src/sc_clock.cc
- Timestamp:
- May 4, 2009, 8:51:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/sc_clock.cc
r1 r27 35 35 */ 36 36 37 #include"sc_clock.h" 38 #include"assert.h" 37 #include "sc_clock.h" 38 #include <cassert> 39 #ifdef HAVE_CONFIG_H 40 #include "config.h" 41 #endif 39 42 40 43 using namespace std; … … 69 72 { 70 73 init (); 71 ASSERT(period_ == 1);72 ASSERT(duty_cycle_ == 0.5);73 ASSERT(start_time_ == SC_ZERO_TIME);74 assert(period_ == 1); 75 assert(duty_cycle_ == 0.5); 76 assert(start_time_ == SC_ZERO_TIME); 74 77 posedge_first = posedge_first_; 75 78 } … … 82 85 { 83 86 init (); 84 ASSERT(period_ == 1);85 ASSERT(duty_cycle_ == 0.5);86 ASSERT(start_time_ == SC_ZERO_TIME);87 assert(period_ == 1); 88 assert(duty_cycle_ == 0.5); 89 assert(start_time_ == SC_ZERO_TIME); 87 90 posedge_first = posedge_first_; 88 91 }
Note: See TracChangeset
for help on using the changeset viewer.