Changeset 346 for branches/v5/modules/vci_cc_vcache_wrapper_dspin_coherence/caba/source/include/vci_cc_vcache_wrapper_dspin_coherence.h
- Timestamp:
- Mar 29, 2013, 6:56:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/v5/modules/vci_cc_vcache_wrapper_dspin_coherence/caba/source/include/vci_cc_vcache_wrapper_dspin_coherence.h
r331 r346 1 1 /* -*- c++ -*- 2 * 2 3 * File : vci_cc_vcache_wrapper.h 3 4 * Copyright (c) UPMC, Lip6, SoC … … 285 286 sc_in<bool> p_resetn; 286 287 sc_in<bool> p_irq[iss_t::n_irq]; 287 soclib::caba::VciInitiator<vci_param> p_vci _ini_d;288 soclib::caba::DspinInput <40> p_dspin_in;289 soclib::caba::DspinOutput<33> p_dspin_out;288 soclib::caba::VciInitiator<vci_param> p_vci; 289 soclib::caba::DspinInput <40> p_dspin_in; 290 soclib::caba::DspinOutput<33> p_dspin_out; 290 291 291 292 private: 292 293 293 294 // STRUCTURAL PARAMETERS 294 soclib::common::AddressDecodingTable<uint32_t, bool> 295 const soclib::common::Segment m_segment; 296 const vci_srcid_t m_srcid_d;297 const vci_srcid_t m_srcid_c;298 295 soclib::common::AddressDecodingTable<uint32_t, bool> m_cacheability_table; 296 297 const vci_srcid_t m_srcid; 298 const size_t m_cc_global_id; 299 const size_t m_nline_width; 299 300 const size_t m_itlb_ways; 300 301 const size_t m_itlb_sets; 301 302 302 const size_t m_dtlb_ways; 303 303 const size_t m_dtlb_sets; 304 305 304 const size_t m_icache_ways; 306 305 const size_t m_icache_sets; 307 306 const paddr_t m_icache_yzmask; 308 307 const size_t m_icache_words; 309 310 308 const size_t m_dcache_ways; 311 309 const size_t m_dcache_sets; 312 310 const paddr_t m_dcache_yzmask; 313 311 const size_t m_dcache_words; 314 315 312 const size_t m_x_width; 316 313 const size_t m_y_width; 317 318 const size_t m_memory_cache_local_id;319 314 const size_t m_proc_id; 320 315 const uint32_t m_max_frozen_cycles; 321 316 const size_t m_paddr_nbits; 317 uint32_t m_debug_start_cycle; 318 bool m_debug_ok; 322 319 323 320 //////////////////////////////////////// … … 332 329 // debug variables (for each FSM) 333 330 ///////////////////////////////////////////// 334 uint32_t m_debug_start_cycle;335 bool m_debug_ok;336 331 bool m_debug_previous_hit; 337 332 bool m_idebug_previous_hit; … … 686 681 public: 687 682 VciCcVCacheWrapper( 688 sc_module_name insname, 689 int proc_id, 690 const soclib::common::MappingTable &mtp, 691 const soclib::common::MappingTable &mtc, 692 const soclib::common::IntTab &initiator_index_d, 693 const soclib::common::IntTab &initiator_index_c, 694 const soclib::common::IntTab &target_index_d, 695 size_t itlb_ways, 696 size_t itlb_sets, 697 size_t dtlb_ways, 698 size_t dtlb_sets, 699 size_t icache_ways, 700 size_t icache_sets, 701 size_t icache_words, 702 size_t dcache_ways, 703 size_t dcache_sets, 704 size_t dcache_words, 705 size_t wbuf_nlines, 706 size_t wbuf_nwords, 707 size_t x_width, 708 size_t y_width, 709 uint32_t memory_cache_local_id, 710 uint32_t max_frozen_cycles, 711 uint32_t debug_start_cycle, 712 bool debug_ok); 683 sc_module_name name, 684 const int proc_id, 685 const soclib::common::MappingTable &mtd, 686 const soclib::common::IntTab &srcid, 687 const size_t cc_global_id, 688 const size_t itlb_ways, 689 const size_t itlb_sets, 690 const size_t dtlb_ways, 691 const size_t dtlb_sets, 692 const size_t icache_ways, 693 const size_t icache_sets, 694 const size_t icache_words, 695 const size_t dcache_ways, 696 const size_t dcache_sets, 697 const size_t dcache_words, 698 const size_t wbuf_nlines, 699 const size_t wbuf_nwords, 700 const size_t x_width, 701 const size_t y_width, 702 const uint32_t max_frozen_cycles, 703 const uint32_t debug_start_cycle, 704 const bool debug_ok ); 713 705 714 706 ~VciCcVCacheWrapper();
Note: See TracChangeset
for help on using the changeset viewer.