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:             74f07.pt
// Destination File:        74f07.h
 
#ifndef _74f07_h_
#define _74f07_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_74F07 : public TPart {     // hex buffer driver
 
public:
  port   VCC5;     // 5V power supply
  port   GND;      
  port   A;        // AR_BUS(5,0)  // inputs
  port   Y;        // AR_BUS(5,0)  // outputs
 
  CP_74F07() {
    SetPackage( "SOIC14", 14 );
    SetReferencePrefix( "U" );
  }
 
  virtual void Register() {
    reg(  VCC5 );
          VCC5.SetPin( "14" );
    reg(  GND );
          GND.SetPin( "7" );
    regb( A, 5, 0 );
          A.AddPin( 5, "13" );
          A.AddPin( 4, "11" );
          A.AddPin( 3, "9" );
          A.AddPin( 2, "5" );
          A.AddPin( 1, "3" );
          A.AddPin( 0, "1" );
    regb( Y, 5, 0 );
          Y.AddPin( 5, "12" );
          Y.AddPin( 4, "10" );
          Y.AddPin( 3, "8" );
          Y.AddPin( 2, "6" );
          Y.AddPin( 1, "4" );
          Y.AddPin( 0, "2" );
  }
};
 
 
#endif

 

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

Legal Copyright © 2007 by Coolquest, Inc. Contact