返回列表 发帖

Logic Test - Files structure (*.lst *.lgc)

Can you describe the structure of the logicUser.lst file and *.lgc files?

I would also be interested in either more information about the format of the LST file, or a tool that allows you to IMPORT vectors.

TOP

Please describe to me the CRC32 counting process in more detail. This will allow me to better use the potential of this programmer as a logic tester, because you do not want to add the additional functions I have proposed (import / export to text files, http://forums.xgecu.com/viewthread.php?tid=185&extra=page%3D1).

TOP

Something is wrong with this CRC32 ...
In the "4052.lgc" file shown, the selected area is LOGIC_ITEM+LOGIC_VECTOR. The counted CRC32 is at the bottom and is different from that in the file?!?

4052_CRC.jpg (528.11 KB)

4052_CRC.jpg

4052.lgc (2.27 KB)

TOP

回复 4# yovish
CRC32 is all LOGIC_ITEM+LOGIC_VECTOR .The initial value is 0

TOP

1. From which areas of the file is CRC32 counted?
2. Is the space between LOGIC_FILE_HEAD and LOGIC_ITEM reserved for the future?
3. Can the space between LOGIC_FILE_HEAD and LOGIC_ITEM have random content?
4. How exactly is CRC32 calculated?

TOP

回复 2# yovish

#define LOGIC_UFILE_FLAG  0xABABABEE
#define MAX_LOGIC_ITEM  512


typedef struct LOGIC_ITEM_FILE_HEADTag
{

UINT AllCRC32;// all Items CRC32


UINT uiFlag;    //
LOGIC_UFILE_FLAG

UINT AllItemCnt;                 


UINT Res;


UINT ItemStartPos[MAX_LOGIC_ITEM];  //start postion in the file

}LOGIC_FILE_HEAD;


typedef struct LOGIC_ITEM_Tag
{

UINT Vector_Cnt;


char IcName[32];


BYTE VccVoltage; //0-3


BYTE AllPins;


BYTE Res0;


BYTE Res1;


UINT uiRes;

}LOGIC_ITEM;


typedef struct LOGIC_VECTOR_Tag
{

char _byte[24];

}LOGIC_VECTOR;
   

TOP

What I have been able to analyze so far...

Logic_lst.JPG (137.62 KB)

Logic_lst.JPG

TOP

返回列表 回复 发帖