Ignore:
Timestamp:
Dec 11, 2013, 4:50:35 PM (11 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_xbar/tsar_xbar_cluster/caba/source/src/tsar_xbar_cluster.cpp

    r548 r597  
    148148                     IntTab(cluster_id),                 // SRCID external space
    149149                     IntTab(cluster_id, tgtid_memc),     // TGTID direct space
    150                      (cluster_id << l_width) + nb_procs, // CC_GLOBAL_ID
     150                     x_id,                               // X self coordinate
     151                     y_id,                               // Y self coordinate
    151152                     x_width,                            // Number of x bits in platform
    152153                     y_width,                            // Number of y bits in platform
     
    369370
    370371        wt_mnic = new VciDspinTargetWrapper<vci_param_int,
    371                                             dspin_cmd_width,
    372                                             dspin_rsp_width>(
    373                      "wt_mnic",
    374                      x_width + y_width + l_width);
     372                                           dspin_cmd_width,
     373                                           dspin_rsp_width>(
     374                    "wt_mnic",
     375                    x_width + y_width + l_width);
    375376
    376377        /////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.