Changes from sources/src/sc_clock.cc at r27 to latest/src/sc_clock.cc at r1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
latest/src/sc_clock.cc
r27 r1 35 35 */ 36 36 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" 42 39 43 40 using namespace std; … … 72 69 { 73 70 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); 77 74 posedge_first = posedge_first_; 78 75 } … … 85 82 { 86 83 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); 90 87 posedge_first = posedge_first_; 91 88 }
Note: See TracChangeset
for help on using the changeset viewer.