Ignore:
Timestamp:
Jan 27, 2015, 5:58:07 PM (9 years ago)
Author:
cfuguet
Message:

reconf: introducing the segment recovery mechanism in the dspin_router

  • The p_recovery_cfg port, connected through a signal to a config register in the XICU, is formatted in two fields: the 4 LSb contain the blackhole relative position and the 4 bits after contain the recovery direction.
  • A request with the blackhole cluster as destination is rerouted through the defined recovery direction.
  • Remove the reconfiguration parameter of the constructor. The p_recovery_cfg port is instantiated when the bind_recovery_port is called. This port is also connected during this function to the signal that is passed as an argument.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp

    r926 r931  
    306306                x_width, y_width,
    307307                4, 4,
    308                 (k == 1),
    309                 true);                 // use config interface
     308                (k == 1));
    310309    }
    311310
     
    320319                x_width, y_width,
    321320                4, 4,
    322                 false,
    323                 true);                 // use config interface
     321                false);
    324322    }
    325323
     
    431429        int_router_cmd[k]->p_clk                 (this->p_clk);
    432430        int_router_cmd[k]->p_resetn              (this->p_resetn);
    433         (*int_router_cmd[k]->p_blackhole_pos)    (signal_cfg_router_cmd[k]);
     431        int_router_cmd[k]->bind_recovery_port    (signal_cfg_router_cmd[k]);
    434432        for (int i = 0; i < 4; i++)
    435433        {
     
    443441        int_router_rsp[k]->p_clk                 (this->p_clk);
    444442        int_router_rsp[k]->p_resetn              (this->p_resetn);
    445         (*int_router_rsp[k]->p_blackhole_pos)    (signal_cfg_router_rsp[k]);
     443        int_router_rsp[k]->bind_recovery_port    (signal_cfg_router_rsp[k]);
    446444        for (int i = 0; i < 4; i++)
    447445        {
Note: See TracChangeset for help on using the changeset viewer.