Coolquest, Inc. Home Products Support About Contact
cbold_logo_gif C++BOLD Example Parts Library cbold_logo_gif

<<  File View  >> Class View Parts Library Examples Home

 

// This File Generated by:  pt_to_h.exe
// Source File:             crb_connectors.pt
// Destination File:        crb_connectors.h
 
#ifndef _crb_connectors_h_
#define _crb_connectors_h_
 
// AR_OFF -- auto registration is not needed
 
// THIS FILE IS IN THE PUBLIC DOMAIN.
// IT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
// NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
class CP_CRB_J5P5 : public TPart {
 
public:
  port   RCLKIP;      
  port   RCLKOP;      
  port   SCLKOP;      
  port   TCLKOP;      
  port   RCLKIN;      
  port   RCLKON;      
  port   SCLKON;      
  port   TCLKON;      
  port   BUSY_N;      
  port   VPOS5;       // 6 pins  // connected on backplane to VME 5V and 3.3V power supplies
  port   VPOS3_3;     // 6 pins
  port   GND;         // 61 pins
  port   BG_B1;       // AR_BUS(7,0)
  port   BG_A1;       // AR_BUS(15,0)
  port   BG_B2;       // AR_BUS(15,0)
  port   BG_A2;       // AR_BUS(15,0)
  port   BG_B3;       // AR_BUS(15,0)
 
  CP_CRB_J5P5() {
    SetPackage( "CONN_2MM_7X22", 154 );     // 7x22 pin metric connector
    SetReferencePrefix( "J" );
  }
 
