Coolquest, Inc. | Home | Products | Support | About | Contact | |||
|
<< File View >> | Class View | Parts Library | Examples Home |
// This File Generated by: pt_to_h.exe // Source File: logic.pt // Destination File: logic.h #ifndef _logic_h_ #define _logic_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_SN74_1G9_DBV : public TPart { // multi-function logic, e.g., SN74LVC1G97/98DBV public: port IN; // AR_BUS(2,0) port Y; port GND; port VCC; CP_SN74_1G9_DBV() { SetPackage( "SOT23_6", 6 ); SetReferencePrefix( "U" ); } virtual void Register() { regb( IN, 2, 0 ); IN.AddPin( 2, "6" ); IN.AddPin( 1, "1" ); IN.AddPin( 0, "3" ); reg( Y ); Y.SetPin( "4" ); reg( GND ); GND.SetPin( "2" ); reg( VCC ); VCC.SetPin( "5" ); } }; #endif
<< File View >> | Class View | Parts Library | Examples Home |
Legal | Copyright © 2007 by Coolquest, Inc. | Contact |