pyVHDLParser icon indicating copy to clipboard operation
pyVHDLParser copied to clipboard

Clk'event

Open kown7 opened this issue 6 years ago • 6 comments

The following piece of legal code if Clk'event and Clk = '1' then -- rising clock edge yields this error:

ERROR: Expected ';', ':=' or whitespace after subtype indication.
================================================================================================================================================================
ERROR: (line: 103, col: 12): Ambiguous syntax detected.

kown7 avatar Apr 27 '18 15:04 kown7

This project is in development. The pyVHDLParser is not in a stable state yet.

Attributes are not supported yet. (Besides a long list of other features ...)


I should add a hint, that this project is under development :).

Paebbels avatar Apr 27 '18 17:04 Paebbels

Ignoring them would be very nice though, as I'm more interested in the supported features.

kown7 avatar May 23 '18 16:05 kown7

Supported features are indirectly visible through the newly added test cases (>250) and the growing documentation at ReadTheDocs.

Paebbels avatar Nov 28 '20 20:11 Paebbels

I don't know if it can help. My project "vertigo" : a VHDL parser (93 + many 08 features), written in pure Ruby. https://github.com/JC-LL/vertigo. It parses Microwatt , generates an AST and VHDL back.

JC-LL avatar Nov 28 '20 21:11 JC-LL

@JC-LL thanks for pointing to this nice VHDL project. Do you want to try running the PoC Library through your parser? It surfaced a lot of problems in commercial tools :).

What are you using it for?

The goal for pyVHDLParser is generating a CodeDOM and documentation extraction.

Paebbels avatar Nov 29 '20 07:11 Paebbels

Fixed by #54.

Paebbels avatar Jun 20 '23 18:06 Paebbels