  virtual void Register() {
    reg(  RCLKIP );
          RCLKIP.SetPin( "A1" );
    reg(  RCLKOP );
          RCLKOP.SetPin( "B1" );
    reg(  SCLKOP );
          SCLKOP.SetPin( "C1" );
    reg(  TCLKOP );
          TCLKOP.SetPin( "D1" );
    reg(  RCLKIN );
          RCLKIN.SetPin( "A2" );
    reg(  RCLKON );
          RCLKON.SetPin( "B2" );
    reg(  SCLKON );
          SCLKON.SetPin( "C2" );
    reg(  TCLKON );
          TCLKON.SetPin( "D2" );
    reg(  BUSY_N );
          BUSY_N.SetPin( "E3" );
    reg(  VPOS5 );
          VPOS5.AddPin( "B6" );
          VPOS5.AddPin( "B7" );
          VPOS5.AddPin( "B8" );
          VPOS5.AddPin( "B9" );
          VPOS5.AddPin( "B10" );
          VPOS5.AddPin( "B11" );
    reg(  VPOS3_3 );
          VPOS3_3.AddPin( "B17" );
          VPOS3_3.AddPin( "B18" );
          VPOS3_3.AddPin( "B19" );
          VPOS3_3.AddPin( "B20" );
          VPOS3_3.AddPin( "B21" );
          VPOS3_3.AddPin( "B22" );
    reg(  GND );
          GND.AddPin( "Z22" );
          GND.AddPin( "Z21" );
          GND.AddPin( "Z20" );
          GND.AddPin( "Z19" );
          GND.AddPin( "Z18" );
          GND.AddPin( "Z17" );
          GND.AddPin( "Z16" );
          GND.AddPin( "Z15" );
          GND.AddPin( "Z14" );
          GND.AddPin( "Z13" );
          GND.AddPin( "Z12" );
          GND.AddPin( "Z11" );
          GND.AddPin( "Z10" );
          GND.AddPin( "Z9" );
          GND.AddPin( "Z8" );
          GND.AddPin( "Z7" );
          GND.AddPin( "Z6" );
          GND.AddPin( "Z5" );
          GND.AddPin( "Z4" );
          GND.AddPin( "Z3" );
          GND.AddPin( "Z2" );
          GND.AddPin( "Z1" );
          GND.AddPin( "A14" );
          GND.AddPin( "A3" );
          GND.AddPin( "B3" );
          GND.AddPin( "C20" );
          GND.AddPin( "C16" );
          GND.AddPin( "C12" );
          GND.AddPin( "C8" );
          GND.AddPin( "C4" );
          GND.AddPin( "C3" );
          GND.AddPin( "D3" );
          GND.AddPin( "E22" );
          GND.AddPin( "E18" );
          GND.AddPin( "E14" );
          GND.AddPin( "E10" );
          GND.AddPin( "E6" );
          GND.AddPin( "E2" );
          GND.AddPin( "E1" );
          GND.AddPin( "F22" );
          GND.AddPin( "F21" );
          GND.AddPin( "F20" );
          GND.AddPin( "F19" );
          GND.AddPin( "F18" );
          GND.AddPin( "F17" );
          GND.AddPin( "F16" );
          GND.AddPin( "F15" );
          GND.AddPin( "F14" );
          GND.AddPin( "F13" );
          GND.AddPin( "F12" );
          GND.AddPin( "F11" );
          GND.AddPin( "F10" );
          GND.AddPin( "F9" );
          GND.AddPin( "F8" );
          GND.AddPin( "F7" );
          GND.AddPin( "F6" );
          GND.AddPin( "F5" );
          GND.AddPin( "F4" );
          GND.AddPin( "F3" );
          GND.AddPin( "F2" );
          GND.AddPin( "F1" );
    regb( BG_B1, 7, 0 );
          BG_B1.AddPin( 7, "A4" );
          BG_B1.AddPin( 6, "B4" );
          BG_B1.AddPin( 5, "D4" );
          BG_B1.AddPin( 4, "E4" );
          BG_B1.AddPin( 3, "A5" );
          BG_B1.AddPin( 2, "B5" );
          BG_B1.AddPin( 1, "C5" );
          BG_B1.AddPin( 0, "D5" );
    regb( BG_A1, 15, 0 );
          BG_A1.AddPin( 15, "E5" );
          BG_A1.AddPin( 14, "A6" );
          BG_A1.AddPin( 13, "C6" );
          BG_A1.AddPin( 12, "D6" );
          BG_A1.AddPin( 11, "A7" );
          BG_A1.AddPin( 10, "C7" );
          BG_A1.AddPin( 9, "D7" );
          BG_A1.AddPin( 8, "E7" );
          BG_A1.AddPin( 7, "A8" );
          BG_A1.AddPin( 6, "D8" );
          BG_A1.AddPin( 5, "E8" );
          BG_A1.AddPin( 4, "A9" );
          BG_A1.AddPin( 3, "C9" );
          BG_A1.AddPin( 2, "D9" );
          BG_A1.AddPin( 1, "E9" );
          BG_A1.AddPin( 0, "A10" );
    regb( BG_B2, 15, 0 );
          BG_B2.AddPin( 15, "C10" );
          BG_B2.AddPin( 14, "D10" );
          BG_B2.AddPin( 13, "A11" );
          BG_B2.AddPin( 12, "C11" );
          BG_B2.AddPin( 11, "D11" );
          BG_B2.AddPin( 10, "E11" );
          BG_B2.AddPin( 9, "A12" );
          BG_B2.AddPin( 8, "B12" );
          BG_B2.AddPin( 7, "D12" );
          BG_B2.AddPin( 6, "E12" );
          BG_B2.AddPin( 5, "A13" );
          BG_B2.AddPin( 4, "B13" );
          BG_B2.AddPin( 3, "C13" );
          BG_B2.AddPin( 2, "D13" );
          BG_B2.AddPin( 1, "E13" );
          BG_B2.AddPin( 0, "B14" );
    regb( BG_A2, 15, 0 );
          BG_A2.AddPin( 15, "C14" );
          BG_A2.AddPin( 14, "D14" );
          BG_A2.AddPin( 13, "A15" );
          BG_A2.AddPin( 12, "B15" );
          BG_A2.AddPin( 11, "C15" );
          BG_A2.AddPin( 10, "D15" );
          BG_A2.AddPin( 9, "E15" );
          BG_A2.AddPin( 8, "A16" );
          BG_A2.AddPin( 7, "B16" );
          BG_A2.AddPin( 6, "D16" );
          BG_A2.AddPin( 5, "E16" );
          BG_A2.AddPin( 4, "A17" );
          BG_A2.AddPin( 3, "C17" );
          BG_A2.AddPin( 2, "D17" );
          BG_A2.AddPin( 1, "E17" );
          BG_A2.AddPin( 0, "A18" );
    regb( BG_B3, 15, 0 );
          BG_B3.AddPin( 15, "C18" );
          BG_B3.AddPin( 14, "D18" );
          BG_B3.AddPin( 13, "A19" );
          BG_B3.AddPin( 12, "C19" );
          BG_B3.AddPin( 11, "D19" );
          BG_B3.AddPin( 10, "E19" );
          BG_B3.AddPin( 9, "A20" );
          BG_B3.AddPin( 8, "D20" );
          BG_B3.AddPin( 7, "E20" );
          BG_B3.AddPin( 6, "A21" );
          BG_B3.AddPin( 5, "C21" );
          BG_B3.AddPin( 4, "D21" );
          BG_B3.AddPin( 3, "E21" );
          BG_B3.AddPin( 2, "A22" );
          BG_B3.AddPin( 1, "C22" );
          BG_B3.AddPin( 0, "D22" );
  }
};
 
