source: branches/v5/modules/vci_mem_cache_dspin_coherence/caba/metadata/vci_mem_cache_dspin_coherence.sd @ 331

Last change on this file since 331 was 331, checked in by joannou, 11 years ago

Renaming all files form vci_cc_vcache_wrapper_dspin_coherence and vci_mem_cache_dspin_coherence

File size: 2.3 KB
Line 
1
2# -*- python -*-
3
4__id__ = "$Id: vci_mem_cache.sd 295 2013-02-14 15:05:05Z cfuguet $"
5__version__ = "$Revision: 295 $"
6
7Module('caba:vci_mem_cache_dspin_coherence',
8        classname = 'soclib::caba::VciMemCache',
9
10        tmpl_parameters = [
11                        parameter.Module('vci_param'  , default = 'caba:vci_param')
12                ],
13
14        header_files = [
15            '../source/include/vci_mem_cache_dspin_coherence.h',
16            '../source/include/xram_transaction.h',
17            '../source/include/mem_cache_directory.h',
18            '../source/include/update_tab.h'
19        ],
20
21        implementation_files = [ '../source/src/vci_mem_cache_dspin_coherence.cpp' ],
22
23        uses = [
24            Uses('caba:base_module'),
25            Uses('common:loader'),
26            Uses('common:mapping_table'),
27            Uses('caba:generic_fifo'),
28            Uses('caba:generic_llsc_global_table'),
29                        Uses('caba:dspin_dhccp_param')
30        ],
31
32        ports = [
33            Port( 'caba:vci_target'   , 'p_vci_tgt' ),
34            Port(
35                                'caba:dspin_input',
36                                'p_dspin_in',
37                                dspin_data_size = 33,
38                        ),
39                        Port(
40                                'caba:dspin_output',
41                                'p_dspin_out',
42                                dspin_data_size = 40,
43                        ),
44            Port( 'caba:vci_initiator', 'p_vci_ixr' ),
45            Port( 'caba:bit_in'       , 'p_resetn'  , auto = 'resetn' ),
46            Port( 'caba:clock_in'     , 'p_clk'     , auto = 'clock'  ),
47        ],
48
49        instance_parameters = [
50            parameter.Module( 'mtp', 'common:mapping_table' ),
51            parameter.Module( 'mtc', 'common:mapping_table' ),
52            parameter.Module( 'mtx', 'common:mapping_table' ),
53            parameter.IntTab( 'vci_ixr_index' ),
54            parameter.IntTab( 'vci_ini_index' ),
55            parameter.IntTab( 'vci_tgt_index' ),
56            parameter.IntTab( 'vci_tgt_index_cleanup '),
57            parameter.Int   ( 'nways' ),
58            parameter.Int   ( 'nsets' ),
59            parameter.Int   ( 'nwords' ),
60            parameter.Int   ( 'heap_size' ),
61        ],
62
63        extensions = [
64            'dsx:get_ident='
65            'vci_ini_index:p_vci_ini:mtc,'
66            'vci_tgt_index_cleanup:p_vci_tgt_cleanup:mtc,'
67            'vci_tgt_index:p_vci_tgt:mtp,'
68            'vci_ixr_index:p_vci_ixr:mtx',
69            'dsx:addressable=vci_tgt_index,vci_tgt_index_cleanup',
70        ],
71)
Note: See TracBrowser for help on using the repository browser.