Changeset 858


Ignore:
Timestamp:
Oct 23, 2014, 4:18:22 PM (9 years ago)
Author:
cfuguet
Message:

reconf: using a fixed processor's local ID width

  • Modifying the arch.py script to implement a fixed-width for the local processor ID.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/platforms/tsar_generic_iob/scripts/arch.py

    r831 r858  
    3333#  - X_WIDTH        : number of bits for x coordinate
    3434#  - Y_WIDTH        : number of bits for y coordinate
    35 #  - p_width        : number of bits for processor local id field
     35#  - P_WIDTH        : number of bits for processor local id field
    3636#  - PADDR_WIDTH    : number of bits for physical address
    3737#  - IRQ_PER_PROC   : number of input IRQs per processor
     
    4949X_WIDTH = 4
    5050Y_WIDTH = 4
     51P_WIDTH = 2
    5152X_IO = 0
    5253Y_IO = 0
     
    7172    """This function describes the tsar_generic_iob platform and defines its
    7273    parameters"""
    73 
    74     p_width = log(nb_procs, 2)
    7574
    7675    # parameters checking
     
    142141                      x_width=X_WIDTH,
    143142                      y_width=Y_WIDTH,
    144                       p_width=p_width,
     143                      p_width=P_WIDTH,
    145144                      paddr_width=PADDR_WIDTH,
    146145                      coherence=True,
Note: See TracChangeset for help on using the changeset viewer.