Ignore:
Timestamp:
Mar 27, 2015, 5:21:52 PM (9 years ago)
Author:
alain
Message:

Fix a bug in platform tsar_generic_iob to support more than 4 processors per cluster.
The hard_config.h file format has also been enriched.

File:
1 edited

Legend:

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

    r802 r959  
    7272                    size_t                             l1_d_sets,
    7373                    size_t                             xram_latency,
    74                     size_t                             xcu_nb_inputs,
     74                    size_t                             xcu_nb_hwi,
     75                    size_t                             xcu_nb_pti,
     76                    size_t                             xcu_nb_wti,
     77                    size_t                             xcu_nb_out,
    7578
    7679                    const Loader                      &loader,
     
    178181                     mt_int,                              // mapping table INT network
    179182                     IntTab(cluster_id, int_xicu_tgt_id), // TGTID direct space
    180                      xcu_nb_inputs,                       // number of timer IRQs
    181                      xcu_nb_inputs,                       // number of hard IRQs
    182                      xcu_nb_inputs,                       // number of soft IRQs
    183                      16);                                 // number of output IRQs
     183                     xcu_nb_pti,                          // number of timer IRQs
     184                     xcu_nb_hwi,                          // number of hard IRQs
     185                     xcu_nb_wti,                          // number of soft IRQs
     186                     xcu_nb_out);                         // number of output IRQs
    184187
    185188    ////////////  MDMA
     
    503506    xicu->p_resetn                               (this->p_resetn);
    504507    xicu->p_vci                                  (signal_int_vci_tgt_xicu);
    505     for ( size_t i=0 ; i < 16  ; i++)
     508    for ( size_t i=0 ; i < xcu_nb_out  ; i++)
    506509    {
    507510        xicu->p_irq[i]                           (signal_proc_it[i]);
    508511    }
    509     for ( size_t i=0 ; i < xcu_nb_inputs ; i++)
     512    for ( size_t i=0 ; i < xcu_nb_hwi ; i++)
    510513    {
    511514        if      ( i == 0 )       xicu->p_hwi[i]  (signal_irq_memc);
Note: See TracChangeset for help on using the changeset viewer.