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:             hdmp.pt
// Destination File:        hdmp.h
 
#ifndef _hdmp_h_
#define _hdmp_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_HDMP_1032 : public TPart {
 
public:
  port   TX;           // AR_BUS(15,0)
  port   TXCNTL;       
  port   TXDATA;       
  port   TXFLAG;       
  port   TXFLGENB;     
  port   ESMPXENB;     
  port   LOCKED;       
  port   HSOUT_N;      // HSOUT-
  port   HSOUT_P;      // HSOUT+
  port   TXDIV0;       
  port   TXDIV1;       
  port   TCLKENB;      
  port   TXCAP0;       
  port   TXCAP1;       
  port   TXCLK;        
  port   VCC;          // 5 pins
  port   GND;          // 5 pins
  port   VCC_TTL;      // 2 pins
  port   GND_TTL;      // 2 pins
  port   VCC_HS;       
  port   GND_HS;       
  port   VCC_A1;       
  port   GND_A1;       
  port   VCC_A2;       
  port   GND_A2;       
  port   NC;           // 14 pins
 
  CP_HDMP_1032() {
    SetPackage( "QFP14X14_64", 64 );     // 64-pin QFP with .8 mm pitch
    SetReferencePrefix( "U" );
  }
 
  virtual void Register() {
    regb( TX, 15, 0 );
          TX.AddPin( 15, "3" );
          TX.AddPin( 14, "2" );
          TX.AddPin( 13, "63" );
          TX.AddPin( 12, "62" );
          TX.AddPin( 11, "61" );
          TX.AddPin( 10, "60" );
          TX.AddPin( 9, "59" );
          TX.AddPin( 8, "58" );
          TX.AddPin( 7, "55" );
          TX.AddPin( 6, "54" );
          TX.AddPin( 5, "53" );
          TX.AddPin( 4, "52" );
          TX.AddPin( 3, "51" );
          TX.AddPin( 2, "50" );
          TX.AddPin( 1, "47" );
          TX.AddPin( 0, "46" );
    reg(  TXCNTL );
          TXCNTL.SetPin( "4" );
    reg(  TXDATA );
          TXDATA.SetPin( "5" );
    reg(  TXFLAG );
          TXFLAG.SetPin( "6" );
    reg(  TXFLGENB );
          TXFLGENB.SetPin( "10" );
    reg(  ESMPXENB );
          ESMPXENB.SetPin( "11" );
    reg(  LOCKED );
          LOCKED.SetPin( "12" );
    reg(  HSOUT_N );
          HSOUT_N.SetPin( "19" );
    reg(  HSOUT_P );
          HSOUT_P.SetPin( "20" );
    reg(  TXDIV0 );
          TXDIV0.SetPin( "26" );
    reg(  TXDIV1 );
          TXDIV1.SetPin( "27" );
    reg(  TCLKENB );
          TCLKENB.SetPin( "28" );
    reg(  TXCAP0 );
          TXCAP0.SetPin( "32" );
    reg(  TXCAP1 );
          TXCAP1.SetPin( "33" );
    reg(  TXCLK );
          TXCLK.SetPin( "37" );
    reg(  VCC );
          VCC.AddPin( "13" );
          VCC.AddPin( "24" );
          VCC.AddPin( "36" );
          VCC.AddPin( "49" );
          VCC.AddPin( "64" );
    reg(  GND );
          GND.AddPin( "1" );
          GND.AddPin( "14" );
          GND.AddPin( "25" );
          GND.AddPin( "35" );
          GND.AddPin( "48" );
    reg(  VCC_TTL );
          VCC_TTL.AddPin( "8" );
          VCC_TTL.AddPin( "41" );
    reg(  GND_TTL );
          GND_TTL.AddPin( "9" );
          GND_TTL.AddPin( "40" );
    reg(  VCC_HS );
          VCC_HS.SetPin( "17" );
    reg(  GND_HS );
          GND_HS.SetPin( "18" );
    reg(  VCC_A1 );
          VCC_A1.SetPin( "31" );
    reg(  GND_A1 );
          GND_A1.SetPin( "30" );
    reg(  VCC_A2 );
          VCC_A2.SetPin( "57" );
    reg(  GND_A2 );
          GND_A2.SetPin( "56" );
    reg(  NC );
          NC.AddPin( "7" );
          NC.AddPin( "15" );
          NC.AddPin( "16" );
          NC.AddPin( "21" );
          NC.AddPin( "22" );
          NC.AddPin( "23" );
          NC.AddPin( "29" );
          NC.AddPin( "34" );
          NC.AddPin( "38" );
          NC.AddPin( "39" );
          NC.AddPin( "42" );
          NC.AddPin( "43" );
          NC.AddPin( "44" );
          NC.AddPin( "45" );
  }
};
 
