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:             vmeconnectors.pt
// Destination File:        vmeconnectors.h
 
#ifndef _vmeconnectors_h_
#define _vmeconnectors_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_VMEP1 : public TPart {
 
public:
  port   GND;            // 26 pins
  port   VCC;            // 10 pins
  port   V1;             //+48V Supply
  port   V1N;            //-48V Supply
  port   V2;             
  port   V2N;            
  port   VCC5;           // 3 pins  //+5V Supply
  port   VCC12;          //+12V Supply
  port   VCC12N;         //-12V Supply
  port   VCC5STDBY;      //+5V StandBy
  port   VPC;            // 2 pins  //Pre-charges
  port   RESERVED;       // 14 pins
  port   RESERVEDU;      // 2 pins
  port   MPR;            
  port   MCLK;           
  port   MSD;            
  port   MMD;            
  port   MCTL;           
  port   RESP_N;         
  port   D;              // AR_BUS(15,0)
  port   SYSCLK;         
  port   DS1_N;          
  port   DS0_N;          
  port   WRITE_N;        
  port   DTACK_N;        
  port   AS_N;           
  port   IACK_N;         
  port   IACKIN_N;       
  port   IACKOUT_N;      
  port   AM;             // AR_BUS(5,0)
  port   A;              // AR_BUS(23,1)
  port   BBSY_N;         
  port   BCLR_N;         
  port   ACFAIL_N;       
  port   BG0IN_N;        
  port   BG0OUT_N;       
  port   BG1IN_N;        
  port   BG1OUT_N;       
  port   BG2IN_N;        
  port   BG2OUT_N;       
  port   BG3IN_N;        
  port   BG3OUT_N;       
  port   BR_N;           // AR_BUS(3,0)
  port   SERA;           
  port   SERB;           
  port   IRQ;            // AR_BUS(7,1)
  port   SYSFAIL_N;      
  port   BERR_N;         
  port   SYSRESET_N;     
  port   LWORD_N;        
  port   GAP_N;          
  port   GA;             // AR_BUS(4,0)
  port   LI_I_N;         
  port   LI_O_N;         
 
  CP_VMEP1() {
    SetPackage( "DIN5X32", 160 );
    SetReferencePrefix( "P" );
  }
 
  virtual void Register() {
    reg(  GND );
          GND.AddPin( "Z2" );
          GND.AddPin( "Z4" );
          GND.AddPin( "Z6" );
          GND.AddPin( "Z8" );
          GND.AddPin( "Z10" );
          GND.AddPin( "Z12" );
          GND.AddPin( "Z14" );
          GND.AddPin( "Z16" );
          GND.AddPin( "Z18" );
          GND.AddPin( "Z20" );
          GND.AddPin( "Z22" );
          GND.AddPin( "Z24" );
          GND.AddPin( "Z26" );
          GND.AddPin( "Z28" );
          GND.AddPin( "Z30" );
          GND.AddPin( "Z32" );
          GND.AddPin( "A9" );
          GND.AddPin( "A11" );
          GND.AddPin( "A15" );
          GND.AddPin( "A17" );
          GND.AddPin( "A19" );
          GND.AddPin( "B20" );
          GND.AddPin( "B23" );
          GND.AddPin( "C9" );
          GND.AddPin( "D2" );
          GND.AddPin( "D31" );
    reg(  VCC );
          VCC.AddPin( "D12" );
          VCC.AddPin( "D14" );
          VCC.AddPin( "D16" );
          VCC.AddPin( "D18" );
          VCC.AddPin( "D20" );
          VCC.AddPin( "D22" );
          VCC.AddPin( "D24" );
          VCC.AddPin( "D26" );
          VCC.AddPin( "D28" );
          VCC.AddPin( "D30" );
    reg(  V1 );
          V1.SetPin( "D3" );
    reg(  V1N );
          V1N.SetPin( "D6" );
    reg(  V2 );
          V2.SetPin( "D4" );
    reg(  V2N );
          V2N.SetPin( "D7" );
    reg(  VCC5 );
          VCC5.AddPin( "A32" );
          VCC5.AddPin( "B32" );
          VCC5.AddPin( "C32" );
    reg(  VCC12 );
          VCC12.SetPin( "C31" );
    reg(  VCC12N );
          VCC12N.SetPin( "A31" );
    reg(  VCC5STDBY );
          VCC5STDBY.SetPin( "B31" );
    reg(  VPC );
          VPC.AddPin( "D1" );
          VPC.AddPin( "D32" );
    reg(  RESERVED );
          RESERVED.AddPin( "Z13" );
          RESERVED.AddPin( "Z15" );
          RESERVED.AddPin( "Z17" );
          RESERVED.AddPin( "Z19" );
          RESERVED.AddPin( "Z21" );
          RESERVED.AddPin( "Z23" );
          RESERVED.AddPin( "Z25" );
          RESERVED.AddPin( "Z27" );
          RESERVED.AddPin( "Z29" );
          RESERVED.AddPin( "Z31" );
          RESERVED.AddPin( "D19" );
          RESERVED.AddPin( "D21" );
          RESERVED.AddPin( "D23" );
          RESERVED.AddPin( "D25" );
    reg(  RESERVEDU );
          RESERVEDU.AddPin( "D5" );
          RESERVEDU.AddPin( "D8" );
    reg(  MPR );
          MPR.SetPin( "Z1" );
    reg(  MCLK );
          MCLK.SetPin( "Z3" );
    reg(  MSD );
          MSD.SetPin( "Z5" );
    reg(  MMD );
          MMD.SetPin( "Z7" );
    reg(  MCTL );
          MCTL.SetPin( "Z9" );
    reg(  RESP_N );
          RESP_N.SetPin( "Z11" );
    regb( D, 15, 0 );
          D.AddPin( 15, "C8" );
          D.AddPin( 14, "C7" );
          D.AddPin( 13, "C6" );
          D.AddPin( 12, "C5" );
          D.AddPin( 11, "C4" );
          D.AddPin( 10, "C3" );
          D.AddPin( 9, "C2" );
          D.AddPin( 8, "C1" );
          D.AddPin( 7, "A8" );
          D.AddPin( 6, "A7" );
          D.AddPin( 5, "A6" );
          D.AddPin( 4, "A5" );
          D.AddPin( 3, "A4" );
          D.AddPin( 2, "A3" );
          D.AddPin( 1, "A2" );
          D.AddPin( 0, "A1" );
    reg(  SYSCLK );
          SYSCLK.SetPin( "A10" );
    reg(  DS1_N );
          DS1_N.SetPin( "A12" );
    reg(  DS0_N );
          DS0_N.SetPin( "A13" );
    reg(  WRITE_N );
          WRITE_N.SetPin( "A14" );
    reg(  DTACK_N );
          DTACK_N.SetPin( "A16" );
    reg(  AS_N );
          AS_N.SetPin( "A18" );
    reg(  IACK_N );
          IACK_N.SetPin( "A20" );
    reg(  IACKIN_N );
          IACKIN_N.SetPin( "A21" );
    reg(  IACKOUT_N );
          IACKOUT_N.SetPin( "A22" );
    regb( AM, 5, 0 );
          AM.AddPin( 5, "C14" );
          AM.AddPin( 4, "A23" );
          AM.AddPin( 3, "B19" );
          AM.AddPin( 2, "B18" );
          AM.AddPin( 1, "B17" );
          AM.AddPin( 0, "B16" );
    regb( A, 23, 1 );
          A.AddPin( 23, "C15" );
          A.AddPin( 22, "C16" );
          A.AddPin( 21, "C17" );
          A.AddPin( 20, "C18" );
          A.AddPin( 19, "C19" );
          A.AddPin( 18, "C20" );
          A.AddPin( 17, "C21" );
          A.AddPin( 16, "C22" );
          A.AddPin( 15, "C23" );
          A.AddPin( 14, "C24" );
          A.AddPin( 13, "C25" );
          A.AddPin( 12, "C26" );
          A.AddPin( 11, "C27" );
          A.AddPin( 10, "C28" );
          A.AddPin( 9, "C29" );
          A.AddPin( 8, "C30" );
          A.AddPin( 7, "A24" );
          A.AddPin( 6, "A25" );
          A.AddPin( 5, "A26" );
          A.AddPin( 4, "A27" );
          A.AddPin( 3, "A28" );
          A.AddPin( 2, "A29" );
          A.AddPin( 1, "A30" );
    reg(  BBSY_N );
          BBSY_N.SetPin( "B1" );
    reg(  BCLR_N );
          BCLR_N.SetPin( "B2" );
    reg(  ACFAIL_N );
          ACFAIL_N.SetPin( "B3" );
    reg(  BG0IN_N );
          BG0IN_N.SetPin( "B4" );
    reg(  BG0OUT_N );
          BG0OUT_N.SetPin( "B5" );
    reg(  BG1IN_N );
          BG1IN_N.SetPin( "B6" );
    reg(  BG1OUT_N );
          BG1OUT_N.SetPin( "B7" );
    reg(  BG2IN_N );
          BG2IN_N.SetPin( "B8" );
    reg(  BG2OUT_N );
          BG2OUT_N.SetPin( "B9" );
    reg(  BG3IN_N );
          BG3IN_N.SetPin( "B10" );
    reg(  BG3OUT_N );
          BG3OUT_N.SetPin( "B11" );
    regb( BR_N, 3, 0 );
          BR_N.AddPin( 3, "B15" );
          BR_N.AddPin( 2, "B14" );
          BR_N.AddPin( 1, "B13" );
          BR_N.AddPin( 0, "B12" );
    reg(  SERA );
          SERA.SetPin( "B21" );
    reg(  SERB );
          SERB.SetPin( "B22" );
    regb( IRQ, 7, 1 );
          IRQ.AddPin( 7, "B24" );
          IRQ.AddPin( 6, "B25" );
          IRQ.AddPin( 5, "B26" );
          IRQ.AddPin( 4, "B27" );
          IRQ.AddPin( 3, "B28" );
          IRQ.AddPin( 2, "B29" );
          IRQ.AddPin( 1, "B30" );
    reg(  SYSFAIL_N );
          SYSFAIL_N.SetPin( "C10" );
    reg(  BERR_N );
          BERR_N.SetPin( "C11" );
    reg(  SYSRESET_N );
          SYSRESET_N.SetPin( "C12" );
    reg(  LWORD_N );
          LWORD_N.SetPin( "C13" );
    reg(  GAP_N );
          GAP_N.SetPin( "D9" );
    regb( GA, 4, 0 );
          GA.AddPin( 4, "D17" );
          GA.AddPin( 3, "D15" );
          GA.AddPin( 2, "D13" );
          GA.AddPin( 1, "D11" );
          GA.AddPin( 0, "D10" );
    reg(  LI_I_N );
          LI_I_N.SetPin( "D27" );
    reg(  LI_O_N );
          LI_O_N.SetPin( "D29" );
  }
};
 
