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:             am29lv033c.pt
// Destination File:        am29lv033c.h
 
#ifndef _am29lv033c_h_
#define _am29lv033c_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_AM29LV033C : public TPart {
 
public:
  port   VCC;         // 2 pins
  port   GND;         // 2 pins
  port   A;           // AR_BUS(21,0)
  port   DQ;          // AR_BUS(7,0)
  port   WE_N;        
  port   RESET_N;     
  port   ACC;         
  port   RY_BY_N;     
  port   CE_N;        
  port   OE_N;        
 
  CP_AM29LV033C() {
    SetPackage( "TSOP40", 40 );
    SetReferencePrefix( "U" );
  }
 
  virtual void Register() {
    reg(  VCC );
          VCC.AddPin( "30" );
          VCC.AddPin( "31" );
    reg(  GND );
          GND.AddPin( "23" );
          GND.AddPin( "39" );
    regb( A, 21, 0 );
          A.AddPin( 21, "29" );
          A.AddPin( 20, "38" );
          A.AddPin( 19, "37" );
          A.AddPin( 18, "13" );
          A.AddPin( 17, "40" );
          A.AddPin( 16, "1" );
          A.AddPin( 15, "2" );
          A.AddPin( 14, "3" );
          A.AddPin( 13, "4" );
          A.AddPin( 12, "5" );
          A.AddPin( 11, "6" );
          A.AddPin( 10, "36" );
          A.AddPin( 9, "7" );
          A.AddPin( 8, "8" );
          A.AddPin( 7, "14" );
          A.AddPin( 6, "15" );
          A.AddPin( 5, "16" );
          A.AddPin( 4, "17" );
          A.AddPin( 3, "18" );
          A.AddPin( 2, "19" );
          A.AddPin( 1, "20" );
          A.AddPin( 0, "21" );
    regb( DQ, 7, 0 );
          DQ.AddPin( 7, "35" );
          DQ.AddPin( 6, "34" );
          DQ.AddPin( 5, "33" );
          DQ.AddPin( 4, "32" );
          DQ.AddPin( 3, "28" );
          DQ.AddPin( 2, "27" );
          DQ.AddPin( 1, "26" );
          DQ.AddPin( 0, "25" );
    reg(  WE_N );
          WE_N.SetPin( "9" );
    reg(  RESET_N );
          RESET_N.SetPin( "10" );
    reg(  ACC );
          ACC.SetPin( "11" );
    reg(  RY_BY_N );
          RY_BY_N.SetPin( "12" );
    reg(  CE_N );
          CE_N.SetPin( "22" );
    reg(  OE_N );
          OE_N.SetPin( "24" );
  }
};
 
 
#endif

 

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

Legal Copyright © 2007 by Coolquest, Inc. Contact