Changeset 42 for sources/src/global_functions.cc
- Timestamp:
- Aug 24, 2009, 1:12:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/global_functions.cc
r36 r42 98 98 const equi_list_t &el) 99 99 { 100 101 102 103 104 105 106 107 100 equi_list_t::const_iterator i; 101 for (i = el.begin (); i != el.end(); ++i) { 102 equi_t::const_iterator j; 103 for (j = i->begin (); j != i->end (); ++j) { 104 if (j->kind () == sc_clock::kind_string) 105 c.insert ((const sc_clock*)j->object); 106 } 107 } 108 108 } 109 109 … … 234 234 #endif 235 235 236 236 link (lib_absolutepath); 237 237 } 238 238 … … 277 277 else 278 278 pending_write_vector = (pending_write_vector_t) realloc (pending_write_vector, sizeof (pending_write_t) * pending_write_vector_capacity); 279 279 280 280 // create the clock list 281 281 clock_list_t clock_list; … … 295 295 // Check if any constructor wrote into registers 296 296 if (pending_write_vector_nb != 0) 297 298 299 300 301 302 303 297 { 298 cerr << "Error : Register/Signal writing is not allowed before sc_initialize.\n" 299 "Move initializations from constructors/sc_main to module reset sequences.\n"; 300 // we are unable to dump register(s) name(s) 301 // because the table binding is not yet completed. 302 exit (24); 303 } 304 304 305 305 string base_name = get_scheduling (scheduling_method);
Note: See TracChangeset
for help on using the changeset viewer.