Ignore:
Timestamp:
Feb 12, 2014, 9:51:23 AM (10 years ago)
Author:
alain
Message:
  • Updatre the gier_tsar to support the vci_iopic component in the tsar_generic_leti plat-form.
  • Modify the soft_transpose_giet application to make optional the graphic display on frame buffer and to introduce a systematic auto-check
Location:
trunk/softs/soft_sort_giet
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/soft_sort_giet/hard_config.h

    r626 r629  
    1414#define  NB_PROCS_MAX        4
    1515
     16#define  USE_EXT_IO          1
     17
    1618#define  NB_DMA_CHANNELS     0
    17 #define  NB_TTY_CHANNELS     (NB_PROCS_MAX * X_SIZE * Y_SIZE)
    1819#define  NB_HBA_CHANNELS     0
    1920#define  NB_NIC_CHANNELS     0
    2021#define  NB_CMA_CHANNELS     0
    2122
     23#define  NB_TTY_CHANNELS     4
    2224
    2325#endif //_HARD_CONFIG_H
  • trunk/softs/soft_sort_giet/ldscript

    r626 r629  
    11/**********************************************************
    22        File : ldscript
    3         Author : Cesar Fuguet
     3        Author : Alain Greiner
    44        Date : January 2014
    55**********************************************************/
     
    2323
    2424seg_xcu_base    = 0xF0000000;       /* controler XCU */
    25 seg_tty_base    = 0xF2000000;       /* controler TTY */
     25seg_tty_base    = 0xF4000000;       /* controler TTY */
    2626seg_fbf_base    = 0xF3000000;       /* controler FBF */
    27 seg_ioc_base    = 0xF4000000;       /* controler IOC */
    28 seg_mmc_base    = 0xFF000000;       /* config    MMC */
     27seg_ioc_base    = 0xF2000000;       /* controler IOC */
     28seg_nic_base    = 0xF7000000;       /* controler NIC */
     29seg_cma_base    = 0xF8000000;       /* controler CMA */
     30seg_pic_base    = 0xF9000000;       /* controler PIC */
     31seg_mmc_base    = 0xE0000000;       /* config    MMC */
    2932
    3033
  • trunk/softs/soft_sort_giet/main.c

    r626 r629  
    5757    /* Hello World */
    5858
    59     task0_printf("\n[ PROC %d\t] Starting SORT application\n", proc_id);
    60 
    61     task0_printf("[ PROC %d\t] MESH %d x %d x %d processors\n",
    62                  proc_id, X_SIZE, Y_SIZE, NB_PROCS_MAX);
    63 
    64     /**************************************************************************/
    65     /* Barriers Inititialitatin */
     59    task0_printf("\n[ PROC_%d_%d_%d ] Starting SORT application\n",x,y,lid);
     60
     61    task0_printf("[ PROC_%d_%d_%d ] MESH %d x %d x %d processors\n",
     62                 x,y,lid, X_SIZE, Y_SIZE, NB_PROCS_MAX);
     63
     64    /**************************************************************************/
     65    /* Barriers Initialisation */
    6666
    6767    if (thread_id == 0)
     
    6969        for (i = 0; i < __builtin_ctz(total_procs); i++)
    7070        {
    71             printf("[ PROC %d\t] Initializing barrier %d with %d\n",
    72                 proc_id, i, total_procs >> i);
     71            printf("[ PROC_%d_%d_%d ] Initializing barrier %d with %d\n",
     72                x,y,lid, i, total_procs >> i);
    7373
    7474            _barrier_init(i, total_procs >> i);
    7575        }
    76 
     76        printf("\n");
    7777        asm volatile ("sync");
    7878        init_ok = 1;
     
    8080
    8181    /**************************************************************************/
    82     /* Array Inititialitatin */
     82    /* Array Initialisation */
    8383
    8484    for (i = IPP * thread_id; i < IPP * (thread_id + 1); i++)
     
    9393    /* Parallel sorting of array pieces */
    9494
    95     printf("[ PROC %d\t] Stage 0: Processor Sorting...\n\r", proc_id);
     95    printf("[ PROC_%d_%d_%d ] Stage 0: Starting...\n\r", x,y,lid);
    9696    bubbleSort(array0, IPP, IPP * thread_id);
    97     printf("[ PROC %d\t] Stage 0: Finishing...\n\r", proc_id);
     97    printf("[ PROC_%d_%d_%d ] Stage 0: Finishing...\n\r", x,y,lid);
    9898
    9999    for (i = 0; i < __builtin_ctz(total_procs); i++)
     
    104104        if((thread_id % (2 << i)) != 0) _exit();
    105105
    106         printf("[ PROC %d\t] Stage %d: Starting...\n\r", proc_id, i+1);
     106        printf("[ PROC_%d_%d_%d ] Stage %d: Starting...\n\r", x,y,lid, i+1);
    107107
    108108        if((i % 2) == 0)
     
    124124                );
    125125
    126         printf("[ PROC %d\t] Stage %d: Finishing...\n\r", proc_id, i+1);
     126        printf("[ PROC_%d_%d_%d ] Stage %d: Finishing...\n\r", x,y,lid, i+1);
    127127    }
    128128
     
    147147        if (success)
    148148        {
    149             printf("[ PROC %d\t] Success!!\n\r", proc_id);
     149            printf("[ PROC_%d_%d_%d ] Success!!\n\r", x,y,lid);
    150150        }
    151151        else
Note: See TracChangeset for help on using the changeset viewer.