Changeset 771 for branches/RWT/modules/vci_mem_cache/caba/source
- Timestamp:
- Aug 26, 2014, 4:40:29 PM (10 years ago)
- Location:
- branches/RWT/modules/vci_mem_cache/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RWT/modules/vci_mem_cache/caba/source/include/vci_mem_cache.h
r767 r771 51 51 #include "update_tab.h" 52 52 #include "dspin_interface.h" 53 #include "dspin_ dhccp_param.h"53 #include "dspin_rwt_param.h" 54 54 55 55 #define TRT_ENTRIES 4 // Number of entries in TRT -
branches/RWT/modules/vci_mem_cache/caba/source/src/vci_mem_cache.cpp
r767 r771 2029 2029 { 2030 2030 uint64_t flit = m_cc_receive_to_multi_ack_fifo.read(); 2031 updt_index = Dspin DhccpParam::dspin_get(flit,2032 Dspin DhccpParam::MULTI_ACK_UPDT_INDEX);2031 updt_index = DspinRwtParam::dspin_get(flit, 2032 DspinRwtParam::MULTI_ACK_UPDT_INDEX); 2033 2033 2034 2034 cc_receive_to_multi_ack_fifo_get = true; … … 5661 5661 5662 5662 uint32_t srcid = 5663 Dspin DhccpParam::dspin_get(5663 DspinRwtParam::dspin_get( 5664 5664 flit, 5665 Dspin DhccpParam::CLEANUP_SRCID);5665 DspinRwtParam::CLEANUP_SRCID); 5666 5666 5667 5667 uint8_t type = 5668 Dspin DhccpParam::dspin_get(5668 DspinRwtParam::dspin_get( 5669 5669 flit, 5670 Dspin DhccpParam::P2M_TYPE);5670 DspinRwtParam::P2M_TYPE); 5671 5671 5672 5672 r_cleanup_way_index = 5673 Dspin DhccpParam::dspin_get(5673 DspinRwtParam::dspin_get( 5674 5674 flit, 5675 Dspin DhccpParam::CLEANUP_WAY_INDEX);5675 DspinRwtParam::CLEANUP_WAY_INDEX); 5676 5676 5677 5677 r_cleanup_nline = 5678 Dspin DhccpParam::dspin_get(5678 DspinRwtParam::dspin_get( 5679 5679 flit, 5680 Dspin DhccpParam::CLEANUP_NLINE_MSB) << 32;5681 5682 r_cleanup_inst = (type == Dspin DhccpParam::TYPE_CLEANUP_INST);5680 DspinRwtParam::CLEANUP_NLINE_MSB) << 32; 5681 5682 r_cleanup_inst = (type == DspinRwtParam::TYPE_CLEANUP_INST); 5683 5683 r_cleanup_srcid = srcid; 5684 5684 r_cleanup_ncc = 5685 Dspin DhccpParam::dspin_get(5685 DspinRwtParam::dspin_get( 5686 5686 flit, 5687 Dspin DhccpParam::CLEANUP_NCC);5687 DspinRwtParam::CLEANUP_NCC); 5688 5688 r_cleanup_contains_data = false; 5689 5689 … … 5710 5710 << " CLEANUP_IDLE> Cleanup request:" << std::hex 5711 5711 << " / owner_id = " << srcid 5712 << " / owner_ins = " << (type == Dspin DhccpParam::TYPE_CLEANUP_INST)5713 << " / ncc = " << Dspin DhccpParam::dspin_get(5712 << " / owner_ins = " << (type == DspinRwtParam::TYPE_CLEANUP_INST) 5713 << " / ncc = " << DspinRwtParam::dspin_get( 5714 5714 flit, 5715 Dspin DhccpParam::CLEANUP_NCC)5715 DspinRwtParam::CLEANUP_NCC) 5716 5716 << std::endl; 5717 5717 } … … 5728 5728 5729 5729 addr_t nline = r_cleanup_nline.read() | 5730 Dspin DhccpParam::dspin_get(flit, DspinDhccpParam::CLEANUP_NLINE_LSB);5730 DspinRwtParam::dspin_get(flit, DspinRwtParam::CLEANUP_NLINE_LSB); 5731 5731 5732 5732 bool eop = 5733 Dspin DhccpParam::dspin_get(flit, DspinDhccpParam::P2M_EOP) == 0x1;5733 DspinRwtParam::dspin_get(flit, DspinRwtParam::P2M_EOP) == 0x1; 5734 5734 5735 5735 if (! eop) … … 5768 5768 5769 5769 uint32_t data = 5770 Dspin DhccpParam::dspin_get (flit, DspinDhccpParam::CLEANUP_DATA_UPDT);5770 DspinRwtParam::dspin_get (flit, DspinRwtParam::CLEANUP_DATA_UPDT); 5771 5771 5772 5772 r_cleanup_data[r_cleanup_data_index] = data; … … 8170 8170 8171 8171 uint8_t type = 8172 Dspin DhccpParam::dspin_get(8172 DspinRwtParam::dspin_get( 8173 8173 p_dspin_p2m.data.read(), 8174 Dspin DhccpParam::P2M_TYPE);8175 8176 if((type == Dspin DhccpParam::TYPE_CLEANUP_DATA) or8177 (type == Dspin DhccpParam::TYPE_CLEANUP_INST))8174 DspinRwtParam::P2M_TYPE); 8175 8176 if((type == DspinRwtParam::TYPE_CLEANUP_DATA) or 8177 (type == DspinRwtParam::TYPE_CLEANUP_INST)) 8178 8178 { 8179 8179 r_cc_receive_fsm = CC_RECEIVE_CLEANUP; … … 8181 8181 } 8182 8182 8183 if(type == Dspin DhccpParam::TYPE_MULTI_ACK)8183 if(type == DspinRwtParam::TYPE_MULTI_ACK) 8184 8184 { 8185 8185 r_cc_receive_fsm = CC_RECEIVE_MULTI_ACK; … … 10261 10261 if(m_config_to_cc_send_inst_fifo.read()) 10262 10262 { 10263 multi_inval_type = Dspin DhccpParam::TYPE_MULTI_INVAL_INST;10263 multi_inval_type = DspinRwtParam::TYPE_MULTI_INVAL_INST; 10264 10264 } 10265 10265 else 10266 10266 { 10267 multi_inval_type = Dspin DhccpParam::TYPE_MULTI_INVAL_DATA;10267 multi_inval_type = DspinRwtParam::TYPE_MULTI_INVAL_DATA; 10268 10268 } 10269 10269 10270 10270 uint64_t flit = 0; 10271 10271 uint64_t dest = m_config_to_cc_send_srcid_fifo.read() << 10272 (Dspin DhccpParam::SRCID_WIDTH - vci_param_int::S);10273 10274 Dspin DhccpParam::dspin_set( flit,10272 (DspinRwtParam::SRCID_WIDTH - vci_param_int::S); 10273 10274 DspinRwtParam::dspin_set( flit, 10275 10275 dest, 10276 Dspin DhccpParam::MULTI_INVAL_DEST);10276 DspinRwtParam::MULTI_INVAL_DEST); 10277 10277 10278 10278 // MODIFIED FOR CONFIG INVAL (solution 1 bit in flit multi_inval) 10279 Dspin DhccpParam::dspin_set( flit,10279 DspinRwtParam::dspin_set( flit, 10280 10280 1, 10281 Dspin DhccpParam::MULTI_INVAL_IS_CONFIG);10282 10283 Dspin DhccpParam::dspin_set( flit,10281 DspinRwtParam::MULTI_INVAL_IS_CONFIG); 10282 10283 DspinRwtParam::dspin_set( flit, 10284 10284 r_config_to_cc_send_trdid.read(), 10285 Dspin DhccpParam::MULTI_INVAL_UPDT_INDEX);10286 10287 Dspin DhccpParam::dspin_set( flit,10285 DspinRwtParam::MULTI_INVAL_UPDT_INDEX); 10286 10287 DspinRwtParam::dspin_set( flit, 10288 10288 multi_inval_type, 10289 Dspin DhccpParam::M2P_TYPE);10289 DspinRwtParam::M2P_TYPE); 10290 10290 p_dspin_m2p.write = true; 10291 10291 p_dspin_m2p.data = flit; … … 10296 10296 { 10297 10297 uint64_t flit = 0; 10298 Dspin DhccpParam::dspin_set( flit,10298 DspinRwtParam::dspin_set( flit, 10299 10299 r_config_to_cc_send_nline.read(), 10300 Dspin DhccpParam::MULTI_INVAL_NLINE);10300 DspinRwtParam::MULTI_INVAL_NLINE); 10301 10301 p_dspin_m2p.eop = true; 10302 10302 p_dspin_m2p.write = true; … … 10312 10312 if(m_xram_rsp_to_cc_send_inst_fifo.read()) 10313 10313 { 10314 multi_inval_type = Dspin DhccpParam::TYPE_MULTI_INVAL_INST;10314 multi_inval_type = DspinRwtParam::TYPE_MULTI_INVAL_INST; 10315 10315 } 10316 10316 else 10317 10317 { 10318 multi_inval_type = Dspin DhccpParam::TYPE_MULTI_INVAL_DATA;10318 multi_inval_type = DspinRwtParam::TYPE_MULTI_INVAL_DATA; 10319 10319 } 10320 10320 10321 10321 uint64_t flit = 0; 10322 10322 uint64_t dest = m_xram_rsp_to_cc_send_srcid_fifo.read() << 10323 (Dspin DhccpParam::SRCID_WIDTH - vci_param_int::S);10324 10325 Dspin DhccpParam::dspin_set( flit,10323 (DspinRwtParam::SRCID_WIDTH - vci_param_int::S); 10324 10325 DspinRwtParam::dspin_set( flit, 10326 10326 dest, 10327 Dspin DhccpParam::MULTI_INVAL_DEST);10328 10329 Dspin DhccpParam::dspin_set( flit,10327 DspinRwtParam::MULTI_INVAL_DEST); 10328 10329 DspinRwtParam::dspin_set( flit, 10330 10330 r_xram_rsp_to_cc_send_trdid.read(), 10331 Dspin DhccpParam::MULTI_INVAL_UPDT_INDEX);10332 10333 Dspin DhccpParam::dspin_set( flit,10331 DspinRwtParam::MULTI_INVAL_UPDT_INDEX); 10332 10333 DspinRwtParam::dspin_set( flit, 10334 10334 multi_inval_type, 10335 Dspin DhccpParam::M2P_TYPE);10335 DspinRwtParam::M2P_TYPE); 10336 10336 p_dspin_m2p.write = true; 10337 10337 p_dspin_m2p.data = flit; … … 10344 10344 uint64_t flit = 0; 10345 10345 10346 Dspin DhccpParam::dspin_set( flit,10346 DspinRwtParam::dspin_set( flit, 10347 10347 r_xram_rsp_to_cc_send_nline.read(), 10348 Dspin DhccpParam::MULTI_INVAL_NLINE);10348 DspinRwtParam::MULTI_INVAL_NLINE); 10349 10349 p_dspin_m2p.eop = true; 10350 10350 p_dspin_m2p.write = true; … … 10358 10358 uint64_t flit = 0; 10359 10359 10360 Dspin DhccpParam::dspin_set( flit,10360 DspinRwtParam::dspin_set( flit, 10361 10361 m_broadcast_boundaries, 10362 Dspin DhccpParam::BROADCAST_BOX);10362 DspinRwtParam::BROADCAST_BOX); 10363 10363 10364 Dspin DhccpParam::dspin_set( flit,10364 DspinRwtParam::dspin_set( flit, 10365 10365 1, 10366 Dspin DhccpParam::MULTI_INVAL_IS_CONFIG);10367 10368 Dspin DhccpParam::dspin_set( flit,10366 DspinRwtParam::MULTI_INVAL_IS_CONFIG); 10367 10368 DspinRwtParam::dspin_set( flit, 10369 10369 1ULL, 10370 Dspin DhccpParam::M2P_BC);10370 DspinRwtParam::M2P_BC); 10371 10371 p_dspin_m2p.write = true; 10372 10372 p_dspin_m2p.data = flit; … … 10380 10380 uint64_t flit = 0; 10381 10381 10382 Dspin DhccpParam::dspin_set( flit,10382 DspinRwtParam::dspin_set( flit, 10383 10383 m_broadcast_boundaries, 10384 Dspin DhccpParam::BROADCAST_BOX);10385 10386 Dspin DhccpParam::dspin_set( flit,10384 DspinRwtParam::BROADCAST_BOX); 10385 10386 DspinRwtParam::dspin_set( flit, 10387 10387 1ULL, 10388 Dspin DhccpParam::M2P_BC);10388 DspinRwtParam::M2P_BC); 10389 10389 p_dspin_m2p.write = true; 10390 10390 p_dspin_m2p.data = flit; … … 10395 10395 { 10396 10396 uint64_t flit = 0; 10397 Dspin DhccpParam::dspin_set( flit,10397 DspinRwtParam::dspin_set( flit, 10398 10398 r_xram_rsp_to_cc_send_nline.read(), 10399 Dspin DhccpParam::BROADCAST_NLINE);10399 DspinRwtParam::BROADCAST_NLINE); 10400 10400 p_dspin_m2p.write = true; 10401 10401 p_dspin_m2p.eop = true; … … 10407 10407 { 10408 10408 uint64_t flit = 0; 10409 Dspin DhccpParam::dspin_set( flit,10409 DspinRwtParam::dspin_set( flit, 10410 10410 r_config_to_cc_send_nline.read(), 10411 Dspin DhccpParam::BROADCAST_NLINE);10411 DspinRwtParam::BROADCAST_NLINE); 10412 10412 p_dspin_m2p.write = true; 10413 10413 p_dspin_m2p.eop = true; … … 10421 10421 uint64_t flit = 0; 10422 10422 10423 uint8_t multi_inval_type;10424 if (r_read_to_cc_send_inst.read())10425 {10426 multi_inval_type = DspinDhccpParam::TYPE_MULTI_INVAL_INST;10427 }10428 else10429 {10430 multi_inval_type = DspinDhccpParam::TYPE_MULTI_INVAL_DATA;10431 }10432 10433 Dspin DhccpParam::dspin_set(10423 //uint8_t multi_inval_type; 10424 //if (r_read_to_cc_send_inst.read()) 10425 //{ 10426 // multi_inval_type = DspinRwtParam::TYPE_MULTI_INVAL_INST; 10427 //} 10428 //else 10429 //{ 10430 // multi_inval_type = DspinRwtParam::TYPE_MULTI_INVAL_DATA; 10431 //} 10432 10433 DspinRwtParam::dspin_set( 10434 10434 flit, 10435 10435 r_read_to_cc_send_dest.read(), 10436 Dspin DhccpParam::MULTI_INVAL_DEST);10437 10438 Dspin DhccpParam::dspin_set(10436 DspinRwtParam::MULTI_INVAL_DEST); 10437 10438 DspinRwtParam::dspin_set( 10439 10439 flit, 10440 Dspin DhccpParam::TYPE_MULTI_INVAL_DATA,10441 Dspin DhccpParam::M2P_TYPE);10440 DspinRwtParam::TYPE_MULTI_INVAL_DATA, 10441 DspinRwtParam::M2P_TYPE); 10442 10442 10443 10443 p_dspin_m2p.write = true; … … 10453 10453 uint64_t flit = 0; 10454 10454 10455 Dspin DhccpParam::dspin_set(10455 DspinRwtParam::dspin_set( 10456 10456 flit, 10457 10457 r_read_to_cc_send_nline.read(), 10458 Dspin DhccpParam::MULTI_INVAL_NLINE);10458 DspinRwtParam::MULTI_INVAL_NLINE); 10459 10459 10460 10460 … … 10471 10471 uint64_t flit = 0; 10472 10472 10473 Dspin DhccpParam::dspin_set(10473 DspinRwtParam::dspin_set( 10474 10474 flit, 10475 10475 r_write_to_cc_send_dest.read(), 10476 Dspin DhccpParam::MULTI_INVAL_DEST);10477 10478 Dspin DhccpParam::dspin_set(10476 DspinRwtParam::MULTI_INVAL_DEST); 10477 10478 DspinRwtParam::dspin_set( 10479 10479 flit, 10480 Dspin DhccpParam::TYPE_MULTI_INVAL_DATA,10481 Dspin DhccpParam::M2P_TYPE);10480 DspinRwtParam::TYPE_MULTI_INVAL_DATA, 10481 DspinRwtParam::M2P_TYPE); 10482 10482 10483 10483 p_dspin_m2p.write = true; … … 10492 10492 uint64_t flit = 0; 10493 10493 10494 Dspin DhccpParam::dspin_set(10494 DspinRwtParam::dspin_set( 10495 10495 flit, 10496 10496 r_write_to_cc_send_nline.read(), 10497 Dspin DhccpParam::MULTI_INVAL_NLINE);10497 DspinRwtParam::MULTI_INVAL_NLINE); 10498 10498 10499 10499 … … 10510 10510 { 10511 10511 uint64_t flit = 0; 10512 Dspin DhccpParam::dspin_set( flit,10512 DspinRwtParam::dspin_set( flit, 10513 10513 r_write_to_cc_send_nline.read(), 10514 Dspin DhccpParam::BROADCAST_NLINE);10514 DspinRwtParam::BROADCAST_NLINE); 10515 10515 p_dspin_m2p.write = true; 10516 10516 p_dspin_m2p.eop = true; … … 10522 10522 { 10523 10523 uint64_t flit = 0; 10524 Dspin DhccpParam::dspin_set( flit,10524 DspinRwtParam::dspin_set( flit, 10525 10525 r_cas_to_cc_send_nline.read(), 10526 Dspin DhccpParam::BROADCAST_NLINE);10526 DspinRwtParam::BROADCAST_NLINE); 10527 10527 p_dspin_m2p.write = true; 10528 10528 p_dspin_m2p.eop = true; … … 10538 10538 if(m_write_to_cc_send_inst_fifo.read()) 10539 10539 { 10540 multi_updt_type = Dspin DhccpParam::TYPE_MULTI_UPDT_INST;10540 multi_updt_type = DspinRwtParam::TYPE_MULTI_UPDT_INST; 10541 10541 } 10542 10542 else 10543 10543 { 10544 multi_updt_type = Dspin DhccpParam::TYPE_MULTI_UPDT_DATA;10544 multi_updt_type = DspinRwtParam::TYPE_MULTI_UPDT_DATA; 10545 10545 } 10546 10546 … … 10548 10548 uint64_t dest = 10549 10549 m_write_to_cc_send_srcid_fifo.read() << 10550 (Dspin DhccpParam::SRCID_WIDTH - vci_param_int::S);10551 10552 Dspin DhccpParam::dspin_set(10550 (DspinRwtParam::SRCID_WIDTH - vci_param_int::S); 10551 10552 DspinRwtParam::dspin_set( 10553 10553 flit, 10554 10554 dest, 10555 Dspin DhccpParam::MULTI_UPDT_DEST);10556 10557 Dspin DhccpParam::dspin_set(10555 DspinRwtParam::MULTI_UPDT_DEST); 10556 10557 DspinRwtParam::dspin_set( 10558 10558 flit, 10559 10559 r_write_to_cc_send_trdid.read(), 10560 Dspin DhccpParam::MULTI_UPDT_UPDT_INDEX);10561 10562 Dspin DhccpParam::dspin_set(10560 DspinRwtParam::MULTI_UPDT_UPDT_INDEX); 10561 10562 DspinRwtParam::dspin_set( 10563 10563 flit, 10564 10564 multi_updt_type, 10565 Dspin DhccpParam::M2P_TYPE);10565 DspinRwtParam::M2P_TYPE); 10566 10566 10567 10567 p_dspin_m2p.write = true; … … 10575 10575 uint64_t flit = 0; 10576 10576 10577 Dspin DhccpParam::dspin_set(10577 DspinRwtParam::dspin_set( 10578 10578 flit, 10579 10579 r_write_to_cc_send_index.read(), 10580 Dspin DhccpParam::MULTI_UPDT_WORD_INDEX);10581 10582 Dspin DhccpParam::dspin_set(10580 DspinRwtParam::MULTI_UPDT_WORD_INDEX); 10581 10582 DspinRwtParam::dspin_set( 10583 10583 flit, 10584 10584 r_write_to_cc_send_nline.read(), 10585 Dspin DhccpParam::MULTI_UPDT_NLINE);10585 DspinRwtParam::MULTI_UPDT_NLINE); 10586 10586 10587 10587 p_dspin_m2p.write = true; … … 10602 10602 uint64_t flit = 0; 10603 10603 10604 Dspin DhccpParam::dspin_set(10604 DspinRwtParam::dspin_set( 10605 10605 flit, 10606 10606 multi_updt_be, 10607 Dspin DhccpParam::MULTI_UPDT_BE);10608 10609 Dspin DhccpParam::dspin_set(10607 DspinRwtParam::MULTI_UPDT_BE); 10608 10609 DspinRwtParam::dspin_set( 10610 10610 flit, 10611 10611 multi_updt_data, 10612 Dspin DhccpParam::MULTI_UPDT_DATA);10612 DspinRwtParam::MULTI_UPDT_DATA); 10613 10613 10614 10614 p_dspin_m2p.write = true; … … 10626 10626 if(m_cas_to_cc_send_inst_fifo.read()) 10627 10627 { 10628 multi_updt_type = Dspin DhccpParam::TYPE_MULTI_UPDT_INST;10628 multi_updt_type = DspinRwtParam::TYPE_MULTI_UPDT_INST; 10629 10629 } 10630 10630 else 10631 10631 { 10632 multi_updt_type = Dspin DhccpParam::TYPE_MULTI_UPDT_DATA;10632 multi_updt_type = DspinRwtParam::TYPE_MULTI_UPDT_DATA; 10633 10633 } 10634 10634 … … 10636 10636 uint64_t dest = 10637 10637 m_cas_to_cc_send_srcid_fifo.read() << 10638 (Dspin DhccpParam::SRCID_WIDTH - vci_param_int::S);10639 10640 Dspin DhccpParam::dspin_set(10638 (DspinRwtParam::SRCID_WIDTH - vci_param_int::S); 10639 10640 DspinRwtParam::dspin_set( 10641 10641 flit, 10642 10642 dest, 10643 Dspin DhccpParam::MULTI_UPDT_DEST);10644 10645 Dspin DhccpParam::dspin_set(10643 DspinRwtParam::MULTI_UPDT_DEST); 10644 10645 DspinRwtParam::dspin_set( 10646 10646 flit, 10647 10647 r_cas_to_cc_send_trdid.read(), 10648 Dspin DhccpParam::MULTI_UPDT_UPDT_INDEX);10649 10650 Dspin DhccpParam::dspin_set(10648 DspinRwtParam::MULTI_UPDT_UPDT_INDEX); 10649 10650 DspinRwtParam::dspin_set( 10651 10651 flit, 10652 10652 multi_updt_type, 10653 Dspin DhccpParam::M2P_TYPE);10653 DspinRwtParam::M2P_TYPE); 10654 10654 10655 10655 p_dspin_m2p.write = true; … … 10663 10663 uint64_t flit = 0; 10664 10664 10665 Dspin DhccpParam::dspin_set(10665 DspinRwtParam::dspin_set( 10666 10666 flit, 10667 10667 r_cas_to_cc_send_index.read(), 10668 Dspin DhccpParam::MULTI_UPDT_WORD_INDEX);10669 10670 Dspin DhccpParam::dspin_set(10668 DspinRwtParam::MULTI_UPDT_WORD_INDEX); 10669 10670 DspinRwtParam::dspin_set( 10671 10671 flit, 10672 10672 r_cas_to_cc_send_nline.read(), 10673 Dspin DhccpParam::MULTI_UPDT_NLINE);10673 DspinRwtParam::MULTI_UPDT_NLINE); 10674 10674 10675 10675 p_dspin_m2p.write = true; … … 10683 10683 uint64_t flit = 0; 10684 10684 10685 Dspin DhccpParam::dspin_set(10685 DspinRwtParam::dspin_set( 10686 10686 flit, 10687 10687 0xF, 10688 Dspin DhccpParam::MULTI_UPDT_BE);10689 10690 Dspin DhccpParam::dspin_set(10688 DspinRwtParam::MULTI_UPDT_BE); 10689 10690 DspinRwtParam::dspin_set( 10691 10691 flit, 10692 10692 r_cas_to_cc_send_wdata.read(), 10693 Dspin DhccpParam::MULTI_UPDT_DATA);10693 DspinRwtParam::MULTI_UPDT_DATA); 10694 10694 10695 10695 p_dspin_m2p.write = true; … … 10704 10704 uint64_t flit = 0; 10705 10705 10706 Dspin DhccpParam::dspin_set(10706 DspinRwtParam::dspin_set( 10707 10707 flit, 10708 10708 0xF, 10709 Dspin DhccpParam::MULTI_UPDT_BE);10710 10711 Dspin DhccpParam::dspin_set(10709 DspinRwtParam::MULTI_UPDT_BE); 10710 10711 DspinRwtParam::dspin_set( 10712 10712 flit, 10713 10713 r_cas_to_cc_send_wdata_high.read(), 10714 Dspin DhccpParam::MULTI_UPDT_DATA);10714 DspinRwtParam::MULTI_UPDT_DATA); 10715 10715 10716 10716 p_dspin_m2p.write = true; … … 10731 10731 if(r_cleanup_inst.read()) 10732 10732 { 10733 cleanup_ack_type = Dspin DhccpParam::TYPE_CLACK_INST;10733 cleanup_ack_type = DspinRwtParam::TYPE_CLACK_INST; 10734 10734 } 10735 10735 else 10736 10736 { 10737 cleanup_ack_type = Dspin DhccpParam::TYPE_CLACK_DATA;10737 cleanup_ack_type = DspinRwtParam::TYPE_CLACK_DATA; 10738 10738 } 10739 10739 10740 10740 uint64_t flit = 0; 10741 10741 uint64_t dest = r_cleanup_srcid.read() << 10742 (Dspin DhccpParam::SRCID_WIDTH - vci_param_int::S);10743 10744 Dspin DhccpParam::dspin_set(10742 (DspinRwtParam::SRCID_WIDTH - vci_param_int::S); 10743 10744 DspinRwtParam::dspin_set( 10745 10745 flit, 10746 10746 dest, 10747 Dspin DhccpParam::CLACK_DEST);10748 10749 Dspin DhccpParam::dspin_set(10747 DspinRwtParam::CLACK_DEST); 10748 10749 DspinRwtParam::dspin_set( 10750 10750 flit, 10751 10751 r_cleanup_nline.read() & 0xFFFF, 10752 Dspin DhccpParam::CLACK_SET);10753 10754 Dspin DhccpParam::dspin_set(10752 DspinRwtParam::CLACK_SET); 10753 10754 DspinRwtParam::dspin_set( 10755 10755 flit, 10756 10756 r_cleanup_way_index.read(), 10757 Dspin DhccpParam::CLACK_WAY);10758 10759 Dspin DhccpParam::dspin_set(10757 DspinRwtParam::CLACK_WAY); 10758 10759 DspinRwtParam::dspin_set( 10760 10760 flit, 10761 10761 cleanup_ack_type, 10762 Dspin DhccpParam::CLACK_TYPE);10762 DspinRwtParam::CLACK_TYPE); 10763 10763 10764 10764 p_dspin_clack.eop = true;
Note: See TracChangeset
for help on using the changeset viewer.