class CP_CRB_J6P6 : public TPart {
 
public:
  port   TCLKIP;      
  port   TCLKIN;      
  port   VPOS5;       // 2 pins  // connected on backplane to VME 5V and 3.3V power supplies
  port   VPOS3_3;     // 6 pins
  port   GND;         // 69 pins
  port   TG;          // AR_BUS(15,0)
  port   BG_A3;       // AR_BUS(15,0)
  port   BG_B4;       // AR_BUS(15,0)
  port   BG_A4;       // AR_BUS(15,0)
  port   BG_B5;       // AR_BUS(15,0)
  port   BG_A5;       // AR_BUS(15,0)
 
  CP_CRB_J6P6() {
    SetPackage( "CONN_2MM_7X25", 175 );     // 7x25 pin metric connector
    SetReferencePrefix( "J" );
  }
 
  virtual void Register() {
    reg(  TCLKIP );
          TCLKIP.SetPin( "C24" );
    reg(  TCLKIN );
          TCLKIN.SetPin( "C25" );
    reg(  VPOS5 );
          VPOS5.AddPin( "D24" );
          VPOS5.AddPin( "D25" );
    reg(  VPOS3_3 );
          VPOS3_3.AddPin( "B18" );
          VPOS3_3.AddPin( "B19" );
          VPOS3_3.AddPin( "B21" );
          VPOS3_3.AddPin( "B22" );
          VPOS3_3.AddPin( "B24" );
          VPOS3_3.AddPin( "B25" );
    reg(  GND );
          GND.AddPin( "Z25" );
          GND.AddPin( "Z24" );
          GND.AddPin( "Z23" );
          GND.AddPin( "Z22" );
          GND.AddPin( "Z21" );
          GND.AddPin( "Z20" );
          GND.AddPin( "Z19" );
          GND.AddPin( "Z18" );
          GND.AddPin( "Z17" );
          GND.AddPin( "Z16" );
          GND.AddPin( "Z15" );
          GND.AddPin( "Z14" );
          GND.AddPin( "Z13" );
          GND.AddPin( "Z12" );
          GND.AddPin( "Z11" );
          GND.AddPin( "Z10" );
          GND.AddPin( "Z9" );
          GND.AddPin( "Z8" );
          GND.AddPin( "Z7" );
          GND.AddPin( "Z6" );
          GND.AddPin( "Z5" );
          GND.AddPin( "Z4" );
          GND.AddPin( "Z3" );
          GND.AddPin( "Z2" );
          GND.AddPin( "Z1" );
          GND.AddPin( "A17" );
          GND.AddPin( "A12" );
          GND.AddPin( "A8" );
          GND.AddPin( "A4" );
          GND.AddPin( "B23" );
          GND.AddPin( "B20" );
          GND.AddPin( "B17" );
          GND.AddPin( "C23" );
          GND.AddPin( "C14" );
          GND.AddPin( "C10" );
          GND.AddPin( "C6" );
          GND.AddPin( "C2" );
          GND.AddPin( "D23" );
          GND.AddPin( "D18" );
          GND.AddPin( "E20" );
          GND.AddPin( "E16" );
          GND.AddPin( "E12" );
          GND.AddPin( "E8" );
          GND.AddPin( "E4" );
          GND.AddPin( "F25" );
          GND.AddPin( "F24" );
          GND.AddPin( "F23" );
          GND.AddPin( "F22" );
          GND.AddPin( "F21" );
          GND.AddPin( "F20" );
          GND.AddPin( "F19" );
          GND.AddPin( "F18" );
          GND.AddPin( "F17" );
          GND.AddPin( "F16" );
          GND.AddPin( "F15" );
          GND.AddPin( "F14" );
          GND.AddPin( "F13" );
          GND.AddPin( "F12" );
          GND.AddPin( "F11" );
          GND.AddPin( "F10" );
          GND.AddPin( "F9" );
          GND.AddPin( "F8" );
          GND.AddPin( "F7" );
          GND.AddPin( "F6" );
          GND.AddPin( "F5" );
          GND.AddPin( "F4" );
          GND.AddPin( "F3" );
          GND.AddPin( "F2" );
          GND.AddPin( "F1" );
    regb( TG, 15, 0 );
          TG.AddPin( 15, "B16" );
          TG.AddPin( 14, "C16" );
          TG.AddPin( 13, "C17" );
          TG.AddPin( 12, "C18" );
          TG.AddPin( 11, "C19" );
          TG.AddPin( 10, "C20" );
          TG.AddPin( 9, "C21" );
          TG.AddPin( 8, "C22" );
          TG.AddPin( 7, "A18" );
          TG.AddPin( 6, "A19" );
          TG.AddPin( 5, "A20" );
          TG.AddPin( 4, "A21" );
          TG.AddPin( 3, "A22" );
          TG.AddPin( 2, "A23" );
          TG.AddPin( 1, "A24" );
          TG.AddPin( 0, "A25" );
    regb( BG_A3, 15, 0 );
          BG_A3.AddPin( 15, "A1" );
          BG_A3.AddPin( 14, "B1" );
          BG_A3.AddPin( 13, "C1" );
          BG_A3.AddPin( 12, "D1" );
          BG_A3.AddPin( 11, "E1" );
          BG_A3.AddPin( 10, "A2" );
          BG_A3.AddPin( 9, "B2" );
          BG_A3.AddPin( 8, "D2" );
          BG_A3.AddPin( 7, "E2" );
          BG_A3.AddPin( 6, "A3" );
          BG_A3.AddPin( 5, "B3" );
          BG_A3.AddPin( 4, "C3" );
          BG_A3.AddPin( 3, "D3" );
          BG_A3.AddPin( 2, "E3" );
          BG_A3.AddPin( 1, "B4" );
          BG_A3.AddPin( 0, "C4" );
    regb( BG_B4, 15, 0 );
          BG_B4.AddPin( 15, "D4" );
          BG_B4.AddPin( 14, "A5" );
          BG_B4.AddPin( 13, "B5" );
          BG_B4.AddPin( 12, "C5" );
          BG_B4.AddPin( 11, "D5" );
          BG_B4.AddPin( 10, "E5" );
          BG_B4.AddPin( 9, "A6" );
          BG_B4.AddPin( 8, "B6" );
          BG_B4.AddPin( 7, "D6" );
          BG_B4.AddPin( 6, "E6" );
          BG_B4.AddPin( 5, "A7" );
          BG_B4.AddPin( 4, "B7" );
          BG_B4.AddPin( 3, "C7" );
          BG_B4.AddPin( 2, "D7" );
          BG_B4.AddPin( 1, "E7" );
          BG_B4.AddPin( 0, "B8" );
    regb( BG_A4, 15, 0 );
          BG_A4.AddPin( 15, "C8" );
          BG_A4.AddPin( 14, "D8" );
          BG_A4.AddPin( 13, "A9" );
          BG_A4.AddPin( 12, "B9" );
          BG_A4.AddPin( 11, "C9" );
          BG_A4.AddPin( 10, "D9" );
          BG_A4.AddPin( 9, "E9" );
          BG_A4.AddPin( 8, "A10" );
          BG_A4.AddPin( 7, "B10" );
          BG_A4.AddPin( 6, "D10" );
          BG_A4.AddPin( 5, "E10" );
          BG_A4.AddPin( 4, "A11" );
          BG_A4.AddPin( 3, "B11" );
          BG_A4.AddPin( 2, "C11" );
          BG_A4.AddPin( 1, "D11" );
          BG_A4.AddPin( 0, "E11" );
    regb( BG_B5, 15, 0 );
          BG_B5.AddPin( 15, "B12" );
          BG_B5.AddPin( 14, "C12" );
          BG_B5.AddPin( 13, "D12" );
          BG_B5.AddPin( 12, "A13" );
          BG_B5.AddPin( 11, "B13" );
          BG_B5.AddPin( 10, "C13" );
          BG_B5.AddPin( 9, "D13" );
          BG_B5.AddPin( 8, "E13" );
          BG_B5.AddPin( 7, "A14" );
          BG_B5.AddPin( 6, "B14" );
          BG_B5.AddPin( 5, "D14" );
          BG_B5.AddPin( 4, "E14" );
          BG_B5.AddPin( 3, "A15" );
          BG_B5.AddPin( 2, "B15" );
          BG_B5.AddPin( 1, "C15" );
          BG_B5.AddPin( 0, "D15" );
    regb( BG_A5, 15, 0 );
          BG_A5.AddPin( 15, "E15" );
          BG_A5.AddPin( 14, "A16" );
          BG_A5.AddPin( 13, "D16" );
          BG_A5.AddPin( 12, "D17" );
          BG_A5.AddPin( 11, "E17" );
          BG_A5.AddPin( 10, "E18" );
          BG_A5.AddPin( 9, "D19" );
          BG_A5.AddPin( 8, "E19" );
          BG_A5.AddPin( 7, "D20" );
          BG_A5.AddPin( 6, "D21" );
          BG_A5.AddPin( 5, "E21" );
          BG_A5.AddPin( 4, "D22" );
          BG_A5.AddPin( 3, "E22" );
          BG_A5.AddPin( 2, "E23" );
          BG_A5.AddPin( 1, "E24" );
          BG_A5.AddPin( 0, "E25" );
  }
};
 
