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

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

reconf: introducing reconf branch of the soclib/dspin_router component

  • For now, this branch contains an additional attribute allowing to disable the desired interfaces to simulate faulty channels.
File size: 915 bytes
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        ports = [
9                Port('caba:bit_in', 'p_resetn', auto = 'resetn'),
10                Port('caba:clock_in', 'p_clk', auto = 'clock'),
11            Port('caba:dspin_output', 'p_out', 5, dspin_data_size = parameter.Reference('flit_width')),
12            Port('caba:dspin_input', 'p_in', 5, dspin_data_size = parameter.Reference('flit_width')),
13        ],
14        instance_parameters = [
15            parameter.Int('x'),
16            parameter.Int('y'),
17            parameter.Int('x_width'),
18            parameter.Int('y_width'),
19            parameter.Int('in_fifo_depth'),
20            parameter.Int('out_fifo_depth'),
21        parameter.Bool('broadcast_supported'),
22        ],
23        uses = [
24            Uses('caba:base_module'),
25            Uses('caba:generic_fifo'),
26        ],
27)
Note: See TracBrowser for help on using the repository browser.