Changeset 586 for trunk/tools/arch_info/genarch.py
- Timestamp:
- Nov 1, 2018, 12:33:12 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/arch_info/genarch.py
r575 r586 14 14 # to store the "arch_info.bin" file are defined by parameters on the command line: 15 15 # --arch=string : path to directory containing the "arch_info.py" file 16 # --bin=string : path to directory store the "arch_info.bin" file16 # --bin=string : path to directory to store the "arch_info.bin" file 17 17 # 18 18 # As the target architecture is generic, the following hardware parameters can be … … 23 23 # --nb_ttys=int : number of TTY channels 24 24 # --nb_nics=int : number of NIC channels 25 # --fbf_size=int : frame buffer width & heigth26 25 # --ioc_type=string : can be IOC_BDV , IOC_HBA , IOC_SDC , IOC_SPI 26 # --txt_type=string : can be TXT_TTY , TXT_MTY 27 # --fbf_type=string : can be FBF_LTI , FBF_SCL 28 # --sys_clk=int : system clock frequency (Hz) 27 29 # 28 30 # The following parameters can be used to generate the optional "hard_config.h" file, … … 71 73 help = 'define number ot NIC channels' ) 72 74 73 parser.add_option( '--fbf_size', type = 'int', dest = 'fbf_size',74 default = 128,75 help = 'define frame buffer width and heigth' )76 77 75 parser.add_option( '--ioc_type', type = 'string', dest = 'ioc_type', 78 76 default = 'IOC_BDV', 79 help = 'define type of IOC: BDV / HBA / SDC / RDK / SPI' ) 77 help = 'IOC type : BDV / HBA / SDC / RDK / SPI' ) 78 79 parser.add_option( '--txt_type', type = 'string', dest = 'txt_type', 80 default = 'TXT_TTY', 81 help = 'TXT type : TTY / RS2 / MTY' ) 82 83 parser.add_option( '--fbf_type', type = 'string', dest = 'fbf_type', 84 default = 'FBF_SCL', 85 help = 'FBF type : LTI / SCL' ) 80 86 81 87 parser.add_option( '--sys_clk', type = 'int', dest = 'sys_clk', 82 default = 25000, 83 help = 'define system clock frequency (25MHz for FPGA, 600MHz for TSARLET)' ) 84 85 parser.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 default = 50000, 89 help = 'system clock frequency (50 KHz simu / 25 MHz FPGA, 600 MHz VLSI)' ) 88 90 89 91 parser.add_option( '--hard', type = 'string', dest = 'hard_path', … … 110 112 nb_cores = options.nb_cores # number of cores in a cluster 111 113 nb_ttys = options.nb_ttys # number of TTY channels 112 fbf_size = options.fbf_size # frame buffer width & heigth113 114 nb_nics = options.nb_nics # number of NIC channels 114 115 ioc_type = options.ioc_type # ioc controller type 115 sys_clk = options.sys_clk # system clock frequency in kHz 116 segs_set = options.segs_set # Set of base addresses used (simu or real) 116 txt_type = options.txt_type # txt terminal type 117 fbf_type = options.fbf_type # fbf terminal type 118 sys_clk = options.sys_clk # system clock frequency in Hertz 117 119 118 120 hard_path = options.hard_path # path for hard_config.h file … … 143 145 nb_ttys, 144 146 nb_nics, 145 fbf_size, 146 ioc_type ) 147 ioc_type, 148 txt_type, 149 fbf_type, 150 sys_clk ) 147 151 148 152 print '[genarch] archinfo build for %s' % archinfo.name
Note: See TracChangeset
for help on using the changeset viewer.