class CP_CRB_TIMJ3 : public TPart {
 
public:
  port   VPOS5;              // 8 pins
  port   VPOS3_3;            // 10 pins
  port   GND;                // 22 pins
  port   NC;                 // 47 pins
  port   TIM_OK;             
  port   BOC_LAS_EN;         
  port   LASER_ILOCK;        
  port   ROD_SENSE;          
  port   TIM_TCLK_OUT_N;     
  port   TIM_TCLK_OUT_P;     
  port   TIM_TCLK_IN_N;      
  port   TIM_TCLK_IN_P;      
  port   TIM_BUSY_OUT;       
  port   TCLK_L_N;           // AR_BUS(12,5)
  port   TCLK_L_P;           // AR_BUS(12,5)
  port   TCLK_R_N;           // AR_BUS(21,14)
  port   TCLK_R_P;           // AR_BUS(21,14)
  port   BUSY_L_N;           // AR_BUS(12,5)
  port   BUSY_R_N;           // AR_BUS(21,14)
  port   TTC_L;              // AR_BUS(7,0)
  port   TTC_R;              // AR_BUS(7,0)
 
  CP_CRB_TIMJ3() {
    SetPackage( "DIN160J", 160 );     // DIN 32 x 5 straight jack, e.g., for VME backplane
    SetReferencePrefix( "J" );
  }
 
