svf2vme.h

来自「在嵌入式系统中对Lattice CPLD软件升级时所需的VME文件生成所需源代码」· C头文件 代码 · 共 38 行

H
38
字号

typedef struct cfg
{
    char name[ 30 ];				/* Device name */
    char Svffile[ 1024 ];			/* SVF Filenme */
    int inst;					    /* IR - Length */
    char Frequency[ 100 ];          /* Frequency string */
	char Vendor[ 100 ];             /* Vendor name */
	int iVerifyUES;					/* Verify UES flag */
} CFG;						/*Chain configuration setup structure*/

short int ispsvf_convert(int chips, CFG * chain, char *vmefilename, char options);
short int ENDIRCom();
short int ENDDRCom();
short int HDRCom();
short int HIRCom();
short int  TDRCom();    
short int  TIRCom();
short int ScanCom(char types, char options);
short int RUNTESTCom();
short int FREQUENCYCom();
short int RESETCom(void);
short int STATECom();
short int TDIToken(long int  numbits,
               char types,
               char options);
short int  ConvertFromHexString(long int numbits,
                           char *Hexstring,
                           char *end, char options, int sdr);
short int CharToHex(char hexNibbleChar);
short int compressToispSTREAM(int bytes, unsigned char *data_buf, char *options);
short int write(unsigned char data);
unsigned char reverse( unsigned char a_cDigit );
short int convertToispSTREAM(long int charcount, unsigned char *data, char options, int a_iLoop );
short int InsertHeapSize(int *heapsizeArray, int size, char *vmefilename);
int GetSVFInformation( int * a_piCommandLineIndex, int * a_piCurrentSVFCount, int a_iArgc, const char ** a_cArgv, char * a_szErrorMessage );
int LoopSVFFile( char * a_pszSVFFilename, int a_iCurrentSVFCount, char * a_szErrorMessage );

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?