Ignore:
Timestamp:
Mar 12, 2013, 3:20:33 PM (12 years ago)
Author:
cfuguet
Message:

Erasing useless template parameters for the communication/dspin_dhccp_param class.

Modifying consequently the vci_mem_cache_dspin_coherence class to use the
dspin_dhccp_param class without templates.

Introducing in the vci_mem_cache and the vci_mem_cache_dspin_coherence modules
the state CAS_DIR_HIT_COMPARE.

Before this modification, the comparison between the expected data and the actual
data was done directly in the CAS_DIR_HIT_READ state using the data obtained in the
same cycle from the cache.

Now, the data obtained from the cache is stored in a buffer and the next cycle,
in the CAS_DIR_HIT_COMPARE state, the comparison is made using the data from the
buffer.

This modifications allows to eliminate a critical path obtained in the ASIC
synthesis of the memory cache.

Location:
branches/v5/communication/dspin_dhccp_param/caba
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/v5/communication/dspin_dhccp_param/caba/metadata/dspin_dhccp_param.sd

    r307 r313  
    11Module('caba:dspin_dhccp_param',
    22           classname = 'soclib::caba::DspinDhccpParam',
    3            tmpl_parameters = [
    4                 parameter.Int('from_mc_flit_width_t'),
    5                 parameter.Int('from_l1_flit_width_t'),
    6                 ],
    73           header_files = ['../source/include/dspin_dhccp_param.h',]
    84)
  • branches/v5/communication/dspin_dhccp_param/caba/source/include/dspin_dhccp_param.h

    r312 r313  
     1/* -*- c++ -*-
     2 * File         : dspin_dhccp_param.h
     3 * Date         : 01/03/2013
     4 * Copyright    : UPMC / LIP6
     5 * Authors      : Cesar Fuguet
     6 *
     7 * SOCLIB_LGPL_HEADER_BEGIN
     8 *
     9 * This file is part of SoCLib, GNU LGPLv2.1.
     10 *
     11 * SoCLib is free software; you can redistribute it and/or modify it
     12 * under the terms of the GNU Lesser General Public License as published
     13 * by the Free Software Foundation; version 2.1 of the License.
     14 *
     15 * SoCLib is distributed in the hope that it will be useful, but
     16 * WITHOUT ANY WARRANTY; without even the implied warranty of
     17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     18 * Lesser General Public License for more details.
     19 *
     20 * You should have received a copy of the GNU Lesser General Public
     21 * License along with SoCLib; if not, write to the Free Software
     22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
     23 * 02110-1301 USA
     24 *
     25 * SOCLIB_LGPL_HEADER_END
     26 */
     27
     28
    129#ifndef DSPIN_DHCCP_PARAMS_H
    230#define DSPIN_DHCCP_PARAMS_H
     
    101129    case z: x |= ((y & z##_MASK) << z##_SHIFT);break
    102130
    103 template<int from_memc_flit_width_t, int from_l1_flit_width_t>
    104131class DspinDhccpParam
    105132{
Note: See TracChangeset for help on using the changeset viewer.