diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 568dda28..78800455 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,7 @@ +2008-09-09 Arnim Laeuger + + * src/bsdl2jtag.c: fix from and to for downto vectors + 2008-09-06 Arnim Laeuger * src/tap/usbconn/libftdi.c, src/tap/usbconn/libftd2xx.c: diff --git a/jtag/src/bsdl2jtag.c b/jtag/src/bsdl2jtag.c index ee400c0f..14d621d2 100644 --- a/jtag/src/bsdl2jtag.c +++ b/jtag/src/bsdl2jtag.c @@ -271,7 +271,7 @@ int endline(void) { strcpy(tmp, pins[pins_num]); n = sscanf(pline+i, "bit_vector ( %i to %i )", &f, &t); if (n < 2) - n = sscanf(pline+i, "bit_vector ( %i downto %i )", &f, &t); + n = sscanf(pline+i, "bit_vector ( %i downto %i )", &t, &f); if (n < 2) { exit(1); }