Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#49 Vhdl parser

closed-fixed
None
5
2008-04-19
2008-04-15
Nicolas Vincent
No

Here is an update of a VHDL parser that I have been developping.

It supports : entities, components, constants, types, subtypes, package, records (and fields of the record), function and procedures (prototypes and bodies)

Discussion

  • vhdl parser

     
    Attachments
  • Elliott Hughes
    Elliott Hughes
    2008-04-16

    • assigned_to: nobody --> elliotth
     
  • Elliott Hughes
    Elliott Hughes
    2008-04-19

    Logged In: YES
    user_id=1127237
    Originator: NO

    looks good. my VHDL-using associates found one problem, with:

    package body badger is
    end package body;

    as opposed to:

    package body badger is
    end package body badger;

    i have a simple fix that doesn't affect the output on the test.vhd you supplied. i'm going to commit your patch, then commit a tidy-up to match dhiebert's style, and then my change, which adds:

    case KEYWORD_END: skipToCharacter(';'); break;

    to parseKeywords and changes the parser's human-readable name from "Vhdl" to "VHDL".

     
  • Elliott Hughes
    Elliott Hughes
    2008-04-19

    • status: open --> closed-fixed