Coolquest, Inc. | Home | Products | Support | About | Contact | |||
|
<< File View >> | Class View | Parts Library | Examples Home |
// This File Generated by: pt_to_h.exe // Source File: vme_connectors.pt // Destination File: vme_connectors.h #ifndef _vme_connectors_h_ #define _vme_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_VME64_P1 : public TPart { public: port D; // AR_BUS(15,0) port A; // AR_BUS(23,1) port IRQ; // AR_BUS(7,1) port AM; // AR_BUS(5,0) port BGOUT_N; // AR_BUS(3,0) // VME name: BG0OUT* - BG3OUT* port BGIN_N; // AR_BUS(3,0) // VME name: BG0IN* - BG3IN* port BR_N; // AR_BUS(3,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 BBSY_N; port BCLR_N; port ACFAIL_N; port SERA; port SERB; port SYSFAIL_N; port BERR_N; port SYSRESET_N; port LWORD_N; port VSTDBY5; // VME name: +5VSTDBY port VPOS5; // 3 pins // VME name: +5V port VPOS12; // VME name: +12V port VNEG12; // VME name: -12V port GND; // 26 pins // standard VME port MPR; port MCLK; port MSD; port MMD; port MCTL; port RESP_N; port RSVBUS; // AR_BUS(13,0) // do not connect port VPC; // 2 pins // mate-first-break-last port POSV1; // VME name: +V1 port POSV2; // VME name: +V2 port NEGV1; // VME name: -V1 port NEGV2; // VME name: -V2 port RSVU; // AR_BUS(1,0) // do not connect port GAP_N; port GA_N; // AR_BUS(4,0) port LI_I_N; // VME name: LI/I* port LI_O_N; // VME name: LI/O* port VPOS3_3; // 10 pins // VME name: +3.3V CP_VME64_P1() { SetPackage( "DIN160P_RT", 160 ); //DIN 32 x 5 right angle plug SetReferencePrefix( "P" ); } virtual void Register() { 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" ); 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" ); 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" ); 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( BGOUT_N, 3, 0 ); BGOUT_N.AddPin( 3, "B11" ); BGOUT_N.AddPin( 2, "B9" ); BGOUT_N.AddPin( 1, "B7" ); BGOUT_N.AddPin( 0, "B5" ); regb( BGIN_N, 3, 0 ); BGIN_N.AddPin( 3, "B10" ); BGIN_N.AddPin( 2, "B8" ); BGIN_N.AddPin( 1, "B6" ); BGIN_N.AddPin( 0, "B4" ); 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( 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" ); reg( BBSY_N ); BBSY_N.SetPin( "B1" ); reg( BCLR_N ); BCLR_N.SetPin( "B2" ); reg( ACFAIL_N ); ACFAIL_N.SetPin( "B3" ); reg( SERA ); SERA.SetPin( "B21" ); reg( SERB ); SERB.SetPin( "B22" ); 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( VSTDBY5 ); VSTDBY5.SetPin( "B31" ); reg( VPOS5 ); VPOS5.AddPin( "A32" ); VPOS5.AddPin( "B32" ); VPOS5.AddPin( "C32" ); reg( VPOS12 ); VPOS12.SetPin( "C31" ); reg( VNEG12 ); VNEG12.SetPin( "A31" ); reg( GND ); 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( "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( "D2" ); GND.AddPin( "D31" ); 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( RSVBUS, 13, 0 ); RSVBUS.AddPin( 13, "Z13" ); RSVBUS.AddPin( 12, "Z15" ); RSVBUS.AddPin( 11, "Z17" ); RSVBUS.AddPin( 10, "Z19" ); RSVBUS.AddPin( 9, "Z21" ); RSVBUS.AddPin( 8, "Z23" ); RSVBUS.AddPin( 7, "Z25" ); RSVBUS.AddPin( 6, "Z27" ); RSVBUS.AddPin( 5, "Z29" ); RSVBUS.AddPin( 4, "Z31" ); RSVBUS.AddPin( 3, "D19" ); RSVBUS.AddPin( 2, "D21" ); RSVBUS.AddPin( 1, "D23" ); RSVBUS.AddPin( 0, "D25" ); reg( VPC ); VPC.AddPin( "D1" ); VPC.AddPin( "D32" ); reg( POSV1 ); POSV1.SetPin( "D3" ); reg( POSV2 ); POSV2.SetPin( "D4" ); reg( NEGV1 ); NEGV1.SetPin( "D6" ); reg( NEGV2 ); NEGV2.SetPin( "D7" ); regb( RSVU, 1, 0 ); RSVU.AddPin( 1, "D5" ); RSVU.AddPin( 0, "D8" ); reg( GAP_N ); GAP_N.SetPin( "D9" ); regb( GA_N, 4, 0 ); GA_N.AddPin( 4, "D17" ); GA_N.AddPin( 3, "D15" ); GA_N.AddPin( 2, "D13" ); GA_N.AddPin( 1, "D11" ); GA_N.AddPin( 0, "D10" ); reg( LI_I_N ); LI_I_N.SetPin( "D27" ); reg( LI_O_N ); LI_O_N.SetPin( "D29" ); reg( VPOS3_3 ); VPOS3_3.AddPin( "D12" ); VPOS3_3.AddPin( "D14" ); VPOS3_3.AddPin( "D16" ); VPOS3_3.AddPin( "D18" ); VPOS3_3.AddPin( "D20" ); VPOS3_3.AddPin( "D22" ); VPOS3_3.AddPin( "D24" ); VPOS3_3.AddPin( "D26" ); VPOS3_3.AddPin( "D28" ); VPOS3_3.AddPin( "D30" ); } }; class CP_VME64_P2 : public TPart { public: port D; // AR_BUS(31,16) port A; // AR_BUS(31,24) port RETRY_N; port VPOS5; // 3 pins // VME name: +5V port GND; // 21 pins // standard VME port UD_A; // AR_BUS(31,0) port UD_C; // AR_BUS(31,0) port UD_Z; // AR_BUS(15,0) // user-defined pins in Z row port UD_D; // AR_BUS(29,0) port VPC; // mate-first-break-last CP_VME64_P2() { SetPackage( "DIN160P_RT", 160 ); //DIN 32 x 5 right angle plug SetReferencePrefix( "P" ); } virtual void Register() { 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" ); 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" ); reg( RETRY_N ); RETRY_N.SetPin( "B3" ); reg( VPOS5 ); VPOS5.AddPin( "B1" ); VPOS5.AddPin( "B13" ); VPOS5.AddPin( "B32" ); reg( GND ); GND.AddPin( "B2" ); GND.AddPin( "B12" ); GND.AddPin( "B22" ); GND.AddPin( "B31" ); 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" ); regb( UD_A, 31, 0 ); UD_A.AddPin( 31, "A32" ); UD_A.AddPin( 30, "A31" ); UD_A.AddPin( 29, "A30" ); UD_A.AddPin( 28, "A29" ); UD_A.AddPin( 27, "A28" ); UD_A.AddPin( 26, "A27" ); UD_A.AddPin( 25, "A26" ); UD_A.AddPin( 24, "A25" ); UD_A.AddPin( 23, "A24" ); UD_A.AddPin( 22, "A23" ); UD_A.AddPin( 21, "A22" ); UD_A.AddPin( 20, "A21" ); UD_A.AddPin( 19, "A20" ); UD_A.AddPin( 18, "A19" ); UD_A.AddPin( 17, "A18" ); UD_A.AddPin( 16, "A17" ); UD_A.AddPin( 15, "A16" ); UD_A.AddPin( 14, "A15" ); UD_A.AddPin( 13, "A14" ); UD_A.AddPin( 12, "A13" ); UD_A.AddPin( 11, "A12" ); UD_A.AddPin( 10, "A11" ); UD_A.AddPin( 9, "A10" ); UD_A.AddPin( 8, "A9" ); UD_A.AddPin( 7, "A8" ); UD_A.AddPin( 6, "A7" ); UD_A.AddPin( 5, "A6" ); UD_A.AddPin( 4, "A5" ); UD_A.AddPin( 3, "A4" ); UD_A.AddPin( 2, "A3" ); UD_A.AddPin( 1, "A2" ); UD_A.AddPin( 0, "A1" ); regb( UD_C, 31, 0 ); UD_C.AddPin( 31, "C32" ); UD_C.AddPin( 30, "C31" ); UD_C.AddPin( 29, "C30" ); UD_C.AddPin( 28, "C29" ); UD_C.AddPin( 27, "C28" ); UD_C.AddPin( 26, "C27" ); UD_C.AddPin( 25, "C26" ); UD_C.AddPin( 24, "C25" ); UD_C.AddPin( 23, "C24" ); UD_C.AddPin( 22, "C23" ); UD_C.AddPin( 21, "C22" ); UD_C.AddPin( 20, "C21" ); UD_C.AddPin( 19, "C20" ); UD_C.AddPin( 18, "C19" ); UD_C.AddPin( 17, "C18" ); UD_C.AddPin( 16, "C17" ); UD_C.AddPin( 15, "C16" ); UD_C.AddPin( 14, "C15" ); UD_C.AddPin( 13, "C14" ); UD_C.AddPin( 12, "C13" ); UD_C.AddPin( 11, "C12" ); UD_C.AddPin( 10, "C11" ); UD_C.AddPin( 9, "C10" ); UD_C.AddPin( 8, "C9" ); UD_C.AddPin( 7, "C8" ); UD_C.AddPin( 6, "C7" ); UD_C.AddPin( 5, "C6" ); UD_C.AddPin( 4, "C5" ); UD_C.AddPin( 3, "C4" ); UD_C.AddPin( 2, "C3" ); UD_C.AddPin( 1, "C2" ); UD_C.AddPin( 0, "C1" ); regb( UD_Z, 15, 0 ); UD_Z.AddPin( 15, "Z31" ); UD_Z.AddPin( 14, "Z29" ); UD_Z.AddPin( 13, "Z27" ); UD_Z.AddPin( 12, "Z25" ); UD_Z.AddPin( 11, "Z23" ); UD_Z.AddPin( 10, "Z21" ); UD_Z.AddPin( 9, "Z19" ); UD_Z.AddPin( 8, "Z17" ); UD_Z.AddPin( 7, "Z15" ); UD_Z.AddPin( 6, "Z13" ); UD_Z.AddPin( 5, "Z11" ); UD_Z.AddPin( 4, "Z9" ); UD_Z.AddPin( 3, "Z7" ); UD_Z.AddPin( 2, "Z5" ); UD_Z.AddPin( 1, "Z3" ); UD_Z.AddPin( 0, "Z1" ); regb( UD_D, 29, 0 ); UD_D.AddPin( 29, "D30" ); UD_D.AddPin( 28, "D29" ); UD_D.AddPin( 27, "D28" ); UD_D.AddPin( 26, "D27" ); UD_D.AddPin( 25, "D26" ); UD_D.AddPin( 24, "D25" ); UD_D.AddPin( 23, "D24" ); UD_D.AddPin( 22, "D23" ); UD_D.AddPin( 21, "D22" ); UD_D.AddPin( 20, "D21" ); UD_D.AddPin( 19, "D20" ); UD_D.AddPin( 18, "D19" ); UD_D.AddPin( 17, "D18" ); UD_D.AddPin( 16, "D17" ); UD_D.AddPin( 15, "D16" ); UD_D.AddPin( 14, "D15" ); UD_D.AddPin( 13, "D14" ); UD_D.AddPin( 12, "D13" ); UD_D.AddPin( 11, "D12" ); UD_D.AddPin( 10, "D11" ); UD_D.AddPin( 9, "D10" ); UD_D.AddPin( 8, "D9" ); UD_D.AddPin( 7, "D8" ); UD_D.AddPin( 6, "D7" ); UD_D.AddPin( 5, "D6" ); UD_D.AddPin( 4, "D5" ); UD_D.AddPin( 3, "D4" ); UD_D.AddPin( 2, "D3" ); UD_D.AddPin( 1, "D2" ); UD_D.AddPin( 0, "D1" ); reg( VPC ); VPC.SetPin( "D32" ); } }; #endif
<< File View >> | Class View | Parts Library | Examples Home |
Legal | Copyright © 2007 by Coolquest, Inc. | Contact |