- Timestamp:
- Jul 3, 2020, 7:19:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/asp3_dcre/tecsgen/tecslib/plugin/HRP2AlarmHandlerPlugin.rb
r321 r429 34 34 # アの利用により直接的または間接的に生じたいかなる損害に関しても,そ 35 35 # の責任を負わない. 36 # 37 # $Id: HRP2AlarmHandlerPlugin.rb 2640 2017-06-03 11:27:12Z okuma-top $ 36 38 # 37 39 #++ … … 50 52 def print_cfg_cre(file, cell, val, tab) 51 53 val[:id] = val[:id].gsub( /(^|[^\$])\$id\$/, "\\1#{@celltype.get_name.to_s}_#{cell.get_name.to_s}" ) 52 # $cbp$ の代わり53 index = cell.get_id - @celltype.get_id_base54 cell_CB _name = "#{@celltype.get_global_name}_CB_tab[#{index}]"54 # $cbp$ #983 55 name_array = @celltype.get_name_array cell 56 cell_CBP = name_array[8] # CBP 55 57 # CRE_XXXの生成 56 58 if (cell.get_region.get_region_type != :DOMAIN) || (cell.get_region.get_param != :KERNEL_DOMAIN) … … 59 61 else 60 62 file.print <<EOT 61 #{tab}CRE_ALM(#{val[:id]}, { #{val[:attribute]}, &#{cell_CB_name}, tAlarmHandler_start });63 #{tab}CRE_ALM(#{val[:id]}, { #{val[:attribute]}, #{cell_CBP}, tAlarmHandler_start }); 62 64 EOT 63 65 end
Note:
See TracChangeset
for help on using the changeset viewer.