Ignore:
Timestamp:
Dec 11, 2013, 6:08:30 PM (10 years ago)
Author:
cfuguet
Message:

Improvement in vci_mem_cache component:

  • No need to pass x_self and y_self constructor parameters. They are computed from the most significant bits of one of the memory segments mapped to this component.
  • Erasing these two parameters from the vci_mem_cache constructor in all TSAR platforms
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_mem_cache/caba/source/include/vci_mem_cache.h

    r597 r599  
    499499          const soclib::common::IntTab       &srcid_x,        // global index RAM network
    500500          const soclib::common::IntTab       &tgtid_d,        // global index INT network
    501           const size_t                       x_self,          // self X coordinate
    502           const size_t                       y_self,          // self Y coordinate
    503501          const size_t                       x_width,         // X width in platform
    504502          const size_t                       y_width,         // Y width in platform
     
    543541      const size_t                       m_sets;             // Number of cache sets
    544542      const size_t                       m_words;            // Number of words in a line
    545       const size_t                       m_x_self;           // X self coordinate
    546       const size_t                       m_y_self;           // Y self coordinate
     543      size_t                             m_x_self;           // X self coordinate
     544      size_t                             m_y_self;           // Y self coordinate
    547545      const size_t                       m_x_width;          // number of x bits in platform
    548546      const size_t                       m_y_width;          // number of y bits in platform
Note: See TracChangeset for help on using the changeset viewer.