|
Message
From: mcrist at opencores.org<mcrist@o...>
Date: Fri Oct 7 20:43:39 CEST 2005
Subject: [oc] Wishbone Builder support for more than 9 masters / slaves
I recently downloaded the wishbone builder perl script, and was unable to generate more than 9 masters or slaves (among other problems). I believe this is due to the use of string comparisons (le, ne, ge, etc...) to compare integers. For example: for ($i=1; $i le $masters; $i++) {
should be for ($i=1; $i <= $masters; $i++) {
since both $masters and $i are used as integers. I have created a patch that fixes this problem for all string comparisons {le, ne, ge, lt, gt, eq}. The patch is quite large, and can be found at http://mknod.org/~mcrist/integer_compare.patch.gz
Mike
|
 |