Ignore:
Timestamp:
Mar 26, 2014, 6:44:44 PM (11 years ago)
Author:
alain
Message:

Introducing a major release, to suppoort the tsar_generic_leti platform
and the various (external or internal) peripherals configurations.
The map.xml format has been modified, in order to support the new
vci_iopic componentand a new policy for peripherals initialisation.
The IRQs are nom described in the XICU and IOPIC components
(and not anymore in the processors).
To enforce this major change, the map.xml file signature changed:
The signature value must be: 0xDACE2014

This new release has been tested on the tsar_generic_leti platform
for the following mappings:

  • 4c_4p_sort_leti
  • 4c_4p_sort_leti_ext
  • 4c_4p_transpose_leti
  • 4c_4p_transpose_leti_ext
  • 4c_1p_four_leti_ext
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/display/main.c

    r258 r295  
    1 #include <stdio.h>
     1#include "stdio.h"
     2#include "hard_config.h"
    23
    34#define NBLOCKS 32   // (128 * 128) / 512
     
    78__attribute__((constructor)) void main()
    89
    9     int           fd;
    10     int           blocks;
    11     unsigned int  ko;
    12     unsigned int  blocks_to_skip = 8*NBLOCKS;
     10    int             fd;
     11    int             blocks;
     12    unsigned int    ko;
     13    unsigned int    blocks_to_skip = 8*NBLOCKS;
    1314
    14     giet_tty_printf("\nStarting task DISPLAY on processor %d at cycle %d\n",
    15                     giet_procid(), giet_proctime() );
     15    unsigned int    procid     = giet_procid();
     16    unsigned int    cluster_xy = procid/NB_PROCS_MAX;
     17    unsigned int    lpid       = procid%NB_PROCS_MAX;
     18    unsigned int    x          = cluster_xy >> Y_WIDTH;
     19    unsigned int    y          = cluster_xy & ((1<<Y_WIDTH)-1);
     20
     21    giet_tty_printf( "*** Starting task display on processor[%d,%d,%d] at cycle %d\n\n",
     22                      x, y, lpid, giet_proctime() );
    1623
    1724    ///////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.