Ignore:
Timestamp:
Nov 12, 2014, 6:36:40 PM (10 years ago)
Author:
cfuguet
Message:

reconf: bind a config port of the xicu to the internal dspin_routers

  • This config port is bound to the blackhole_pos port of the dspin_router. This way, the software can configure the dspin_router by writing in the first configuration register of the xicu.
  • The same xicu's config port is connected to the 5 local routers of the internal interconnect. Therefore, the 5 routers share the same configuration.
File:
1 edited

Legend:

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

    r851 r884  
    196196                     xcu_nb_inputs,                       // number of hard IRQs
    197197                     xcu_nb_inputs,                       // number of soft IRQs
    198                      16);                                 // number of output IRQs
     198                     16,                                  // number of output IRQs
     199                     1);                                  // number of config regs
    199200
    200201    ////////////  MDMA
     
    305306                x_width, y_width,
    306307                4, 4,
    307                 (k == 1));
     308                (k == 1),
     309                true);                 // use config interface
    308310    }
    309311
     
    318320                x_width, y_width,
    319321                4, 4,
    320                 false);
     322                false,
     323                true);                 // use config interface
    321324    }
    322325
     
    428431        int_router_cmd[k]->p_clk                 (this->p_clk);
    429432        int_router_cmd[k]->p_resetn              (this->p_resetn);
     433        (*int_router_cmd[k]->p_blackhole_pos)    (signal_cfg_router);
    430434        for (int i = 0; i < 4; i++)
    431435        {
     
    439443        int_router_rsp[k]->p_clk                 (this->p_clk);
    440444        int_router_rsp[k]->p_resetn              (this->p_resetn);
     445        (*int_router_rsp[k]->p_blackhole_pos)    (signal_cfg_router);
    441446        for (int i = 0; i < 4; i++)
    442447        {
     
    549554        else                     xicu->p_hwi[i]  (signal_false);
    550555    }
     556    xicu->p_cfg[0]                               (signal_cfg_router);
    551557
    552558    ///////////////////////////////////// MEMC
Note: See TracChangeset for help on using the changeset viewer.