Changeset 553 for trunk/tools/arch_info


Ignore:
Timestamp:
Sep 21, 2018, 10:24:58 PM (6 years ago)
Author:
nicolas.van.phan@…
Message:

Add SEGS_SET param in params-hard.mk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/arch_info/genarch.py

    r548 r553  
    8383                   help = 'define system clock frequency (25MHz for FPGA, 600MHz for TSARLET)' )
    8484
     85parser.add_option( '--segs_set', type = 'string', dest = 'segs_set',
     86                   default = 'SIMU',
     87                   help = 'define which set of base addresses to use (may differ between simulation and real machine' )
     88
    8589parser.add_option( '--hard', type = 'string', dest = 'hard_path',
    8690                   help = 'define pathname to directory for the hard_config.h file ' )
     
    110114ioc_type       = options.ioc_type    # ioc controller type
    111115sys_clk        = options.sys_clk     # system clock frequency in kHz
     116segs_set       = options.segs_set    # Set of base addresses used (simu or real)
    112117
    113118hard_path      = options.hard_path   # path for hard_config.h file
     
    139144                        nb_nics,
    140145                        fbf_size,
    141                         ioc_type )
     146                        ioc_type,
     147                        segs_set )
    142148
    143149print '[genarch] archinfo build for %s' % archinfo.name
Note: See TracChangeset for help on using the changeset viewer.