日期:2014-05-17  浏览次数:20592 次

正则匹配每一项!谢谢!
RT。

constant GGP : PIN_MAP_STRING :=
  "CLKIN : C10 ,"&
  "CLKOUT1 : AF22,"&
  "CLKOUT2 : AF20,"&
  "CLKMODE1 : C6 ,"&
  "CLKMODE0 : C5 ,"&
  "PLLFREQ3 : A9 ,"&
  "PLLFREQ2 : D11 ,"&
  "PLLFREQ1 : B10 ,"&
  "RSV2 : C11 ,"&
  "PLLV : D12 ,"&
  "PLLG : C12 ,"&
  "PLLF : A11 ,"&
  "RSV5 : C8 ,"&
  "RSV4 : A6 ,"&
  "BOOTMODE4 : D8 ,"&
  "BOOTMODE3 : B4 ,"&
  "BOOTMODE2 : A3 ,"&
  "BOOTMODE1 : D5 ,"&
  "BOOTMODE0 : C4 ,"&
  "TMS : L3 ,"&
  "TDO : W2 ,"&
  "TDI : R4 ,"&
  "TCK : R3 ,"&
  "TRST_NEG : T1 ,"&
  "EMU1 : Y1 ,"&
  "EMU0 : W3 ,"&
  "RSV0 : T2 ,"&
  "RSV1 : G2 ,"&
  "RSV3 : B9 ,"&
  "RESET_NEG : K2 ,"&
  "NMI : L2 ,"&
  "EXT_INT7 : U3 ,"&
  "EXT_INT6 : V2 ,"&
  "EXT_INT5 : W1 ,"&
  "EXT_INT4 : U4 ,"&
  "IACK : Y2 ,"&
  "INUM3 : AA1 ,"&
  "INUM2 : W4 ,"&
  "INUM1 : AA2 ,"&
  "INUM0 : AB1 ,"&
  "LENDIAN : H3 ,"&
  "PD_NEG : D3 ,"&
  "DMAC3 : D2 ,"&
  "DMAC2 : F4 ,"&
  "DMAC1 : D1 ,"&
  "DMAC0 : E2 ,"&
  "HINT_NEG : H26 ,"&
  "HCNTRL1 : F23 ,"&
  "HCNTRL0 : D25 ,"&
  "HHWIL : C26 ,"&
  "HBE1_NEG : E23 ,"&
  "HBE0_NEG : D24 ,"&
  "HRW_NEG : C23 ,"&
  "HD :(B21 ,B20 ,C19 ,B19 ,C18 ,A19 ,B18 ,D16 ,"&
  "B17 ,A17 ,B16 ,D15 ,B15 ,C14 ,B14 ,B13 ),"&
  "HAS_NEG : C22 ,"&
  "HCS_NEG : B23 ,"&
  "HDS1_NEG : D22 ,"&
  "HDS2_NEG : A24 ,"&
  "HRDY_NEG : J24 ,"&
  "CE3_NEG : AE22,"&
  "CE2_NEG : AD26,"&
  "CE1_NEG : AB24,"&
  "CE0_NEG : AC26,"&
  "BE3_NEG : AB25,"&
  "BE2_NEG : AA24,"&
  "BE1_NEG : Y23 ,"&
  "BE0_NEG : AA26,"&
  "EA :(Y26 ,W25 ,V24 ,W26 ,V25 ,V26 ,T23 ,U25 ,"&
  "U26 ,R23 ,T26 ,R25 ,P24 ,P25 ,M25 ,M26 ,"&
  "K26 ,L24 ,K25 ,J26 ),"&
  "ED :(AC17,AF19,AF18,AE17,AC15,AF16,AE15,AF15,"&
  "AE14,AF11,AE11,AE10,AC11,AF9 ,AD10,AD9 ,"&
  "AF7 ,AC8 ,AD7 ,AE6 ,AD6 ,A