Ignore:
Timestamp:
Dec 11, 2013, 4:50:35 PM (10 years ago)
Author:
cfuguet
Message:

Modifications in vci_mem_cache:

  • Bugfix in req_distance function used to compute manhattan distance between requests coordinates and self global coordinates.
  • New constructor parameters for vci_mem_cache:
    1. x_self : X self coordinate
    2. y_self : Y self coordinate


This parameter are used for instrumentation

  • Remove cc_global_id constructor parameter:

This parameter was the mem_cache coherence srcid. This srcid is not
used by the L1 caches because they take the mem cache global id from
the msb of nline to invalidate (CLEANUP) or to update (MULTIACK)

As the constructor parameters has been changed, the platform using the
mem cache must be changed accordingly. Therefore, the tsar_generic_xbar and
the tsar_generic_iob platforms were updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp

    r584 r597  
    171171                     IntTab(cluster_id, memc_ram_srcid), // SRCID RAM network
    172172                     IntTab(cluster_id, memc_int_tgtid), // TGTID INT network
    173                      (cluster_id << l_width) + nb_procs, // CC_GLOBAL_ID
     173                     x_id,                               // X self coordinate
     174                     y_id,                               // Y self coordinate
    174175                     x_width,                            // number of bits for x coordinate
    175176                     y_width,                            // number of bits for y coordinate
Note: See TracChangeset for help on using the changeset viewer.