Changeset 973
- Timestamp:
- Apr 15, 2015, 4:02:06 PM (10 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/modules/vci_xicu/caba/source/src/vci_xicu.cpp
r881 r973 449 449 450 450 #if SOCLIB_MODULE_DEBUG 451 if ( b ) std::cout << "p_irq[" << i << "] = " << b << std::endl; 451 if ( b && !p_irq[i].read()) 452 { 453 std::cout << "[" << name() << "] set p_irq[" << i << "] / " 454 << std::hex 455 << " msk_pti[" << i << "] = " << r_msk_pti[i] << " / " 456 << " pti_pending = " << r_pti_pending << " / " 457 << " msk_wti[" << i << "] = " << r_msk_wti[i] << " / " 458 << " wti_pending = " << r_wti_pending << " / " 459 << " msk_hwi[" << i << "] = " << r_msk_hwi[i] << " / " 460 << " hwi_pending = " << r_hwi_pending 461 << std::dec << std::endl; 462 } 463 if ( !b && p_irq[i].read()) 464 { 465 std::cout << "[" << name() << "] unset p_irq[" << i << "]" << std::endl; 466 } 452 467 #endif 453 468 p_irq[i] = b; -
trunk/modules/vci_block_device_tsar/caba/source/src/vci_block_device_tsar.cpp
r971 r973 33 33 #include "block_device_tsar.h" 34 34 35 #define DEBUG_BDEV 036 37 35 namespace soclib { namespace caba { 38 36 … … 114 112 if (p_vci_target.rspack.read() ) 115 113 { 116 #if DEBUG_BDEV114 #if SOCLIB_MODULE_DEBUG 117 115 std::cout << " <BDEV_TGT WRITE_BUFFER> value = " << r_tdata.read() << std::endl; 118 116 #endif … … 127 125 if (p_vci_target.rspack.read() ) 128 126 { 129 #if DEBUG_BDEV127 #if SOCLIB_MODULE_DEBUG 130 128 std::cout << " <BDEV_TGT WRITE_BUFFER_EXT> value = " << r_tdata.read() << std::endl; 131 129 #endif … … 140 138 if (p_vci_target.rspack.read() ) 141 139 { 142 #if DEBUG_BDEV140 #if SOCLIB_MODULE_DEBUG 143 141 std::cout << " <BDEV_TGT WRITE_COUNT> value = " << r_tdata.read() << std::endl; 144 142 #endif … … 153 151 if (p_vci_target.rspack.read() ) 154 152 { 155 #if DEBUG_BDEV153 #if SOCLIB_MODULE_DEBUG 156 154 std::cout << " <BDEV_TGT WRITE_LBA> value = " << r_tdata.read() << std::endl; 157 155 #endif … … 170 168 { 171 169 172 #if DEBUG_BDEV170 #if SOCLIB_MODULE_DEBUG 173 171 std::cout << " <BDEV_TGT WRITE_OP> value = READ" << std::endl; 174 172 #endif … … 180 178 { 181 179 182 #if DEBUG_BDEV180 #if SOCLIB_MODULE_DEBUG 183 181 std::cout << " <BDEV_TGT WRITE_OP> value = WRITE" << std::endl; 184 182 #endif … … 189 187 { 190 188 191 #if DEBUG_BDEV189 #if SOCLIB_MODULE_DEBUG 192 190 std::cout << " <BDEV_TGT WRITE_OP> value = SOFT RESET" << std::endl; 193 191 #endif … … 204 202 { 205 203 206 #if DEBUG_BDEV204 #if SOCLIB_MODULE_DEBUG 207 205 std::cout << " <BDEV_TGT WRITE_IRQEN> value = " << r_tdata.read() << std::endl; 208 206 #endif … … 709 707 { 710 708 711 #if DEBUG_BDEV709 #if SOCLIB_MODULE_DEBUG 712 710 if (p_irq != true) 713 711 std::cout << " <BDEV_INI send IRQ>" << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.