LaurentCabaret / pyVhdl2Sch

pyVhdl2sch is a python based VHDL to (pdf) schematic converter
BSD 2-Clause "Simplified" License
27 stars 7 forks source link

Consider using pyVHDLModel #11

Open umarcor opened 2 years ago

umarcor commented 2 years ago

VHDL/pyVHDLModel is an abstract language model for VHDL, meant to be used as an interface between any VHDL parser and projects providing graphical views, reformatted output, documentation, etc. A currently available backend is pyGHDL.dom (based on GHDL's libghdl and Python). See https://umarcor.github.io/osvb/apis/project/pyVHDLModelUtils.html.

This project seems to rely on a custom parser: https://github.com/LaurentCabaret/pyVhdl2Sch/blob/master/file_manager/vhdl_reader.py. It does provide some resolution features which are currently not supported by pyGHDL.dom. However, it seems to be limited with regard to the complexity of context and entities. It might therefore be desirable to evaluate having vhdl_reader reimplemented on top of pyGHDL.dom.

Moreover, the purpose of this project seems to be similar to kevinpt/symbolator. That project was not updated in 4 years, and we are trying to bring together the users that created forks in this period (see hdl/symbolator and hdl/pyHDLParser). Both pyVhdl2Sch and Symbolator seem to use cairo, but apparently pyVhdl2Sch has additional features such as a GUI based on Qt. Unfortunately, there is little documentation in this repo. @LaurentCabaret, would you mind providing some information about the scope and motivation of this project?

/cc @Paebbels

LaurentCabaret commented 2 years ago

Dear Unai, Thanks for your message. Scope and motivation: I was a VHDL teacher and (at this time) I was frustrated with the graphical representation of the VHDL modules of the Vendors solutions. Furthermore I wanted to provide a tool for mys student to generate a better documentation.

I created a first version in C++ (2013) but there was no community hence no feedback. The Python version provided a better feedback.

The Gui is not documented and might have been placed in a separate repository. It is a simple interface where you can paste your VHDL code and generate the corresponding schematic.

Today: I no longer use the project but I keep the repository for the sake of knowledge sharing. A good idea may be to use the readme.md to point towards your repo(s)

Have a great day, Laurent

LaurentCabaret commented 2 years ago

Dear "Blue Skyer",

Is this a Scam ?

I am (Laurent Cabaret) the maintainer of pyVHDL2Sch (created in 2014) that is absolutly not related to umarcor nor pyVHDLModel (created in 2020). Did you even check before sending this email?

Besides: For a first contact, your words seems poorly choosen. Maybe you can reconsider the way you interact with people.

I believe in second chances so feel free to come back to me in a more cordial manner.

@mention: Maybe "Blue Skyer" is a Github bot.

Best Regards, Laurent Cabaret

Le samedi 14 mai 2022 à 23:51 -0700, Blue-Skyer a écrit :

Hello, We notice that umarcor (https://github.com/umarcor) proposed API, but the code relies on the GitHub project (https://github.com/VHDL/pyVHDLModel), in which umarcor is one of the contributors. We would like to highlight this as a distasteful "self-promotion" (promoting the use of a project without mentioning that umarcor is associated with the project). Regards, Blue Skyer. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

-- Laurent Cabaret  Enseignant/Chercheur

CentraleSupélec - Laboratoire MICS Bâtiment Bouygues - 3 rue Joliot-Curie, 91190 Gif-sur-Yvette Bureau : sc.114 - Tél. +33 (0)1 75 31 66 39  https://cabaretl.pages.centralesupelec.fr/

Paebbels commented 2 years ago

@LaurentCabaret I checked, that he is active since a few days on GitHub and created 100 issues (to be more precise complaints) in just 3 days.


I'm (@Paebbels) the author and maintainer of pyVHDLModel, where @umarcor has contributed just a few changes like documentation and GH action code, but no Python code of the model itself.

@Blue-Skyer Besides this fact, umarcor and me got in contact with @LaurentCabaret to talk about a collaboration, but no advertising. It looks like you haven't been involved in any HDL related project before, so why do you care for this topic? So if our approach in contacting Laurent was not ethical, it's his decision and duty to write an answer and/or close the issue, but not yours! More over, he wrote an proper and nice reply. (Thanks at @LaurentCabaret)