Changeset 1027


Ignore:
Timestamp:
Dec 20, 2015, 7:30:47 PM (9 years ago)
Author:
cfuguet
Message:

Improving documentation of the reconfiguration/tsar_generic_iob
platform.

Location:
branches/reconfiguration/platforms/tsar_generic_iob
Files:
1 added
5 edited

Legend:

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

    r991 r1027  
    200200    parser.add_argument(
    201201        '--faulty-router', '-fr', dest='faultyrouter', action='append', nargs=3,
    202         help='ID (T,X,Y) of faulty router. The T is 0:CMD, 1:RSP')
     202        help='ID (T,X,Y) of faulty router. \
     203        The T is 0:CMD, 1:RSP, 2:M2P, 3:P2M, 4:CLACK. \
     204        The three arguments are space-separated. \
     205        (e.g. -fr 2 1 1, router M2P (1,1) is deactivated')
    203206
    204207    parser.add_argument(
     
    208211    parser.add_argument(
    209212        '--faulty-core', '-fc', dest='faultycore', action='append', nargs=3,
    210         help='ID (X,Y,L) of faulty processor')
     213        help='ID (X,Y,L) of faulty processor. \
     214        The three arguments are space-separated. \
     215        (e.g. -fc 0 1 3, core (0,1,3) is deactivated')
    211216
    212217    parser.add_argument(
     
    224229    parser.add_argument(
    225230        '--disk-image', '-di', dest='diskimage', default="/dev/null",
    226         help='relative or absolute path to the external firmware')
     231        help='relative or absolute path to the disk image used by the IOC')
    227232
    228233    parser.add_argument(
  • branches/reconfiguration/platforms/tsar_generic_iob/soclib.conf

    r957 r1027  
     1from os import environ
     2from os.path import join
     3
    14# append compilation flags
    2 cflags = config.default.toolchain.cflags
     5#cflags = config.default.toolchain.cflags
     6#cflags.extend(['-Wno-unknown-warning-option'])
    37#cflags.extend(['-ggdb'])
    4 config.default.toolchain.set("cflags", cflags)
     8#config.default.toolchain.set("cflags", cflags)
    59
    610# append modules' description file paths
    7 from os import environ
    8 from os.path import join
     11# set the TSARPATH env variable to the path of TSAR's soclib working directory
     12# (e.g. export TSARPATH=<path_to_tsar>). Otherwise, modify hereafter the
     13# tsarpath variable, and set the path explicitly.
    914tsarpath = environ['TSARPATH']
    1015config.addDescPath(join(tsarpath, "trunk/lib"))
  • branches/reconfiguration/platforms/tsar_generic_iob/top.cpp

    r1015 r1027  
    474474   }
    475475
    476    // Activate Distributed Boot (set by environment variable)
    477    // When this is activated, every processor boots with its instruction and data
    478    // physical address extension register initialized to its cluster index
    479    // (X_LOCAL, Y_LOCAL). To support this feature, a distributed ROM is
    480    // implemented in each cluster.
    481 
    482    const bool distributed_boot = (getenv("DISTRIBUTED_BOOT") != NULL);
    483 
    484476   // checking hardware parameters
    485477   assert( (X_SIZE <= (1 << X_WIDTH)) and
     
    514506             << " - RAM_LATENCY     = " << XRAM_LATENCY << std::endl
    515507             << " - MAX_FROZEN      = " << frozen_cycles << std::endl
    516              << " - DIST_BOOT       = " << distributed_boot << std::endl
    517508             << " - DEBUG_PROCID    = " << debug_proc_id << std::endl
    518509             << " - DEBUG_MEMCID    = " << debug_memc_id << std::endl
     
    11701161                IRQ_PER_PROCESSOR,
    11711162
    1172                 distributed_boot,
    11731163                disable_cluster_procs[x][y],
    11741164
  • branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/include/tsar_iob_cluster.h

    r1015 r1027  
    241241                    size_t                             irq_per_proc,
    242242
    243                     bool                               distboot,
    244243                    bool                               disable_procs,
    245244
  • branches/reconfiguration/platforms/tsar_generic_iob/tsar_iob_cluster/caba/source/src/tsar_iob_cluster.cpp

    r1015 r1027  
    7979        size_t                             irq_per_proc,
    8080
    81         bool                               distboot,
    8281        bool                               disable_procs,
    8382
     
    156155        // initialize physical address extension with cluster ID when using
    157156        // distributed boot
    158         if (distboot)
    159         {
    160             proc[p]->set_dcache_paddr_ext_reset(cluster_id);
    161             proc[p]->set_icache_paddr_ext_reset(cluster_id);
    162         }
     157        proc[p]->set_dcache_paddr_ext_reset(cluster_id);
     158        proc[p]->set_icache_paddr_ext_reset(cluster_id);
    163159    }
    164160
Note: See TracChangeset for help on using the changeset viewer.