Index: io_lihata_ver.html =================================================================== --- io_lihata_ver.html (revision 38227) +++ io_lihata_ver.html (revision 38228) @@ -116,6 +116,8 @@
  • remove change_attrib operation
  • introduce change_net_attrib operation for net attribs
  • introduce change_comp_attrib operation for component (subc) attribs +
  • introduce comp_add operation +
  • introduce comp_del operation

    lihata subcircuit

    Index: lihata_format/pcb-rnd-board-v.svg =================================================================== --- lihata_format/pcb-rnd-board-v.svg (revision 38227) +++ lihata_format/pcb-rnd-board-v.svg (revision 38228) @@ -4,11 +4,11 @@ - + ha:pcb-rnd-board-v* - + /lht_tree_doc/roots/pcb-rnd-board-v* @@ -94,61 +94,61 @@ - + dup4_/lht_tree_doc/roots/pcb-rnd-board-v*/children/conf - + conf -> - + /lht_tree_doc/roots/pcb-rnd-board-v*->dup4_/lht_tree_doc/roots/pcb-rnd-board-v*/children/conf - + dup5_/lht_tree_doc/roots/pcb-rnd-board-v*/children/data - + data -> - + /lht_tree_doc/roots/pcb-rnd-board-v*->dup5_/lht_tree_doc/roots/pcb-rnd-board-v*/children/data - + dup6_/lht_tree_doc/roots/pcb-rnd-board-v*/children/pixmaps - + pixmaps -> - + /lht_tree_doc/roots/pcb-rnd-board-v*->dup6_/lht_tree_doc/roots/pcb-rnd-board-v*/children/pixmaps - + dup7_/lht_tree_doc/comm/attributes - - -ha:attributes + + +ha:attributes - + /lht_tree_doc/roots/pcb-rnd-board-v*->dup7_/lht_tree_doc/comm/attributes - - + + @@ -787,8 +787,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/input - -li:input + +li:input @@ -795,15 +795,15 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/input - - + + /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch - -li:netlist_patch + +li:netlist_patch @@ -810,15 +810,15 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch - - + + /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/input/children/NETNAME - -ha:NETNAME + +ha:NETNAME @@ -825,8 +825,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/input->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/input/children/NETNAME - - + + @@ -842,8 +842,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/input/children/NETNAME->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/input/children/NETNAME/children/style - - + + @@ -857,8 +857,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/input/children/NETNAME->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/input/children/NETNAME/children/conn - - + + @@ -873,8 +873,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/input/children/NETNAME->dup3_/lht_tree_doc/comm/attributes_v5p - - + + @@ -920,15 +920,15 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/net_info - - + + /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/add_conn - -ha:add_conn + +ha:add_conn @@ -935,15 +935,15 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/add_conn - - + + /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/del_conn - -ha:del_conn + +ha:del_conn @@ -950,16 +950,16 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/del_conn - - + + /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_attrib - -ha:change_attrib -<9 + +ha:change_attrib +<9 @@ -966,16 +966,16 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_attrib - - + + /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_net_attrib - -ha:change_net_attrib ->=9 + +ha:change_net_attrib +>=9 @@ -982,16 +982,16 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_net_attrib - - + + /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_comp_attrib - -ha:change_comp_attrib ->=9 + +ha:change_comp_attrib +>=9 @@ -998,9 +998,41 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_comp_attrib - - + + + + +/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/comp_add + + +ha:comp_add +>=9 + + + + + +/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/comp_add + + + + + +/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/comp_del + + +ha:comp_del +>=9 + + + + + +/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/comp_del + + + /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/net_info/children/net @@ -1046,8 +1078,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/add_conn->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/add_conn/children/net - - + + @@ -1062,8 +1094,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/add_conn->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/add_conn/children/term - - + + @@ -1078,8 +1110,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/del_conn->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/del_conn/children/net - - + + @@ -1094,8 +1126,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/del_conn->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/del_conn/children/term - - + + @@ -1110,8 +1142,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_attrib->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_attrib/children/net - - + + @@ -1126,8 +1158,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_attrib->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_attrib/children/key - - + + @@ -1142,8 +1174,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_attrib->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_attrib/children/val - - + + @@ -1158,8 +1190,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_net_attrib->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_net_attrib/children/net - - + + @@ -1174,8 +1206,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_net_attrib->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_net_attrib/children/key - - + + @@ -1190,8 +1222,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_net_attrib->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_net_attrib/children/val - - + + @@ -1206,8 +1238,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_comp_attrib->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_comp_attrib/children/comp - - + + @@ -1222,8 +1254,8 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_comp_attrib->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_comp_attrib/children/key - - + + @@ -1238,24 +1270,56 @@ /lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_comp_attrib->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/change_comp_attrib/children/val - - + + + + +/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/comp_add/children/comp + + +comp +string + + + + + +/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/comp_add->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/comp_add/children/comp + + + + + +/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/comp_del/children/comp + + +comp +string + + + + + +/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/comp_del->/lht_tree_doc/roots/pcb-rnd-board-v*/children/netlists/children/netlist_patch/children/comp_del/children/comp + + + - + dup7_/lht_tree_doc/comm/attributes/children/attrib-key - - -attrib-key -string + + +attrib-key +string - + dup7_/lht_tree_doc/comm/attributes->dup7_/lht_tree_doc/comm/attributes/children/attrib-key - - + + Index: lihata_format/root_board.lht =================================================================== --- lihata_format/root_board.lht (revision 38227) +++ lihata_format/root_board.lht (revision 38228) @@ -195,6 +195,22 @@ ha:val { valtype=string; desc={new value of the attribute}} } } + ha:comp_add { + type=ha + ver {>=9} + desc { create a new subcircuit (component in netlist terminology) } + li:children { + ha:comp { valtype=string; desc={component refdes }} + } + } + ha:comp_del { + type=ha + ver {>=9} + desc { remove a subcircuit (component in netlist terminology) } + li:children { + ha:comp { valtype=string; desc={component refdes }} + } + } } } Index: lihata_format/tree.html =================================================================== --- lihata_format/tree.html (revision 38227) +++ lihata_format/tree.html (revision 38228) @@ -86,6 +86,10 @@
        comp string   component refdes whose attribute needs to be changed
        key string   key (name) of the attribute
        val string   new value of the attribute +
       ha:comp_add   >=9 create a new subcircuit (component in netlist terminology) +
        comp string   component refdes +
       ha:comp_del   >=9 remove a subcircuit (component in netlist terminology) +
        comp string   component refdes
     li:conf     complete pcb-rnd configuration tree ->
     ha:data     Layers and global objects of the board ->
     ha:pixmaps   >=7 Collection of all unique pixmaps used by the board or footprint -> Index: lihata_format/tree.txt =================================================================== --- lihata_format/tree.txt (revision 38227) +++ lihata_format/tree.txt (revision 38228) @@ -80,6 +80,10 @@ comp string component refdes whose attribute needs to be changed key string key (name) of the attribute val string new value of the attribute + ha:comp_add >=9 create a new subcircuit (component in netlist terminology) + comp string component refdes + ha:comp_del >=9 remove a subcircuit (component in netlist terminology) + comp string component refdes li:conf complete pcb-rnd configuration tree -> ha:data Layers and global objects of the board -> ha:pixmaps >=7 Collection of all unique pixmaps used by the board or footprint ->