Ignore:
Timestamp:
Oct 4, 2014, 3:16:21 PM (10 years ago)
Author:
alain
Message:

Introducing fixed format (X_WIDTH / Y_WIDTH / P_WIDTH ) for processor index.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/tim_driver.c

    r333 r426  
    223223#if NB_TIM_CHANNELS
    224224
    225     unsigned int cluster_xy = _get_procid() / NB_PROCS_MAX;
     225    unsigned int cluster_xy = _get_procid() >> P_WIDTH;
    226226
    227227    // acknowledge IRQ depending on type
Note: See TracChangeset for help on using the changeset viewer.