Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#21 bsdl2jtag doesn't handle 'downto'

closed-invalid
Marcel Telka
jtag (26)
5
2003-08-11
2003-08-01
Brad Parker
No

[brad@mwave src]$ diff bsdl2jtag.c{.~1~,}
257c257
< int f,t;
---
> int f,t,n;
259c259,264
< sscanf(pline+i, "bit_vector ( %i to %i )", &f, &t);
---
> 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);
> if (n < 2) {
> exit(1);
> }

Discussion

  • Marcel Telka
    Marcel Telka
    2003-08-11

    Logged In: YES
    user_id=395402

    Please create this patch as unified diff (-u) and add it
    into Patch Tracker. Thank you.

     
  • Marcel Telka
    Marcel Telka
    2003-08-11

    • status: open --> closed-invalid