source: branches/reconfiguration/modules/dspin_router/caba/metadata/dspin_router.sd @ 1000

Last change on this file since 1000 was 886, checked in by cfuguet, 10 years ago

reconf: introduce a dspin_router_config.h interface file

  • This file contains the possible configuration values for the p_blackhole_pos port. It is meant to b used by software to configure, through the reconf:vci_xicu, the NoC routers.
File size: 1.1 KB
Line 
1# -*- python -*-
2
3Module('caba:reconf:dspin_router',
4    classname = 'soclib::caba::DspinRouter',
5    tmpl_parameters = [ parameter.Int('flit_width')],
6    header_files = ['../source/include/dspin_router.h'],
7    implementation_files = ['../source/src/dspin_router.cpp'],
8    interface_files = ['../../include/soclib/dspin_router_config.h'],
9    ports = [
10        Port('caba:bit_in', 'p_resetn', auto = 'resetn'),
11        Port('caba:clock_in', 'p_clk', auto = 'clock'),
12        Port('caba:dspin_output', 'p_out', 5, dspin_data_size = parameter.Reference('flit_width')),
13        Port('caba:dspin_input', 'p_in', 5, dspin_data_size = parameter.Reference('flit_width')),
14    ],
15    instance_parameters = [
16        parameter.Int('x'),
17        parameter.Int('y'),
18        parameter.Int('x_width'),
19        parameter.Int('y_width'),
20        parameter.Int('in_fifo_depth'),
21        parameter.Int('out_fifo_depth'),
22        parameter.Bool('broadcast_supported'),
23    ],
24    uses = [
25        Uses('caba:base_module'),
26        Uses('caba:generic_fifo'),
27    ],
28)
29
30# vim: ts=4 : sts=4 : sw=4 : et
Note: See TracBrowser for help on using the repository browser.