Activated row placement wrap-around at the bottom in placement algorithm

This commit is contained in:
Harald Oehlmann 2015-08-18 14:50:37 +02:00
parent 4dc096cd67
commit c86ba22170

View File

@ -62,7 +62,6 @@ static void ecc200placementbit(int *array, int NR, int NC, int r, int c, int p,
r += 4 - ((NC + 4) % 8); r += 4 - ((NC + 4) % 8);
} }
// Necessary for 36x120,36x144,72x120,72x144 // Necessary for 36x120,36x144,72x120,72x144
/*
if (r >= NR) { if (r >= NR) {
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr,"r >= NR:%i,%i at r=%i->",p,b,r); fprintf(stderr,"r >= NR:%i,%i at r=%i->",p,b,r);
@ -72,7 +71,6 @@ static void ecc200placementbit(int *array, int NR, int NC, int r, int c, int p,
fprintf(stderr,"%i,c=%i\n",r,c); fprintf(stderr,"%i,c=%i\n",r,c);
#endif #endif
} }
*/
#ifdef DEBUG #ifdef DEBUG
if(0 != array[r * NC + c] ){ if(0 != array[r * NC + c] ){
int a = array[r * NC + c]; int a = array[r * NC + c];