- Timestamp:
- Aug 25, 2014, 5:58:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RWT/modules/vci_cc_vcache_wrapper/caba/source/include/vci_cc_vcache_wrapper.h
r646 r767 280 280 }; 281 281 282 // enum transaction_type_d_e 283 // { 284 // // b0 : 1 if cached 285 // // b1 : 1 if instruction 286 // TYPE_DATA_UNC = 0x0, 287 // TYPE_DATA_MISS = 0x1, 288 // TYPE_INS_UNC = 0x2, 289 // TYPE_INS_MISS = 0x3, 290 // }; 291 292 //////////////////MODIFIED//////////////// 282 283 // cache line status 293 284 enum content_line_cache_status_e 294 285 { … … 522 513 sc_signal<size_t> r_dcache_cc_send_updt_tab_idx; // DCACHE cc_send update table index 523 514 524 // special registers for ODCCP/RWT525 sc_signal<bool> r_dcache_cc_cleanup_updt_data; 526 sc_signal<bool> r_dcache_cc_cleanup_line_ncc; 527 sc_signal<bool> r_dcache_miss_victim_no_coherence; 528 sc_signal<bool> r_dcache_line_no_coherence; 515 // special registers for RWT 516 sc_signal<bool> r_dcache_cc_cleanup_updt_data; // Register for cleanup with data (wb updt) 517 sc_signal<bool> r_dcache_cc_cleanup_line_ncc; // Register for cleanup with data (wb updt) 518 sc_signal<bool> r_dcache_miss_victim_no_coherence; // Register for victim in no coherence mode 519 sc_signal<bool> r_dcache_line_no_coherence; // Register for line current in no coherence mode 529 520 sc_signal<bool> r_dcache_dirty_save; 530 521 sc_signal<uint32_t> r_cc_send_cpt_word; … … 536 527 sc_signal<paddr_t> r_dcache_xtn_data_addr; 537 528 sc_signal<uint32_t> r_dcache_xtn_data_cpt; 529 sc_signal<bool> r_dcache_read_state; 530 538 531 // dcache directory extension 539 ///////////////////////////MODIFIED///////////////////////////////////////////////////540 //bool *r_dcache_in_tlb; // copy exist in dtlb or itlb541 //bool *r_dcache_contains_ptd; // cache line contains a PTD542 532 int *r_dcache_content_state; // content state of one cache line 543 int *r_dcache_dirty_word; 544 bool *r_dcache_zombi_ncc; 533 // Stats 534 int *r_dcache_dirty_word; // use for compute number of words dirty per cleanup_data 535 bool *r_dcache_zombi_ncc; // use for compute number of blocked write on ncc zombi line 545 536 ////////////////////////////////////////////////////////////////////////////////////// 546 537 547 //RWT 548 sc_signal<bool> r_dcache_read_state; 549 550 /////////////////////////////////// 538 /////////////////////////////////// 551 539 // Physical address extension for data access 552 540 sc_signal<uint32_t> r_dcache_paddr_ext; // CP2 register (if vci_address > 32) … … 574 562 //RWT 575 563 GenericFifo<bool> r_vci_rsp_fifo_rpktid; 576 577 564 GenericFifo<uint32_t> r_cc_send_data_fifo; 578 565
Note: See TracChangeset
for help on using the changeset viewer.