Ignore:
Timestamp:
Dec 11, 2014, 4:52:15 PM (10 years ago)
Author:
cfuguet
Message:

reconf: any router in any NoC can be faulty. Moreover, each NoC has its
own config register in the XICU.

Location:
branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/include/tsar_iob_cluster.h

    r884 r904  
    7373    sc_signal<bool>                       signal_irq_mdma[8];
    7474    sc_signal<bool>                       signal_irq_memc;
    75     sc_signal<uint32_t>                   signal_cfg_router;
     75    sc_signal<uint32_t>                   signal_cfg_router_cmd[3];
     76    sc_signal<uint32_t>                   signal_cfg_router_rsp[2];
    7677
    7778    // INT network DSPIN signals between DSPIN routers and DSPIN local_crossbars
  • branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp

    r884 r904  
    197197                     xcu_nb_inputs,                       // number of soft IRQs
    198198                     16,                                  // number of output IRQs
    199                      1);                                  // number of config regs
     199                     5);                                  // number of config regs
    200200
    201201    ////////////  MDMA
     
    431431        int_router_cmd[k]->p_clk                 (this->p_clk);
    432432        int_router_cmd[k]->p_resetn              (this->p_resetn);
    433         (*int_router_cmd[k]->p_blackhole_pos)    (signal_cfg_router);
     433        (*int_router_cmd[k]->p_blackhole_pos)    (signal_cfg_router_cmd[k]);
    434434        for (int i = 0; i < 4; i++)
    435435        {
     
    443443        int_router_rsp[k]->p_clk                 (this->p_clk);
    444444        int_router_rsp[k]->p_resetn              (this->p_resetn);
    445         (*int_router_rsp[k]->p_blackhole_pos)    (signal_cfg_router);
     445        (*int_router_rsp[k]->p_blackhole_pos)    (signal_cfg_router_rsp[k]);
    446446        for (int i = 0; i < 4; i++)
    447447        {
     
    554554        else                     xicu->p_hwi[i]  (signal_false);
    555555    }
    556     xicu->p_cfg[0]                               (signal_cfg_router);
     556    xicu->p_cfg[0]                               (signal_cfg_router_cmd[0]); // CMD
     557    xicu->p_cfg[1]                               (signal_cfg_router_rsp[0]); // RSP
     558    xicu->p_cfg[2]                               (signal_cfg_router_cmd[1]); // M2P
     559    xicu->p_cfg[3]                               (signal_cfg_router_rsp[1]); // P2M
     560    xicu->p_cfg[4]                               (signal_cfg_router_cmd[2]); // CLACK
    557561
    558562    ///////////////////////////////////// MEMC
Note: See TracChangeset for help on using the changeset viewer.