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:             xc2s150.pt
// Destination File:        xc2s150.h
 
#ifndef _xc2s150_h_
#define _xc2s150_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_XC2S150 : public TPart {
 
public:
  port   GND;                 // 24 pins
  port   VCCINT;              // 12 pins
  port   VCC;                 // 16 pins
  port   GCK1;                
  port   GCK0;                
  port   GCK2;                
  port   GCK3;                
  port   TMS;                 
  port   M1;                  
  port   M0;                  
  port   M2;                  
  port   PWDN_N;              
  port   STATUS;              
  port   DONE;                
  port   PROGRAM_N;           
  port   CCLK;                
  port   TDO;                 
  port   TDI;                 
  port   TCK;                 
  port   IO3;                 
  port   IO4;                 
  port   IO5;                 
  port   IO6_VREF;            
  port   IO7;                 
  port   IO8;                 
  port   IO9_VREF;            
  port   IO10;                
  port   IO14;                
  port   IO15;                
  port   IO16;                
  port   IO17;                
  port   IO18;                
  port   IO20_VREF;           
  port   IO21;                
  port   IO22;                
  port   IO23;                
  port   IO24_IRDY;           
  port   IO27_TRDY;           
  port   IO29;                
  port   IO30;                
  port   IO31_VREF;           
  port   IO33;                
  port   IO34;                
  port   IO35;                
  port   IO36;                
  port   IO37;                
  port   IO41;                
  port   IO42_VREF;           
  port   IO43;                
  port   IO44;                
  port   IO45_VREF;           
  port   IO46;                
  port   IO47;                
  port   IO48;                
  port   IO49;                
  port   IO57;                
  port   IO58;                
  port   IO59_VREF;           
  port   IO60;                
  port   IO61;                
  port   IO62_VREF;           
  port   IO63;                
  port   IO67;                
  port   IO68;                
  port   IO69;                
  port   IO70;                
  port   IO71;                
  port   IO73_VREF;           
  port   IO74;                
  port   IO75;                
  port   IO81;                
  port   IO82;                
  port   IO83;                
  port   IO84_VREF;           
  port   IO86;                
  port   IO87;                
  port   IO88;                
  port   IO89;                
  port   IO90;                
  port   IO94;                
  port   IO95_VREF;           
  port   IO96;                
  port   IO97;                
  port   IO98_VREF;           
  port   IO99;                
  port   IO100;               
  port   IO101;               
  port   IO102;               
  port   IO107_INIT;          
  port   IO108_D7;            
  port   IO109;               
  port   IO110;               
  port   IO111_VREF;          
  port   IO112;               
  port   IO113;               
  port   IO114_VREF;          
  port   IO115_D6;            
  port   IO119_D5;            
  port   IO120;               
  port   IO121;               
  port   IO122;               
  port   IO123;               
  port   IO125_VREF;          
  port   IO126_D4;            
  port   IO127;               
  port   IO129_TRDY;          
  port   IO132_IRDY;          
  port   IO133;               
  port   IO134;               
  port   IO135_D3;            
  port   IO136_VREF;          
  port   IO138;               
  port   IO139;               
  port   IO140;               
  port   IO141;               
  port   IO142_D2;            
  port   IO146_D1;            
  port   IO147_VREF;          
  port   IO148;               
  port   IO149;               
  port   IO150_VREF;          
  port   IO151;               
  port   IO152;               
  port   IO153_DIN_D0;        
  port   IO154_DOUT_BUSY;     
  port   IO160_CS_N;          
  port   IO161_WRITE_N;       
  port   IO162;               
  port   IO163;               
  port   IO164_VREF;          
  port   IO165;               
  port   IO166;               
  port   IO167_VREF;          
  port   IO168;               
  port   IO172;               
  port   IO173;               
  port   IO174;               
  port   IO175;               
  port   IO176;               
  port   IO178_VREF;          
  port   IO179;               
  port   IO180;               
  port   IO181;               
  port   IO187;               
  port   IO188;               
  port   IO189_VREF;          
  port   IO191;               
  port   IO192;               
  port   IO193;               
  port   IO194;               
  port   IO195;               
  port   IO199;               
  port   IO200_VREF;          
  port   IO201;               
  port   IO202;               
  port   IO203_VREF;          
  port   IO204;               
  port   IO205;               
  port   IO206;               
 
  CP_XC2S150() {
    SetPackage( "PQFP208", 208 );
    SetReferencePrefix( "U" );
  }
 
  virtual void Register() {
    reg(  GND );
          GND.AddPin( "1" );
          GND.AddPin( "11" );
          GND.AddPin( "19" );
          GND.AddPin( "25" );
          GND.AddPin( "32" );
          GND.AddPin( "40" );
          GND.AddPin( "51" );
          GND.AddPin( "64" );
          GND.AddPin( "72" );
          GND.AddPin( "79" );
          GND.AddPin( "85" );
          GND.AddPin( "93" );
          GND.AddPin( "103" );
          GND.AddPin( "116" );
          GND.AddPin( "124" );
          GND.AddPin( "131" );
          GND.AddPin( "137" );
          GND.AddPin( "145" );
          GND.AddPin( "158" );
          GND.AddPin( "169" );
          GND.AddPin( "177" );
          GND.AddPin( "183" );
          GND.AddPin( "190" );
          GND.AddPin( "198" );
    reg(  VCCINT );
          VCCINT.AddPin( "13" );
          VCCINT.AddPin( "28" );
          VCCINT.AddPin( "38" );
          VCCINT.AddPin( "66" );
          VCCINT.AddPin( "76" );
          VCCINT.AddPin( "91" );
          VCCINT.AddPin( "118" );
          VCCINT.AddPin( "128" );
          VCCINT.AddPin( "143" );
          VCCINT.AddPin( "171" );
          VCCINT.AddPin( "186" );
          VCCINT.AddPin( "196" );
    reg(  VCC );
          VCC.AddPin( "12" );
          VCC.AddPin( "26" );
          VCC.AddPin( "39" );
          VCC.AddPin( "53" );
          VCC.AddPin( "65" );
          VCC.AddPin( "78" );
          VCC.AddPin( "92" );
          VCC.AddPin( "105" );
          VCC.AddPin( "117" );
          VCC.AddPin( "130" );
          VCC.AddPin( "144" );
          VCC.AddPin( "156" );
          VCC.AddPin( "170" );
          VCC.AddPin( "184" );
          VCC.AddPin( "197" );
          VCC.AddPin( "208" );
    reg(  GCK1 );
          GCK1.SetPin( "77" );
    reg(  GCK0 );
          GCK0.SetPin( "80" );
    reg(  GCK2 );
          GCK2.SetPin( "182" );
    reg(  GCK3 );
          GCK3.SetPin( "185" );
    reg(  TMS );
          TMS.SetPin( "2" );
    reg(  M1 );
          M1.SetPin( "50" );
    reg(  M0 );
          M0.SetPin( "52" );
    reg(  M2 );
          M2.SetPin( "54" );
    reg(  PWDN_N );
          PWDN_N.SetPin( "55" );
    reg(  STATUS );
          STATUS.SetPin( "56" );
    reg(  DONE );
          DONE.SetPin( "104" );
    reg(  PROGRAM_N );
          PROGRAM_N.SetPin( "106" );
    reg(  CCLK );
          CCLK.SetPin( "155" );
    reg(  TDO );
          TDO.SetPin( "157" );
    reg(  TDI );
          TDI.SetPin( "159" );
    reg(  TCK );
          TCK.SetPin( "207" );
    reg(  IO3 );
          IO3.SetPin( "3" );
    reg(  IO4 );
          IO4.SetPin( "4" );
    reg(  IO5 );
          IO5.SetPin( "5" );
    reg(  IO6_VREF );
          IO6_VREF.SetPin( "6" );
    reg(  IO7 );
          IO7.SetPin( "7" );
    reg(  IO8 );
          IO8.SetPin( "8" );
    reg(  IO9_VREF );
          IO9_VREF.SetPin( "9" );
    reg(  IO10 );
          IO10.SetPin( "10" );
    reg(  IO14 );
          IO14.SetPin( "14" );
    reg(  IO15 );
          IO15.SetPin( "15" );
    reg(  IO16 );
          IO16.SetPin( "16" );
    reg(  IO17 );
          IO17.SetPin( "17" );
    reg(  IO18 );
          IO18.SetPin( "18" );
    reg(  IO20_VREF );
          IO20_VREF.SetPin( "20" );
    reg(  IO21 );
          IO21.SetPin( "21" );
    reg(  IO22 );
          IO22.SetPin( "22" );
    reg(  IO23 );
          IO23.SetPin( "23" );
    reg(  IO24_IRDY );
          IO24_IRDY.SetPin( "24" );
    reg(  IO27_TRDY );
          IO27_TRDY.SetPin( "27" );
    reg(  IO29 );
          IO29.SetPin( "29" );
    reg(  IO30 );
          IO30.SetPin( "30" );
    reg(  IO31_VREF );
          IO31_VREF.SetPin( "31" );
    reg(  IO33 );
          IO33.SetPin( "33" );
    reg(  IO34 );
          IO34.SetPin( "34" );
    reg(  IO35 );
          IO35.SetPin( "35" );
    reg(  IO36 );
          IO36.SetPin( "36" );
    reg(  IO37 );
          IO37.SetPin( "37" );
    reg(  IO41 );
          IO41.SetPin( "41" );
    reg(  IO42_VREF );
          IO42_VREF.SetPin( "42" );
    reg(  IO43 );
          IO43.SetPin( "43" );
    reg(  IO44 );
          IO44.SetPin( "44" );
    reg(  IO45_VREF );
          IO45_VREF.SetPin( "45" );
    reg(  IO46 );
          IO46.SetPin( "46" );
    reg(  IO47 );
          IO47.SetPin( "47" );
    reg(  IO48 );
          IO48.SetPin( "48" );
    reg(  IO49 );
          IO49.SetPin( "49" );
    reg(  IO57 );
          IO57.SetPin( "57" );
    reg(  IO58 );
          IO58.SetPin( "58" );
    reg(  IO59_VREF );
          IO59_VREF.SetPin( "59" );
    reg(  IO60 );
          IO60.SetPin( "60" );
    reg(  IO61 );
          IO61.SetPin( "61" );
    reg(  IO62_VREF );
          IO62_VREF.SetPin( "62" );
    reg(  IO63 );
          IO63.SetPin( "63" );
    reg(  IO67 );
          IO67.SetPin( "67" );
    reg(  IO68 );
          IO68.SetPin( "68" );
    reg(  IO69 );
          IO69.SetPin( "69" );
    reg(  IO70 );
          IO70.SetPin( "70" );
    reg(  IO71 );
          IO71.SetPin( "71" );
    reg(  IO73_VREF );
          IO73_VREF.SetPin( "73" );
    reg(  IO74 );
          IO74.SetPin( "74" );
    reg(  IO75 );
          IO75.SetPin( "75" );
    reg(  IO81 );
          IO81.SetPin( "81" );
    reg(  IO82 );
          IO82.SetPin( "82" );
    reg(  IO83 );
          IO83.SetPin( "83" );
    reg(  IO84_VREF );
          IO84_VREF.SetPin( "84" );
    reg(  IO86 );
          IO86.SetPin( "86" );
    reg(  IO87 );
          IO87.SetPin( "87" );
    reg(  IO88 );
          IO88.SetPin( "88" );
    reg(  IO89 );
          IO89.SetPin( "89" );
    reg(  IO90 );
          IO90.SetPin( "90" );
    reg(  IO94 );
          IO94.SetPin( "94" );
    reg(  IO95_VREF );
          IO95_VREF.SetPin( "95" );
    reg(  IO96 );
          IO96.SetPin( "96" );
    reg(  IO97 );
          IO97.SetPin( "97" );
    reg(  IO98_VREF );
          IO98_VREF.SetPin( "98" );
    reg(  IO99 );
          IO99.SetPin( "99" );
    reg(  IO100 );
          IO100.SetPin( "100" );
    reg(  IO101 );
          IO101.SetPin( "101" );
    reg(  IO102 );
          IO102.SetPin( "102" );
    reg(  IO107_INIT );
          IO107_INIT.SetPin( "107" );
    reg(  IO108_D7 );
          IO108_D7.SetPin( "108" );
    reg(  IO109 );
          IO109.SetPin( "109" );
    reg(  IO110 );
          IO110.SetPin( "110" );
    reg(  IO111_VREF );
          IO111_VREF.SetPin( "111" );
    reg(  IO112 );
          IO112.SetPin( "112" );
    reg(  IO113 );
          IO113.SetPin( "113" );
    reg(  IO114_VREF );
          IO114_VREF.SetPin( "114" );
    reg(  IO115_D6 );
          IO115_D6.SetPin( "115" );
    reg(  IO119_D5 );
          IO119_D5.SetPin( "119" );
    reg(  IO120 );
          IO120.SetPin( "120" );
    reg(  IO121 );
          IO121.SetPin( "121" );
    reg(  IO122 );
          IO122.SetPin( "122" );
    reg(  IO123 );
          IO123.SetPin( "123" );
    reg(  IO125_VREF );
          IO125_VREF.SetPin( "125" );
    reg(  IO126_D4 );
          IO126_D4.SetPin( "126" );
    reg(  IO127 );
          IO127.SetPin( "127" );
    reg(  IO129_TRDY );
          IO129_TRDY.SetPin( "129" );
    reg(  IO132_IRDY );
          IO132_IRDY.SetPin( "132" );
    reg(  IO133 );
          IO133.SetPin( "133" );
    reg(  IO134 );
          IO134.SetPin( "134" );
    reg(  IO135_D3 );
          IO135_D3.SetPin( "135" );
    reg(  IO136_VREF );
          IO136_VREF.SetPin( "136" );
    reg(  IO138 );
          IO138.SetPin( "138" );
    reg(  IO139 );
          IO139.SetPin( "139" );
    reg(  IO140 );
          IO140.SetPin( "140" );
    reg(  IO141 );
          IO141.SetPin( "141" );
    reg(  IO142_D2 );
          IO142_D2.SetPin( "142" );
    reg(  IO146_D1 );
          IO146_D1.SetPin( "146" );
    reg(  IO147_VREF );
          IO147_VREF.SetPin( "147" );
    reg(  IO148 );
          IO148.SetPin( "148" );
    reg(  IO149 );
          IO149.SetPin( "149" );
    reg(  IO150_VREF );
          IO150_VREF.SetPin( "150" );
    reg(  IO151 );
          IO151.SetPin( "151" );
    reg(  IO152 );
          IO152.SetPin( "152" );
    reg(  IO153_DIN_D0 );
          IO153_DIN_D0.SetPin( "153" );
    reg(  IO154_DOUT_BUSY );
          IO154_DOUT_BUSY.SetPin( "154" );
    reg(  IO160_CS_N );
          IO160_CS_N.SetPin( "160" );
    reg(  IO161_WRITE_N );
          IO161_WRITE_N.SetPin( "161" );
    reg(  IO162 );
          IO162.SetPin( "162" );
    reg(  IO163 );
          IO163.SetPin( "163" );
    reg(  IO164_VREF );
          IO164_VREF.SetPin( "164" );
    reg(  IO165 );
          IO165.SetPin( "165" );
    reg(  IO166 );
          IO166.SetPin( "166" );
    reg(  IO167_VREF );
          IO167_VREF.SetPin( "167" );
    reg(  IO168 );
          IO168.SetPin( "168" );
    reg(  IO172 );
          IO172.SetPin( "172" );
    reg(  IO173 );
          IO173.SetPin( "173" );
    reg(  IO174 );
          IO174.SetPin( "174" );
    reg(  IO175 );
          IO175.SetPin( "175" );
    reg(  IO176 );
          IO176.SetPin( "176" );
    reg(  IO178_VREF );
          IO178_VREF.SetPin( "178" );
    reg(  IO179 );
          IO179.SetPin( "179" );
    reg(  IO180 );
          IO180.SetPin( "180" );
    reg(  IO181 );
          IO181.SetPin( "181" );
    reg(  IO187 );
          IO187.SetPin( "187" );
    reg(  IO188 );
          IO188.SetPin( "188" );
    reg(  IO189_VREF );
          IO189_VREF.SetPin( "189" );
    reg(  IO191 );
          IO191.SetPin( "191" );
    reg(  IO192 );
          IO192.SetPin( "192" );
    reg(  IO193 );
          IO193.SetPin( "193" );
    reg(  IO194 );
          IO194.SetPin( "194" );
    reg(  IO195 );
          IO195.SetPin( "195" );
    reg(  IO199 );
          IO199.SetPin( "199" );
    reg(  IO200_VREF );
          IO200_VREF.SetPin( "200" );
    reg(  IO201 );
          IO201.SetPin( "201" );
    reg(  IO202 );
          IO202.SetPin( "202" );
    reg(  IO203_VREF );
          IO203_VREF.SetPin( "203" );
    reg(  IO204 );
          IO204.SetPin( "204" );
    reg(  IO205 );
          IO205.SetPin( "205" );
    reg(  IO206 );
          IO206.SetPin( "206" );
  }
};
 
 
#endif

 

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

Legal Copyright © 2007 by Coolquest, Inc. Contact