hdlparse
hdlparse copied to clipboard
Add entity parsing
This PR adds entity parsing, at least basically.
Should help/fix #13 and #6 ?
Well, I added a small commit for ports and generics default values
Regarding issue #13, this only fixed the entity. If you can, change the "architecture" and "package" parts too :)
Hey @m-tosch, almost a year after your comment, I created #19 . I'm not 100 % sure if those work perfectly fine. Could you try it out ? That way this PR can be merged maybe alonside #19 to fix #13
Thanks !
The matching should be done as for "entity" using just \w+ i think that's best
(r'end\s+\w+\s*;', 'end_entity', '#pop'),