// File: soic_20 // // Date: 13-AUG-2012 // // // This is the SOIC-20 geometry // // On the CMX card this geometry is used for the // SN74LVT245BDWR and SN74LVTH574DWR chips that // connect the data and control signals to the VME Bus. $abort_enable = @false; $$lock_windows(@on) ; $$snap_diagonal(@off) ; $$snap_orthogonal(@off) ; //---------------------------------------------------------------------------- $$create_pin("soic_20_pad", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'PI$soic_20_pad']); $$point_mode(@vertex); $$polygon( "PAD", , [1.200, 0.320, 1.200, -0.320, -1.200, -0.320, -1.200, 0.320, 1.200, 0.320] ); $$polygon( "SOLDER_MASK", , [1.250, 0.370, 1.250, -0.370, -1.250, -0.370, -1.250, 0.370, 1.250, 0.370] ); $$polygon( "PASTE_MASK", , [1.200, 0.320, 1.200, -0.320, -1.200, -0.320, -1.200, 0.320, 1.200, 0.320] ); $$attribute( "TERMINAL_SURFACE_DEFINITION", ""); //---------------------------------------------------------------------------- $$create_component("soic_20", @replace); $$page(0.0,0.0,0.0, @mm, 0.0, 0.0, [0.0, 0.0, 'CO$soic_20']); $$point_mode(@vertex); $$attribute( "COMPONENT_LAYOUT_TYPE", "surface"); $$attribute( "COMPONENT_LAYOUT_SURFACE", "both"); $$attribute( "COMPONENT_HEIGHT", "2.65", , @scale , , [0.0, 0.0] ); $$attribute( "COMPONENT_PLACEMENT_OUTLINE", "", , @scale , , [ -6.00, -7.00, 6.00, -7.00, 6.00, 7.00, -6.00, 7.00 ] ); // Silkscreen: Horz Bot, Vert Right, Horz Top, Diag, Vert Left $$path( "SILKSCREEN", 0.20 , , [ -3.00, -6.00, 3.00, -6.00 ] ); $$path( "SILKSCREEN", 0.20 , , [ 3.00, -6.00, 3.00, 6.00 ] ); $$path( "SILKSCREEN", 0.20 , , [ 3.00, 6.00, -1.00, 6.00 ] ); $$path( "SILKSCREEN", 0.20 , , [ -1.00, 6.00, -3.00, 4.00 ] ); $$path( "SILKSCREEN", 0.20 , , [ -3.00, 4.00, -3.00, -6.00 ] ); // Reference Designator $$text( "SILKSCREEN", "^$ref", 0.0, 0.0, 2.5, @CC, 90, 0.7, 0.20, "std", "None", 0.0, 0.0 ); // Box at Pin #1. // 2x Horz inner $$path( "SILKSCREEN", 0.25 , , [-6.50, 5.90, -6.90, 5.90] ); $$path( "SILKSCREEN", 0.25 , , [-6.50, 5.50, -6.90, 5.50] ); // 2x Vert inner $$path( "SILKSCREEN", 0.25 , , [-6.90, 5.90, -6.90, 5.50] ); $$path( "SILKSCREEN", 0.25 , , [-6.50, 5.90, -6.50, 5.50] ); // 2x Horz outer $$path( "SILKSCREEN", 0.25 , , [-7.10, 6.10, -6.30, 6.10] ); $$path( "SILKSCREEN", 0.25 , , [-7.10, 5.30, -6.30, 5.30] ); // 2x Vert outer $$path( "SILKSCREEN", 0.25 , , [-7.10, 6.10, -7.10, 5.30] ); $$path( "SILKSCREEN", 0.25 , , [-6.30, 6.10, -6.30, 5.30] ); // Define the pins $$attribute( "COMPONENT_PIN_DEFINITION", "20", , @scale , , [4.600, 5.715]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "20, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "19", , @scale , , [4.600, 4.445]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "19, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "18", , @scale , , [4.600, 3.175]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "18, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "17", , @scale , , [4.600, 1.905]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "17, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "16", , @scale , , [4.600, 0.635]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "16, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "15", , @scale , , [4.600, -0.635]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "15, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "14", , @scale , , [ 4.600, -1.905]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "14, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "13", , @scale , , [ 4.600, -3.175]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "13, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "12", , @scale , , [ 4.600, -4.445]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "12, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "11", , @scale , , [ 4.600, -5.715]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "11, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "10", , @scale , , [-4.600, -5.715]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "10, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "9", , @scale , , [-4.600, -4.445]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "9, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "8", , @scale , , [-4.600, -3.175]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "8, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "7", , @scale , , [-4.600, -1.905]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "7, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "6", , @scale , , [-4.600, -0.635]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "6, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "5", , @scale , , [-4.600, 0.635]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "5, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "4", , @scale , , [-4.600, 1.905]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "4, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "3", , @scale , , [-4.600, 3.175]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "3, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "2", , @scale , , [-4.600, 4.445]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "2, soic_20_pad"); $$attribute( "COMPONENT_PIN_DEFINITION", "1", , @scale , , [-4.600, 5.715]); $$attribute( "COMPONENT_PADSTACK_OVERRIDE", "1, soic_20_pad");