  virtual void Register() {
    reg(  VPOS5 );
          VPOS5.AddPin( "D17" );
          VPOS5.AddPin( "D20" );
          VPOS5.AddPin( "D22" );
          VPOS5.AddPin( "D27" );
          VPOS5.AddPin( "D32" );
          VPOS5.AddPin( "Z19" );
          VPOS5.AddPin( "Z24" );
          VPOS5.AddPin( "Z29" );
    reg(  VPOS3_3 );
          VPOS3_3.AddPin( "C1" );
          VPOS3_3.AddPin( "C3" );
          VPOS3_3.AddPin( "C7" );
          VPOS3_3.AddPin( "C8" );
          VPOS3_3.AddPin( "D2" );
          VPOS3_3.AddPin( "D4" );
          VPOS3_3.AddPin( "D6" );
          VPOS3_3.AddPin( "D8" );
          VPOS3_3.AddPin( "D9" );
          VPOS3_3.AddPin( "D10" );
    reg(  GND );
          GND.AddPin( "A1" );
          GND.AddPin( "A5" );
          GND.AddPin( "A11" );
          GND.AddPin( "A17" );
          GND.AddPin( "A20" );
          GND.AddPin( "A26" );
          GND.AddPin( "A31" );
          GND.AddPin( "B2" );
          GND.AddPin( "B9" );
          GND.AddPin( "B14" );
          GND.AddPin( "B23" );
          GND.AddPin( "B28" );
          GND.AddPin( "C5" );
          GND.AddPin( "C10" );
          GND.AddPin( "C15" );
          GND.AddPin( "C20" );
          GND.AddPin( "C25" );
          GND.AddPin( "C30" );
          GND.AddPin( "D12" );
          GND.AddPin( "Z4" );
          GND.AddPin( "Z9" );
          GND.AddPin( "Z14" );
    reg(  NC );
          NC.AddPin( "A2" );
          NC.AddPin( "A9" );
          NC.AddPin( "A23" );
          NC.AddPin( "A28" );
          NC.AddPin( "A29" );
          NC.AddPin( "A30" );
          NC.AddPin( "A32" );
          NC.AddPin( "B1" );
          NC.AddPin( "B5" );
          NC.AddPin( "B11" );
          NC.AddPin( "B17" );
          NC.AddPin( "B20" );
          NC.AddPin( "B26" );
          NC.AddPin( "B29" );
          NC.AddPin( "B30" );
          NC.AddPin( "B31" );
          NC.AddPin( "B32" );
          NC.AddPin( "C18" );
          NC.AddPin( "C19" );
          NC.AddPin( "C22" );
          NC.AddPin( "D5" );
          NC.AddPin( "Z1" );
          NC.AddPin( "Z2" );
          NC.AddPin( "Z3" );
          NC.AddPin( "Z5" );
          NC.AddPin( "Z6" );
          NC.AddPin( "Z7" );
          NC.AddPin( "Z8" );
          NC.AddPin( "Z10" );
          NC.AddPin( "Z11" );
          NC.AddPin( "Z12" );
          NC.AddPin( "Z13" );
          NC.AddPin( "Z15" );
          NC.AddPin( "Z16" );
          NC.AddPin( "Z17" );
          NC.AddPin( "Z18" );
          NC.AddPin( "Z20" );
          NC.AddPin( "Z21" );
          NC.AddPin( "Z22" );
          NC.AddPin( "Z23" );
          NC.AddPin( "Z25" );
          NC.AddPin( "Z26" );
          NC.AddPin( "Z27" );
          NC.AddPin( "Z28" );
          NC.AddPin( "Z30" );
          NC.AddPin( "Z31" );
          NC.AddPin( "Z32" );
    reg(  TIM_OK );
          TIM_OK.SetPin( "A14" );
    reg(  BOC_LAS_EN );
          BOC_LAS_EN.SetPin( "C21" );
    reg(  LASER_ILOCK );
          LASER_ILOCK.SetPin( "D11" );
    reg(  ROD_SENSE );
          ROD_SENSE.SetPin( "D13" );
    reg(  TIM_TCLK_OUT_N );
          TIM_TCLK_OUT_N.SetPin( "B27" );
    reg(  TIM_TCLK_OUT_P );
          TIM_TCLK_OUT_P.SetPin( "A27" );
    reg(  TIM_TCLK_IN_N );
          TIM_TCLK_IN_N.SetPin( "D19" );
    reg(  TIM_TCLK_IN_P );
          TIM_TCLK_IN_P.SetPin( "D18" );
    reg(  TIM_BUSY_OUT );
          TIM_BUSY_OUT.SetPin( "D21" );
    regb( TCLK_L_N, 12, 5 );
          TCLK_L_N.AddPin( 12, "B24" );
          TCLK_L_N.AddPin( 11, "B21" );
          TCLK_L_N.AddPin( 10, "B18" );
          TCLK_L_N.AddPin( 9, "B15" );
          TCLK_L_N.AddPin( 8, "B12" );
          TCLK_L_N.AddPin( 7, "B8" );
          TCLK_L_N.AddPin( 6, "B6" );
          TCLK_L_N.AddPin( 5, "B3" );
    regb( TCLK_L_P, 12, 5 );
          TCLK_L_P.AddPin( 12, "A24" );
          TCLK_L_P.AddPin( 11, "A21" );
          TCLK_L_P.AddPin( 10, "A18" );
          TCLK_L_P.AddPin( 9, "A15" );
          TCLK_L_P.AddPin( 8, "A12" );
          TCLK_L_P.AddPin( 7, "A8" );
          TCLK_L_P.AddPin( 6, "A6" );
          TCLK_L_P.AddPin( 5, "A3" );
    regb( TCLK_R_N, 21, 14 );
          TCLK_R_N.AddPin( 21, "B25" );
          TCLK_R_N.AddPin( 20, "B22" );
          TCLK_R_N.AddPin( 19, "B19" );
          TCLK_R_N.AddPin( 18, "B16" );
          TCLK_R_N.AddPin( 17, "B13" );
          TCLK_R_N.AddPin( 16, "B10" );
          TCLK_R_N.AddPin( 15, "B7" );
          TCLK_R_N.AddPin( 14, "B4" );
    regb( TCLK_R_P, 21, 14 );
          TCLK_R_P.AddPin( 21, "A25" );
          TCLK_R_P.AddPin( 20, "A22" );
          TCLK_R_P.AddPin( 19, "A19" );
          TCLK_R_P.AddPin( 18, "A16" );
          TCLK_R_P.AddPin( 17, "A13" );
          TCLK_R_P.AddPin( 16, "A10" );
          TCLK_R_P.AddPin( 15, "A7" );
          TCLK_R_P.AddPin( 14, "A4" );
    regb( BUSY_L_N, 12, 5 );
          BUSY_L_N.AddPin( 12, "C11" );
          BUSY_L_N.AddPin( 11, "C9" );
          BUSY_L_N.AddPin( 10, "D7" );
          BUSY_L_N.AddPin( 9, "C6" );
          BUSY_L_N.AddPin( 8, "C4" );
          BUSY_L_N.AddPin( 7, "D3" );
          BUSY_L_N.AddPin( 6, "C2" );
          BUSY_L_N.AddPin( 5, "D1" );
    regb( BUSY_R_N, 21, 14 );
          BUSY_R_N.AddPin( 21, "C17" );
          BUSY_R_N.AddPin( 20, "D16" );
          BUSY_R_N.AddPin( 19, "C16" );
          BUSY_R_N.AddPin( 18, "D15" );
          BUSY_R_N.AddPin( 17, "D14" );
          BUSY_R_N.AddPin( 16, "C14" );
          BUSY_R_N.AddPin( 15, "C13" );
          BUSY_R_N.AddPin( 14, "C12" );
    regb( TTC_L, 7, 0 );
          TTC_L.AddPin( 7, "C23" );
          TTC_L.AddPin( 6, "C24" );
          TTC_L.AddPin( 5, "C26" );
          TTC_L.AddPin( 4, "C27" );
          TTC_L.AddPin( 3, "C28" );
          TTC_L.AddPin( 2, "C29" );
          TTC_L.AddPin( 1, "C31" );
          TTC_L.AddPin( 0, "C32" );
    regb( TTC_R, 7, 0 );
          TTC_R.AddPin( 7, "D23" );
          TTC_R.AddPin( 6, "D24" );
          TTC_R.AddPin( 5, "D25" );
          TTC_R.AddPin( 4, "D26" );
          TTC_R.AddPin( 3, "D28" );
          TTC_R.AddPin( 2, "D29" );
          TTC_R.AddPin( 1, "D30" );
          TTC_R.AddPin( 0, "D31" );
  }
};
 
class CP_POWER_BUG_10 : public TPart {     // 10-pin thru-hole power bug
 
public:
  port   A;     // 10 pins
 
  CP_POWER_BUG_10() {
    SetPackage( "PWR_BUG10", 10 );
    SetReferencePrefix( "P" );
  }
 
  virtual void Register() {
    reg(  A );
          A.AddPin( "1" );
          A.AddPin( "2" );
          A.AddPin( "3" );
          A.AddPin( "4" );
          A.AddPin( "5" );
          A.AddPin( "6" );
          A.AddPin( "7" );
          A.AddPin( "8" );
          A.AddPin( "9" );
          A.AddPin( "10" );
  }
};
 
 
#endif

 

<<  File View  >> Class View Parts Library Examples Home

Legal Copyright © 2007 by Coolquest, Inc. Contact