hdlparse icon indicating copy to clipboard operation
hdlparse copied to clipboard

Add entity parsing

Open andresmanelli opened this issue 5 years ago • 4 comments

This PR adds entity parsing, at least basically.

Should help/fix #13 and #6 ?

andresmanelli avatar Jul 11 '19 19:07 andresmanelli

Well, I added a small commit for ports and generics default values

andresmanelli avatar Jul 11 '19 20:07 andresmanelli

Regarding issue #13, this only fixed the entity. If you can, change the "architecture" and "package" parts too :)

m-tosch avatar May 18 '20 17:05 m-tosch

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 !

andresmanelli avatar May 27 '21 18:05 andresmanelli

The matching should be done as for "entity" using just \w+ i think that's best

(r'end\s+\w+\s*;', 'end_entity', '#pop'),

m-tosch avatar May 27 '21 18:05 m-tosch