source: branches/reconfiguration/modules/vci_local_crossbar/caba/metadata/vci_local_crossbar.sd

Last change on this file was 932, checked in by cfuguet, 10 years ago

reconf: introduce a vci_local_crossbar which support the segment
recovery mechanism.

File size: 1.8 KB
Line 
1
2# -*- python -*-
3
4__id__ = "$Id$"
5__version__ = "$Revision$"
6
7Module('caba:reconf:vci_local_crossbar',
8        classname = 'soclib::caba::VciLocalCrossbar',
9        tmpl_parameters = [
10            parameter.Module('vci_param',  default = 'caba:vci_param'),
11        ],
12        header_files = [
13        '../source/include/vci_local_crossbar.h',
14    ],
15        implementation_files = [
16        '../source/src/vci_local_crossbar.cpp',
17    ],
18        ports = [
19            Port('caba:vci_initiator', 'p_to_target', parameter.Reference('nb_attached_target')),
20            Port('caba:vci_target', 'p_to_initiator', parameter.Reference('nb_attached_initiator')),
21            Port('caba:vci_initiator', 'p_initiator_to_up'),
22            Port('caba:vci_target', 'p_target_to_up'),
23                Port('caba:bit_in', 'p_resetn', auto = 'resetn'),
24                Port('caba:clock_in', 'p_clk', auto = 'clock'),
25        ],
26        instance_parameters = [
27        parameter.Module('mt', typename = 'common:mapping_table'),
28        parameter.Int('cluster_id'),
29        parameter.Int('nb_attached_initiators'),
30        parameter.Int('nb_attached_targets'),
31        parameter.Int('default_target_id'),
32        ],
33        uses = [
34                Uses('caba:base_module'),
35                Uses('common:mapping_table'),
36                Uses('caba:vci_buffers'),
37        Uses('common:address_decoding_table', input_t = 'uint64_t', output_t = 'size_t'),
38        Uses('common:address_decoding_table', input_t = 'uint64_t', output_t = 'bool'),
39        Uses('common:address_decoding_table', input_t = 'uint32_t', output_t = 'size_t'),
40        Uses('common:address_decoding_table', input_t = 'uint32_t', output_t = 'bool'),
41        ],
42    extensions = [
43        'dsx:interconnect',
44            'dsx:mapping_type=interconnect',
45        'dsx:get_ident=srcid:p_initiator_to_up:mt,tgtid:p_target_to_up:mt',
46            'dsx:obtain_ident_method=port',
47        'dsx:interconnect_port_assoc=p_to_initiator:p_initiator_to_up,p_to_target:p_target_to_up'
48        ],
49)
Note: See TracBrowser for help on using the repository browser.