Ignore:
Timestamp:
Mar 12, 2013, 3:20:33 PM (11 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/v5/modules/vci_mem_cache_dspin_coherence/caba/metadata/vci_mem_cache.sd

    r309 r313  
    99
    1010        tmpl_parameters = [
    11                         parameter.Module('vci_param'  , default = 'caba:vci_param'),
    12                         parameter.Int('from_mc_flit_width', default = 40),
    13                         parameter.Int('from_l1_flit_width', default = 33)
     11                        parameter.Module('vci_param'  , default = 'caba:vci_param')
    1412                ],
    1513
     
    2927            Uses('caba:generic_fifo'),
    3028            Uses('caba:generic_llsc_global_table'),
    31                         Uses(
    32                           'caba:dspin_dhccp_param',
    33                           from_mc_flit_width_t = parameter.Reference('from_mc_flit_width'),
    34                           from_l1_flit_width_t = parameter.Reference('from_l1_flit_width'),
    35                           ),
     29                        Uses('caba:dspin_dhccp_param')
    3630        ],
    3731
     
    4135                                'caba:dspin_input',
    4236                                'p_dspin_in',
    43                                 dspin_data_size = parameter.Reference('from_l1_flit_width'),
     37                                dspin_data_size = 33,
    4438                        ),
    4539                        Port(
    4640                                'caba:dspin_output',
    4741                                'p_dspin_out',
    48                                 dspin_data_size = parameter.Reference('from_mc_flit_width'),
     42                                dspin_data_size = 40,
    4943                        ),
    5044            Port( 'caba:vci_initiator', 'p_vci_ixr' ),
Note: See TracChangeset for help on using the changeset viewer.