class CP_VMEP2 : public TPart {
 
public:
  port   GND;         // 21 pins
  port   VCC5;        // 3 pins
  port   UD_Z;        // AR_BUS(16,1)
  port   UD_D;        // AR_BUS(30,1)
  port   UD_A;        // AR_BUS(32,1)
  port   UD_C;        // AR_BUS(32,1)
  port   RETRY_N;     
  port   A;           // AR_BUS(31,24)
  port   D;           // AR_BUS(31,16)
  port   VPC;         
 
  CP_VMEP2() {
    SetPackage( "DIN5X32", 160 );
    SetReferencePrefix( "P" );
  }
 
  virtual void Register() {
    reg(  GND );
          GND.AddPin( "Z2" );
          GND.AddPin( "Z4" );
          GND.AddPin( "Z6" );
          GND.AddPin( "Z8" );
          GND.AddPin( "Z10" );
          GND.AddPin( "Z12" );
          GND.AddPin( "Z14" );
          GND.AddPin( "Z16" );
          GND.AddPin( "Z18" );
          GND.AddPin( "Z20" );
          GND.AddPin( "Z22" );
          GND.AddPin( "Z24" );
          GND.AddPin( "Z26" );
          GND.AddPin( "Z28" );
          GND.AddPin( "Z30" );
          GND.AddPin( "Z32" );
          GND.AddPin( "D31" );
          GND.AddPin( "B2" );
          GND.AddPin( "B12" );
          GND.AddPin( "B22" );
          GND.AddPin( "B31" );
    reg(  VCC5 );
          VCC5.AddPin( "B1" );
          VCC5.AddPin( "B13" );
          VCC5.AddPin( "B32" );
    regb( UD_Z, 16, 1 );
          UD_Z.AddPin( 16, "Z31" );
          UD_Z.AddPin( 15, "Z29" );
          UD_Z.AddPin( 14, "Z27" );
          UD_Z.AddPin( 13, "Z25" );
          UD_Z.AddPin( 12, "Z23" );
          UD_Z.AddPin( 11, "Z21" );
          UD_Z.AddPin( 10, "Z19" );
          UD_Z.AddPin( 9, "Z17" );
          UD_Z.AddPin( 8, "Z15" );
          UD_Z.AddPin( 7, "Z13" );
          UD_Z.AddPin( 6, "Z11" );
          UD_Z.AddPin( 5, "Z9" );
          UD_Z.AddPin( 4, "Z7" );
          UD_Z.AddPin( 3, "Z5" );
          UD_Z.AddPin( 2, "Z3" );
          UD_Z.AddPin( 1, "Z1" );
    regb( UD_D, 30, 1 );
          UD_D.AddPin( 30, "D30" );
          UD_D.AddPin( 29, "D29" );
          UD_D.AddPin( 28, "D28" );
          UD_D.AddPin( 27, "D27" );
          UD_D.AddPin( 26, "D26" );
          UD_D.AddPin( 25, "D25" );
          UD_D.AddPin( 24, "D24" );
          UD_D.AddPin( 23, "D23" );
          UD_D.AddPin( 22, "D22" );
          UD_D.AddPin( 21, "D21" );
          UD_D.AddPin( 20, "D20" );
          UD_D.AddPin( 19, "D19" );
          UD_D.AddPin( 18, "D18" );
          UD_D.AddPin( 17, "D17" );
          UD_D.AddPin( 16, "D16" );
          UD_D.AddPin( 15, "D15" );
          UD_D.AddPin( 14, "D14" );
          UD_D.AddPin( 13, "D13" );
          UD_D.AddPin( 12, "D12" );
          UD_D.AddPin( 11, "D11" );
          UD_D.AddPin( 10, "D10" );
          UD_D.AddPin( 9, "D9" );
          UD_D.AddPin( 8, "D8" );
          UD_D.AddPin( 7, "D7" );
          UD_D.AddPin( 6, "D6" );
          UD_D.AddPin( 5, "D5" );
          UD_D.AddPin( 4, "D4" );
          UD_D.AddPin( 3, "D3" );
          UD_D.AddPin( 2, "D2" );
          UD_D.AddPin( 1, "D1" );
    regb( UD_A, 32, 1 );
          UD_A.AddPin( 32, "A32" );
          UD_A.AddPin( 31, "A31" );
          UD_A.AddPin( 30, "A30" );
          UD_A.AddPin( 29, "A29" );
          UD_A.AddPin( 28, "A28" );
          UD_A.AddPin( 27, "A27" );
          UD_A.AddPin( 26, "A26" );
          UD_A.AddPin( 25, "A25" );
          UD_A.AddPin( 24, "A24" );
          UD_A.AddPin( 23, "A23" );
          UD_A.AddPin( 22, "A22" );
          UD_A.AddPin( 21, "A21" );
          UD_A.AddPin( 20, "A20" );
          UD_A.AddPin( 19, "A19" );
          UD_A.AddPin( 18, "A18" );
          UD_A.AddPin( 17, "A17" );
          UD_A.AddPin( 16, "A16" );
          UD_A.AddPin( 15, "A15" );
          UD_A.AddPin( 14, "A14" );
          UD_A.AddPin( 13, "A13" );
          UD_A.AddPin( 12, "A12" );
          UD_A.AddPin( 11, "A11" );
          UD_A.AddPin( 10, "A10" );
          UD_A.AddPin( 9, "A9" );
          UD_A.AddPin( 8, "A8" );
          UD_A.AddPin( 7, "A7" );
          UD_A.AddPin( 6, "A6" );
          UD_A.AddPin( 5, "A5" );
          UD_A.AddPin( 4, "A4" );
          UD_A.AddPin( 3, "A3" );
          UD_A.AddPin( 2, "A2" );
          UD_A.AddPin( 1, "A1" );
    regb( UD_C, 32, 1 );
          UD_C.AddPin( 32, "C32" );
          UD_C.AddPin( 31, "C31" );
          UD_C.AddPin( 30, "C30" );
          UD_C.AddPin( 29, "C29" );
          UD_C.AddPin( 28, "C28" );
          UD_C.AddPin( 27, "C27" );
          UD_C.AddPin( 26, "C26" );
          UD_C.AddPin( 25, "C25" );
          UD_C.AddPin( 24, "C24" );
          UD_C.AddPin( 23, "C23" );
          UD_C.AddPin( 22, "C22" );
          UD_C.AddPin( 21, "C21" );
          UD_C.AddPin( 20, "C20" );
          UD_C.AddPin( 19, "C19" );
          UD_C.AddPin( 18, "C18" );
          UD_C.AddPin( 17, "C17" );
          UD_C.AddPin( 16, "C16" );
          UD_C.AddPin( 15, "C15" );
          UD_C.AddPin( 14, "C14" );
          UD_C.AddPin( 13, "C13" );
          UD_C.AddPin( 12, "C12" );
          UD_C.AddPin( 11, "C11" );
          UD_C.AddPin( 10, "C10" );
          UD_C.AddPin( 9, "C9" );
          UD_C.AddPin( 8, "C8" );
          UD_C.AddPin( 7, "C7" );
          UD_C.AddPin( 6, "C6" );
          UD_C.AddPin( 5, "C5" );
          UD_C.AddPin( 4, "C4" );
          UD_C.AddPin( 3, "C3" );
          UD_C.AddPin( 2, "C2" );
          UD_C.AddPin( 1, "C1" );
    reg(  RETRY_N );
          RETRY_N.SetPin( "B3" );
    regb( A, 31, 24 );
          A.AddPin( 31, "B11" );
          A.AddPin( 30, "B10" );
          A.AddPin( 29, "B9" );
          A.AddPin( 28, "B8" );
          A.AddPin( 27, "B7" );
          A.AddPin( 26, "B6" );
          A.AddPin( 25, "B5" );
          A.AddPin( 24, "B4" );
    regb( D, 31, 16 );
          D.AddPin( 31, "B30" );
          D.AddPin( 30, "B29" );
          D.AddPin( 29, "B28" );
          D.AddPin( 28, "B27" );
          D.AddPin( 27, "B26" );
          D.AddPin( 26, "B25" );
          D.AddPin( 25, "B24" );
          D.AddPin( 24, "B23" );
          D.AddPin( 23, "B21" );
          D.AddPin( 22, "B20" );
          D.AddPin( 21, "B19" );
          D.AddPin( 20, "B18" );
          D.AddPin( 19, "B17" );
          D.AddPin( 18, "B16" );
          D.AddPin( 17, "B15" );
          D.AddPin( 16, "B14" );
    reg(  VPC );
          VPC.SetPin( "D32" );
  }
};
 
 
#endif

 

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

Legal Copyright © 2007 by Coolquest, Inc. Contact