Commit f4d72b2a by Alan Mishchenko

Temp change in the AIG reader and minor tuning.

parent f6a3c28e
...@@ -663,8 +663,8 @@ Gia_Man_t * Gia_AigerReadFromMemory( char * pContents, int nFileSize, int fSkipS ...@@ -663,8 +663,8 @@ Gia_Man_t * Gia_AigerReadFromMemory( char * pContents, int nFileSize, int fSkipS
int i, nRegs; int i, nRegs;
pCur++; pCur++;
pCurTemp = pCur + Gia_AigerReadInt(pCur) + 4; pCur += 4; pCurTemp = pCur + Gia_AigerReadInt(pCur) + 4; pCur += 4;
//nRegs = Gia_AigerReadInt(pCur); pCur += 4; nRegs = Gia_AigerReadInt(pCur); pCur += 4;
nRegs = (pCurTemp - pCur)/4; //nRegs = (pCurTemp - pCur)/4;
pNew->vRegClasses = Vec_IntAlloc( nRegs ); pNew->vRegClasses = Vec_IntAlloc( nRegs );
for ( i = 0; i < nRegs; i++ ) for ( i = 0; i < nRegs; i++ )
Vec_IntPush( pNew->vRegClasses, Gia_AigerReadInt(pCur) ), pCur += 4; Vec_IntPush( pNew->vRegClasses, Gia_AigerReadInt(pCur) ), pCur += 4;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment