Changeset 60 for sources/src/entity.cc
- Timestamp:
- Feb 14, 2017, 11:30:19 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/entity.cc
r59 r60 188 188 } 189 189 cerr << "Internal error : get_equi(" << pointer << ")\n"; 190 abort(); 190 191 exit(11); 191 192 } … … 412 413 } 413 414 } 415 #if 0 416 sc_interface *reg = get_signal (*i); 417 sc_interface *out = get_out_port (*i); 418 if (reg) { 419 std::cerr << "binding " << *i << " to reg " 420 << reg << std::endl; 421 bind_equi_to_table (*i, reg->get_pointer ()); 422 } else if (out) { 423 std::cerr << "binding " << *i << " to out " 424 << out << std::endl; 425 bind_equi_to_table (*i, out->get_pointer ()); 426 } else { 427 reg = get_localvar (*i); 428 if (reg) { 429 std::cerr << "binding " << *i << " to localvar " 430 << reg << std::endl; 431 bind_equi_to_table (*i, reg->get_pointer ()); 432 } else { 433 std::cerr << "binding " << *i << " to index " 434 << index << std::endl; 435 bind_equi_to_table (*i, &(equi_table[index])); 436 index += (i->begin()->data_size_in_bytes() - 1) / sizeof(tab_t) + 1; 437 } 438 } 439 #endif 414 440 } 415 441 }
Note: See TracChangeset
for help on using the changeset viewer.