source: branches/reconfiguration/modules/vci_xicu/caba/metadata/vci_xicu.sd @ 963

Last change on this file since 963 was 881, checked in by cfuguet, 10 years ago

reconf: introduce a configuration function in the vci_xicu

  • This configuration function consists in a vector of writable registers (up to 32) which are directly connected to an output port (one port per register).
File size: 1.2 KB
Line 
1
2# -*- python -*-
3
4__id__ = "$Id$"
5__version__ = "$Revision$"
6
7Module('caba:reconf:vci_xicu',
8        classname = 'soclib::caba::VciXicu',
9           tmpl_parameters = [
10        parameter.Module('vci_param',  default = 'caba:vci_param'),
11        ],
12        header_files = ['../source/include/vci_xicu.h',
13                                        ],
14    interface_files = [
15                                        '../../include/soclib/xicu.h',
16                                        ],
17        implementation_files = ['../source/src/vci_xicu.cpp',],
18                          ports = [
19        Port('caba:clock_in', 'p_clk', auto = 'clock'),
20        Port('caba:bit_in', 'p_resetn', auto = 'resetn'),
21        Port('caba:vci_target', 'p_vci'),
22        Port('caba:bit_in', 'p_hwi', parameter.Reference('hwi_count')),
23        Port('caba:bit_out', 'p_irq', parameter.Reference('irq_count')),
24        ],
25        uses = [
26                Uses('caba:base_module'),
27                Uses('caba:vci_target_fsm', default_target = 'true', support_llsc = 'false'),
28                ],
29        instance_parameters = [
30        parameter.Module('mt', 'common:mapping_table'),
31        parameter.IntTab('index'),
32        parameter.Int('pti_count'),
33        parameter.Int('hwi_count'),
34        parameter.Int('wti_count'),
35        parameter.Int('irq_count'),
36        ],
37           extensions = [
38        'dsx:addressable=index',
39        'dsx:max_segments=1',
40        'dsx:get_ident=index:p_vci:mt',
41        'dsx:device=xicu',
42   ],
43)
Note: See TracBrowser for help on using the repository browser.