Ignore:
Timestamp:
Nov 16, 2014, 12:49:58 PM (9 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.
Location:
branches/reconfiguration/modules/dspin_router/caba/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/modules/dspin_router/caba/source/include/dspin_router.h

    r883 r886  
    8282        INFSM_REQ_FOURTH,
    8383        INFSM_ALLOC_FOURTH,
    84     };
    85 
    86     // Black-Hole position
    87     enum
    88     {
    89         BH_NONE,
    90         BH_N,
    91         BH_NE,
    92         BH_E,
    93         BH_SE,
    94         BH_S,
    95         BH_SW,
    96         BH_W,
    97         BH_NW
    9884    };
    9985
  • branches/reconfiguration/modules/dspin_router/caba/source/src/dspin_router.cpp

    r883 r886  
    4141
    4242#include "../include/dspin_router.h"
     43#include "dspin_router_config.h"
    4344
    4445namespace soclib { namespace caba {
     
    250251        if ( p_blackhole_pos != NULL )
    251252        {
    252             if (p_blackhole_pos->read() != BH_NONE)
     253            if ( p_blackhole_pos->read() != BH_NONE )
    253254            {
    254255                return recovery_route(xdest, ydest);
Note: See TracChangeset for help on using the changeset viewer.