Changeset 62 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/src/RegisterFile_Multi_Banked.cpp
- Timestamp:
- Dec 4, 2007, 2:31:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/RegisterFile_Multi_Banked/src/RegisterFile_Multi_Banked.cpp
r57 r62 85 85 sensitive_neg << *(in_CLOCK); 86 86 for (uint32_t i=0; i<_param->_nb_port_read; i++) 87 sensitive << *( in_READ_VAL [i]) 88 << *( in_READ_ADDRESS [i]); 87 { 88 sensitive << *( in_READ_VAL [i]); 89 if (_param->_have_port_address == true) 90 sensitive << *( in_READ_ADDRESS [i]); 91 } 89 92 90 93 #ifdef SYSTEMCASS_SPECIFIC … … 93 96 { 94 97 (*(out_READ_ACK [i])) (*( in_READ_VAL [i])); 98 if (_param->_have_port_address == true) 95 99 (*(out_READ_ACK [i])) (*( in_READ_ADDRESS [i])); 96 100 (*(out_READ_DATA [i])) (*( in_READ_VAL [i])); 101 if (_param->_have_port_address == true) 97 102 (*(out_READ_DATA [i])) (*( in_READ_ADDRESS [i])); 98 103 } … … 109 114 sensitive_neg << *(in_CLOCK); 110 115 for (uint32_t i=0; i<_param->_nb_port_write; i++) 111 sensitive << *( in_WRITE_VAL [i]) 112 << *( in_WRITE_ADDRESS [i]) 113 << *( in_WRITE_DATA [i]); 116 { 117 sensitive << *( in_WRITE_VAL [i]) 118 << *( in_WRITE_DATA [i]); 119 if (_param->_have_port_address == true) 120 sensitive << *( in_WRITE_ADDRESS [i]); 121 } 114 122 115 123 #ifdef SYSTEMCASS_SPECIFIC … … 118 126 { 119 127 (*(out_WRITE_ACK [i])) (*( in_WRITE_VAL [i])); 128 if (_param->_have_port_address == true) 120 129 (*(out_WRITE_ACK [i])) (*( in_WRITE_ADDRESS [i])); 121 130 (*(out_WRITE_ACK [i])) (*( in_WRITE_DATA [i]));
Note: See TracChangeset
for help on using the changeset viewer.