Ignore:
Timestamp:
Mar 30, 2015, 11:26:28 AM (9 years ago)
Author:
cfuguet
Message:

reconf: merge commit 959 concerning parameters of the XICU

  • All four parameters (HWI, PTI, WTI and IRQ) has their own width constant in the hard_config.h.
Location:
branches/reconfiguration/platforms/tsar_generic_iob
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/platforms/tsar_generic_iob/top.cpp

    r957 r961  
    8585// - FBUF_X_SIZE      : width of frame buffer (pixels)
    8686// - FBUF_Y_SIZE      : heigth of frame buffer (lines)
    87 // - XCU_NB_INPUTS    : number of HWIs = number of WTIs = number of PTIs
     87// - XCU_NB_HWI       : number of HWIs
     88// - XCU_NB_PTI       : number of PTIs
     89// - XCU_NB_WTI       : number of WTIs
     90// - XCU_NB_OUT       : number of OUTs
    8891//
    8992// Some secondary hardware parameters must be defined in this top.cpp file:
     
    11531156                L1_DSETS,
    11541157                XRAM_LATENCY,
    1155                 XCU_NB_INPUTS,
     1158                XCU_NB_HWI,
     1159                XCU_NB_PTI,
     1160                XCU_NB_WTI,
     1161                XCU_NB_OUT,
    11561162
    11571163                distributed_boot,
  • branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/include/tsar_iob_cluster.h

    r926 r961  
    233233                    size_t                             l1_d_sets,
    234234                    size_t                             xram_latency,
    235                     size_t                             xcu_nb_inputs,
     235                    size_t                             xcu_nb_hwi,
     236                    size_t                             xcu_nb_pti,
     237                    size_t                             xcu_nb_wti,
     238                    size_t                             xcu_nb_out,
    236239
    237240                    bool                               distboot,
  • branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp

    r931 r961  
    7373        size_t                             l1_d_sets,
    7474        size_t                             xram_latency,
    75         size_t                             xcu_nb_inputs,
     75        size_t                             xcu_nb_hwi,
     76        size_t                             xcu_nb_pti,
     77        size_t                             xcu_nb_wti,
     78        size_t                             xcu_nb_out,
    7679
    7780        bool                               distboot,
     
    193196                     mt_int,                              // mapping table INT network
    194197                     IntTab(cluster_id, int_xicu_tgt_id), // TGTID direct space
    195                      xcu_nb_inputs,                       // number of timer IRQs
    196                      xcu_nb_inputs,                       // number of hard IRQs
    197                      xcu_nb_inputs,                       // number of soft IRQs
    198                      16,                                  // number of output IRQs
     198                     xcu_nb_pti,                          // number of timer IRQs
     199                     xcu_nb_hwi,                          // number of hard IRQs
     200                     xcu_nb_wti,                          // number of soft IRQs
     201                     xcu_nb_out,                          // number of output IRQs
    199202                     5);                                  // number of config regs
    200203
     
    542545    xicu->p_resetn                               (this->p_resetn);
    543546    xicu->p_vci                                  (signal_int_vci_tgt_xicu);
    544     for ( size_t i=0 ; i < 16 ; i++)
     547    for ( size_t i=0 ; i < xcu_nb_out ; i++)
    545548    {
    546549        xicu->p_irq[i]                           (signal_proc_it[i]);
    547550    }
    548     for ( size_t i=0 ; i < xcu_nb_inputs ; i++)
     551    for ( size_t i=0 ; i < xcu_nb_hwi ; i++)
    549552    {
    550553        if      ( i == 0 )       xicu->p_hwi[i]  (signal_irq_memc);
Note: See TracChangeset for help on using the changeset viewer.