Ignore:
Timestamp:
Nov 16, 2014, 12:49:58 PM (10 years ago)
Author:
cfuguet
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/modules/dspin_router/caba/metadata/dspin_router.sd

    r854 r886  
    22
    33Module('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'),
     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'),
    2122        parameter.Bool('broadcast_supported'),
    22         ],
    23         uses = [
    24             Uses('caba:base_module'),
    25             Uses('caba:generic_fifo'),
    26         ],
     23    ],
     24    uses = [
     25        Uses('caba:base_module'),
     26        Uses('caba:generic_fifo'),
     27    ],
    2728)
     29
     30# vim: ts=4 : sts=4 : sw=4 : et
Note: See TracChangeset for help on using the changeset viewer.