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:             slink.pt
// Destination File:        slink.h
 
#ifndef _slink_h_
#define _slink_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_SLINK_LSC : public TPart {
 
public:
  port   LDOWN_N;      // link down output
  port   LFF_N;        // link full output
  port   LRL;          // AR_BUS(3,0)  // link return line outputs
  port   UCLK;         
  port   UCTRL_N;      
  port   UD;           // AR_BUS(31,0)
  port   UDW;          // AR_BUS(1,0)
  port   URESET_N;     
  port   UTEST_N;      
  port   UWEN_N;       
  port   VCC;          // 6 pins
  port   GND;          // 13 pins
 
  CP_SLINK_LSC() {
    SetPackage( "CONN_CMCJ_64", 64 );     // CMC J 64-pin receptacle
    SetReferencePrefix( "J" );
  }
 
  virtual void Register() {
    reg(  LDOWN_N );
          LDOWN_N.SetPin( "7" );
    reg(  LFF_N );
          LFF_N.SetPin( "10" );
    regb( LRL, 3, 0 );
          LRL.AddPin( 3, "1" );
          LRL.AddPin( 2, "2" );
          LRL.AddPin( 1, "4" );
          LRL.AddPin( 0, "6" );
    reg(  UCLK );
          UCLK.SetPin( "11" );
    reg(  UCTRL_N );
          UCTRL_N.SetPin( "19" );
    regb( UD, 31, 0 );
          UD.AddPin( 31, "21" );
          UD.AddPin( 30, "24" );
          UD.AddPin( 29, "25" );
          UD.AddPin( 28, "26" );
          UD.AddPin( 27, "27" );
          UD.AddPin( 26, "29" );
          UD.AddPin( 25, "30" );
          UD.AddPin( 24, "32" );
          UD.AddPin( 23, "33" );
          UD.AddPin( 22, "34" );
          UD.AddPin( 21, "35" );
          UD.AddPin( 20, "37" );
          UD.AddPin( 19, "38" );
          UD.AddPin( 18, "40" );
          UD.AddPin( 17, "41" );
          UD.AddPin( 16, "42" );
          UD.AddPin( 15, "43" );
          UD.AddPin( 14, "45" );
          UD.AddPin( 13, "46" );
          UD.AddPin( 12, "48" );
          UD.AddPin( 11, "49" );
          UD.AddPin( 10, "50" );
          UD.AddPin( 9, "51" );
          UD.AddPin( 8, "53" );
          UD.AddPin( 7, "54" );
          UD.AddPin( 6, "56" );
          UD.AddPin( 5, "57" );
          UD.AddPin( 4, "58" );
          UD.AddPin( 3, "59" );
          UD.AddPin( 2, "61" );
          UD.AddPin( 1, "62" );
          UD.AddPin( 0, "64" );
    regb( UDW, 1, 0 );
          UDW.AddPin( 1, "17" );
          UDW.AddPin( 0, "20" );
    reg(  URESET_N );
          URESET_N.SetPin( "15" );
    reg(  UTEST_N );
          UTEST_N.SetPin( "18" );
    reg(  UWEN_N );
          UWEN_N.SetPin( "14" );
    reg(  VCC );
          VCC.AddPin( "3" );
          VCC.AddPin( "5" );
          VCC.AddPin( "22" );
          VCC.AddPin( "39" );
          VCC.AddPin( "52" );
          VCC.AddPin( "63" );
    reg(  GND );
          GND.AddPin( "8" );
          GND.AddPin( "9" );
          GND.AddPin( "12" );
          GND.AddPin( "13" );
          GND.AddPin( "16" );
          GND.AddPin( "23" );
          GND.AddPin( "28" );
          GND.AddPin( "31" );
          GND.AddPin( "36" );
          GND.AddPin( "44" );
          GND.AddPin( "47" );
          GND.AddPin( "55" );
          GND.AddPin( "60" );
  }
};
 
 
#endif

 

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

Legal Copyright © 2007 by Coolquest, Inc. Contact