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:             cy7c057v.pt
// Destination File:        cy7c057v.h
 
#ifndef _cy7c057v_h_
#define _cy7c057v_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_CY7C057V : public TPart {
 
public:
  port   VCC;         // 8 pins
  port   GND;         // 11 pins
  port   A_L;         // AR_BUS(14,0)
  port   A_R;         // AR_BUS(14,0)
  port   IO_L;        // AR_BUS(35,0)
  port   IO_R;        // AR_BUS(35,0)
  port   B_N;         // AR_BUS(3,0)
  port   OEL_N;       
  port   OER_N;       
  port   R_WL;        
  port   R_WR;        
  port   CE0L_N;      
  port   CE0R_N;      
  port   CE1L;        
  port   CE1R;        
  port   M_S;         
  port   SEML_N;      
  port   SEMR_N;      
  port   INTL_N;      
  port   INTR_N;      
  port   BUSYL_N;     
  port   BUSYR_N;     
  port   BA;          
  port   WA;          
  port   SIZE;        
  port   BM;          
 
  CP_CY7C057V() {
    SetPackage( "TQFP144", 144 );
    SetReferencePrefix( "U" );
  }
 
  virtual void Register() {
    reg(  VCC );
          VCC.AddPin( "18" );
          VCC.AddPin( "44" );
          VCC.AddPin( "65" );
          VCC.AddPin( "86" );
          VCC.AddPin( "89" );
          VCC.AddPin( "91" );
          VCC.AddPin( "116" );
          VCC.AddPin( "137" );
    reg(  GND );
          GND.AddPin( "19" );
          GND.AddPin( "20" );
          GND.AddPin( "39" );
          GND.AddPin( "49" );
          GND.AddPin( "60" );
          GND.AddPin( "70" );
          GND.AddPin( "90" );
          GND.AddPin( "111" );
          GND.AddPin( "121" );
          GND.AddPin( "132" );
          GND.AddPin( "142" );
    regb( A_L, 14, 0 );
          A_L.AddPin( 14, "33" );
          A_L.AddPin( 13, "32" );
          A_L.AddPin( 12, "31" );
          A_L.AddPin( 11, "30" );
          A_L.AddPin( 10, "29" );
          A_L.AddPin( 9, "28" );
          A_L.AddPin( 8, "27" );
          A_L.AddPin( 7, "11" );
          A_L.AddPin( 6, "10" );
          A_L.AddPin( 5, "9" );
          A_L.AddPin( 4, "8" );
          A_L.AddPin( 3, "7" );
          A_L.AddPin( 2, "6" );
          A_L.AddPin( 1, "5" );
          A_L.AddPin( 0, "4" );
    regb( A_R, 14, 0 );
          A_R.AddPin( 14, "76" );
          A_R.AddPin( 13, "77" );
          A_R.AddPin( 12, "78" );
          A_R.AddPin( 11, "79" );
          A_R.AddPin( 10, "80" );
          A_R.AddPin( 9, "81" );
          A_R.AddPin( 8, "82" );
          A_R.AddPin( 7, "98" );
          A_R.AddPin( 6, "99" );
          A_R.AddPin( 5, "100" );
          A_R.AddPin( 4, "101" );
          A_R.AddPin( 3, "102" );
          A_R.AddPin( 2, "103" );
          A_R.AddPin( 1, "104" );
          A_R.AddPin( 0, "105" );
    regb( IO_L, 35, 0 );
          IO_L.AddPin( 35, "3" );
          IO_L.AddPin( 34, "2" );
          IO_L.AddPin( 33, "1" );
          IO_L.AddPin( 32, "144" );
          IO_L.AddPin( 31, "143" );
          IO_L.AddPin( 30, "141" );
          IO_L.AddPin( 29, "140" );
          IO_L.AddPin( 28, "139" );
          IO_L.AddPin( 27, "138" );
          IO_L.AddPin( 26, "34" );
          IO_L.AddPin( 25, "35" );
          IO_L.AddPin( 24, "36" );
          IO_L.AddPin( 23, "37" );
          IO_L.AddPin( 22, "38" );
          IO_L.AddPin( 21, "40" );
          IO_L.AddPin( 20, "41" );
          IO_L.AddPin( 19, "42" );
          IO_L.AddPin( 18, "43" );
          IO_L.AddPin( 17, "136" );
          IO_L.AddPin( 16, "135" );
          IO_L.AddPin( 15, "134" );
          IO_L.AddPin( 14, "133" );
          IO_L.AddPin( 13, "131" );
          IO_L.AddPin( 12, "130" );
          IO_L.AddPin( 11, "129" );
          IO_L.AddPin( 10, "128" );
          IO_L.AddPin( 9, "127" );
          IO_L.AddPin( 8, "45" );
          IO_L.AddPin( 7, "46" );
          IO_L.AddPin( 6, "47" );
          IO_L.AddPin( 5, "48" );
          IO_L.AddPin( 4, "50" );
          IO_L.AddPin( 3, "51" );
          IO_L.AddPin( 2, "52" );
          IO_L.AddPin( 1, "53" );
          IO_L.AddPin( 0, "54" );
    regb( IO_R, 35, 0 );
          IO_R.AddPin( 35, "106" );
          IO_R.AddPin( 34, "107" );
          IO_R.AddPin( 33, "108" );
          IO_R.AddPin( 32, "109" );
          IO_R.AddPin( 31, "110" );
          IO_R.AddPin( 30, "112" );
          IO_R.AddPin( 29, "113" );
          IO_R.AddPin( 28, "114" );
          IO_R.AddPin( 27, "115" );
          IO_R.AddPin( 26, "75" );
          IO_R.AddPin( 25, "74" );
          IO_R.AddPin( 24, "73" );
          IO_R.AddPin( 23, "72" );
          IO_R.AddPin( 22, "71" );
          IO_R.AddPin( 21, "69" );
          IO_R.AddPin( 20, "68" );
          IO_R.AddPin( 19, "67" );
          IO_R.AddPin( 18, "66" );
          IO_R.AddPin( 17, "117" );
          IO_R.AddPin( 16, "118" );
          IO_R.AddPin( 15, "119" );
          IO_R.AddPin( 14, "120" );
          IO_R.AddPin( 13, "122" );
          IO_R.AddPin( 12, "123" );
          IO_R.AddPin( 11, "124" );
          IO_R.AddPin( 10, "125" );
          IO_R.AddPin( 9, "126" );
          IO_R.AddPin( 8, "64" );
          IO_R.AddPin( 7, "63" );
          IO_R.AddPin( 6, "62" );
          IO_R.AddPin( 5, "61" );
          IO_R.AddPin( 4, "59" );
          IO_R.AddPin( 3, "58" );
          IO_R.AddPin( 2, "57" );
          IO_R.AddPin( 1, "56" );
          IO_R.AddPin( 0, "55" );
    regb( B_N, 3, 0 );
          B_N.AddPin( 3, "15" );
          B_N.AddPin( 2, "14" );
          B_N.AddPin( 1, "13" );
          B_N.AddPin( 0, "12" );
    reg(  OEL_N );
          OEL_N.SetPin( "16" );
    reg(  OER_N );
          OER_N.SetPin( "93" );
    reg(  R_WL );
          R_WL.SetPin( "17" );
    reg(  R_WR );
          R_WR.SetPin( "92" );
    reg(  CE0L_N );
          CE0L_N.SetPin( "21" );
    reg(  CE0R_N );
          CE0R_N.SetPin( "88" );
    reg(  CE1L );
          CE1L.SetPin( "22" );
    reg(  CE1R );
          CE1R.SetPin( "87" );
    reg(  M_S );
          M_S.SetPin( "23" );
    reg(  SEML_N );
          SEML_N.SetPin( "24" );
    reg(  SEMR_N );
          SEMR_N.SetPin( "85" );
    reg(  INTL_N );
          INTL_N.SetPin( "25" );
    reg(  INTR_N );
          INTR_N.SetPin( "84" );
    reg(  BUSYL_N );
          BUSYL_N.SetPin( "26" );
    reg(  BUSYR_N );
          BUSYR_N.SetPin( "83" );
    reg(  BA );
          BA.SetPin( "94" );
    reg(  WA );
          WA.SetPin( "95" );
    reg(  SIZE );
          SIZE.SetPin( "96" );
    reg(  BM );
          BM.SetPin( "97" );
  }
};
 
 
#endif

 

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

Legal Copyright © 2007 by Coolquest, Inc. Contact