class CP_HDMP_1034 : public TPart {
 
public:
  port   RX;           // AR_BUS(15,0)
  port   RXREADY;      
  port   RXERROR;      
  port   RXDSLIP;      
  port   REFCLK;       
  port   TSTCLK;       
  port   SHFIN;        
  port   SHFOUT;       
  port   SRQOUT;       
  port   HSIN_P;       // HSIN+
  port   HSIN_N;       // HSIN-
  port   RXFLGENB;     
  port   ESMPXENB;     
  port   PASSENB;      
  port   RXDIV0;       
  port   RXDIV1;       
  port   RXCAP0;       
  port   RXCAP1;       
  port   SRQIN;        
  port   RESET_N;      
  port   WSYNCDSB;     
  port   RXCLK0;       
  port   RXCLK1;       
  port   RXCNTL;       
  port   RXDATA;       
  port   RXFLAG;       
  port   VCC;          // 3 pins
  port   GND;          // 4 pins
  port   VCC_TTL;      // 5 pins
  port   GND_TTL;      // 4 pins
  port   VCC_HS;       
  port   GND_HS;       // 2 pins
  port   VCC_A;        
  port   GND_A;        
  port   NC;           // 2 pins
 
  CP_HDMP_1034() {
    SetPackage( "QFP14X14_64", 64 );     // 64-pin QFP with .8 mm pitch
    SetReferencePrefix( "U" );
  }
 
  virtual void Register() {
    regb( RX, 15, 0 );
          RX.AddPin( 15, "46" );
          RX.AddPin( 14, "47" );
          RX.AddPin( 13, "50" );
          RX.AddPin( 12, "51" );
          RX.AddPin( 11, "52" );
          RX.AddPin( 10, "53" );
          RX.AddPin( 9, "54" );
          RX.AddPin( 8, "55" );
          RX.AddPin( 7, "58" );
          RX.AddPin( 6, "59" );
          RX.AddPin( 5, "60" );
          RX.AddPin( 4, "61" );
          RX.AddPin( 3, "62" );
          RX.AddPin( 2, "63" );
          RX.AddPin( 1, "2" );
          RX.AddPin( 0, "3" );
    reg(  RXREADY );
          RXREADY.SetPin( "4" );
    reg(  RXERROR );
          RXERROR.SetPin( "5" );
    reg(  RXDSLIP );
          RXDSLIP.SetPin( "6" );
    reg(  REFCLK );
          REFCLK.SetPin( "11" );
    reg(  TSTCLK );
          TSTCLK.SetPin( "12" );
    reg(  SHFIN );
          SHFIN.SetPin( "13" );
    reg(  SHFOUT );
          SHFOUT.SetPin( "14" );
    reg(  SRQOUT );
          SRQOUT.SetPin( "15" );
    reg(  HSIN_P );
          HSIN_P.SetPin( "18" );
    reg(  HSIN_N );
          HSIN_N.SetPin( "19" );
    reg(  RXFLGENB );
          RXFLGENB.SetPin( "22" );
    reg(  ESMPXENB );
          ESMPXENB.SetPin( "23" );
    reg(  PASSENB );
          PASSENB.SetPin( "26" );
    reg(  RXDIV0 );
          RXDIV0.SetPin( "28" );
    reg(  RXDIV1 );
          RXDIV1.SetPin( "29" );
    reg(  RXCAP0 );
          RXCAP0.SetPin( "32" );
    reg(  RXCAP1 );
          RXCAP1.SetPin( "33" );
    reg(  SRQIN );
          SRQIN.SetPin( "34" );
    reg(  RESET_N );
          RESET_N.SetPin( "35" );
    reg(  WSYNCDSB );
          WSYNCDSB.SetPin( "36" );
    reg(  RXCLK0 );
          RXCLK0.SetPin( "37" );
    reg(  RXCLK1 );
          RXCLK1.SetPin( "38" );
    reg(  RXCNTL );
          RXCNTL.SetPin( "43" );
    reg(  RXDATA );
          RXDATA.SetPin( "44" );
    reg(  RXFLAG );
          RXFLAG.SetPin( "45" );
    reg(  VCC );
          VCC.AddPin( "9" );
          VCC.AddPin( "24" );
          VCC.AddPin( "40" );
    reg(  GND );
          GND.AddPin( "10" );
          GND.AddPin( "25" );
          GND.AddPin( "39" );
          GND.AddPin( "56" );
    reg(  VCC_TTL );
          VCC_TTL.AddPin( "7" );
          VCC_TTL.AddPin( "42" );
          VCC_TTL.AddPin( "49" );
          VCC_TTL.AddPin( "57" );
          VCC_TTL.AddPin( "64" );
    reg(  GND_TTL );
          GND_TTL.AddPin( "1" );
          GND_TTL.AddPin( "8" );
          GND_TTL.AddPin( "41" );
          GND_TTL.AddPin( "48" );
    reg(  VCC_HS );
          VCC_HS.SetPin( "16" );
    reg(  GND_HS );
          GND_HS.AddPin( "17" );
          GND_HS.AddPin( "20" );
    reg(  VCC_A );
          VCC_A.SetPin( "30" );
    reg(  GND_A );
          GND_A.SetPin( "31" );
    reg(  NC );
          NC.AddPin( "21" );
          NC.AddPin( "27" );
  }
};
 
 
#endif

 

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

Legal Copyright © 2007 by Coolquest, Inc. Contact