source: trunk/modules/vci_iox_network/caba/metadata/vci_iox_network.sd @ 557

Last change on this file since 557 was 451, checked in by alain, 11 years ago

Introducing the vci_iox_network modeling the external IO network.

File size: 1.4 KB
Line 
1
2# -*- python -*-
3
4Module('caba:vci_iox_network',
5        classname = 'soclib::caba::VciIoxNetwork',
6
7    tmpl_parameters = [
8            parameter.Module('vci_param',  default = 'caba:vci_param'),
9        ],
10
11    header_files = [
12        '../source/include/vci_iox_network.h',
13    ],
14
15    implementation_files = [
16        '../source/src/vci_iox_network.cpp',
17    ],
18
19    ports = [
20            Port('caba:vci_initiator', 'p_to_local_tgt', parameter.Reference('nb_local_tgt')),
21            Port('caba:vci_target',    'p_to_local_ini', parameter.Reference('nb_local_ini')),
22            Port('caba:vci_initiator', 'p_to_global_tgt', parameter.Reference('nb_global_tgt')),
23            Port('caba:vci_target',    'p_to_global_ini', parameter.Reference('nb_global_ini')),
24                Port('caba:bit_in',        'p_resetn', auto = 'resetn'),
25                Port('caba:clock_in',      'p_clk', auto = 'clock'),
26        ],
27
28    instance_parameters = [
29        parameter.Module('mt', typename = 'common:mapping_table'),
30        parameter.Int('cluster_id'),
31        parameter.Int('nb_local_tgt'),
32        parameter.Int('nb_local_ini'),
33        parameter.Int('nb_global_tgt'),
34        parameter.Int('nb_global_ini'),
35        ],
36
37    uses = [
38                Uses('caba:base_module'),
39                Uses('common:mapping_table'),
40                Uses('common:address_decoding_table', input_t = 'uint64_t', output_t = 'size_t'),
41                Uses('common:address_decoding_table', input_t = 'uint32_t', output_t = 'size_t'),
42                Uses('caba:vci_buffers'),
43        ],
44)
Note: See TracBrowser for help on using the repository browser.